From 2225f656ff8a18da86c6b36ba98154bfc26b9b61 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 14 Feb 2024 16:07:25 +0000 Subject: [PATCH 1/4] feat: Add UnenrollDataSources API which gives users a programmatic way to unenroll data sources PiperOrigin-RevId: 606248188 Source-Link: https://github.com/googleapis/googleapis/commit/fa4f91acabafd95cb8a1ffdb3eccdd48ecf7c284 Source-Link: https://github.com/googleapis/googleapis-gen/commit/05afb31332fb895dc0fd1b822ba50d49eebd3406 Copy-Tag: eyJwIjoiamF2YS1iaWdxdWVyeWRhdGF0cmFuc2Zlci8uT3dsQm90LnlhbWwiLCJoIjoiMDVhZmIzMTMzMmZiODk1ZGMwZmQxYjgyMmJhNTBkNDllZWJkMzQwNiJ9 --- .../v1/DataTransferServiceGrpc.java | 2199 ----------------- .../v1/CheckValidCredsRequestOrBuilder.java | 59 - .../v1/CheckValidCredsResponseOrBuilder.java | 39 - .../datatransfer/v1/DataTransferProto.java | 676 ----- .../DeleteTransferConfigRequestOrBuilder.java | 59 - .../v1/EmailPreferencesOrBuilder.java | 39 - .../v1/GetDataSourceRequestOrBuilder.java | 59 - .../v1/GetTransferConfigRequestOrBuilder.java | 59 - .../datatransfer/v1/TransferProto.java | 266 -- .../v1/DataTransferServiceClient.java | 76 + .../v1/DataTransferServiceSettings.java | 12 + .../datatransfer/v1/gapic_metadata.json | 3 + .../datatransfer/v1/package-info.java | 0 .../v1/stub/DataTransferServiceStub.java | 5 + .../stub/DataTransferServiceStubSettings.java | 25 + ...rpcDataTransferServiceCallableFactory.java | 0 .../v1/stub/GrpcDataTransferServiceStub.java | 34 + ...sonDataTransferServiceCallableFactory.java | 0 .../stub/HttpJsonDataTransferServiceStub.java | 62 + .../reflect-config.json | 18 + ...DataTransferServiceClientHttpJsonTest.java | 48 + .../v1/DataTransferServiceClientTest.java | 43 + .../v1/MockDataTransferService.java | 0 .../v1/MockDataTransferServiceImpl.java | 21 + .../datatransfer/v1/MockLocations.java | 0 .../datatransfer/v1/MockLocationsImpl.java | 0 .../v1/DataTransferServiceGrpc.java | 1701 +++++++++++++ .../v1/CheckValidCredsRequest.java | 373 ++- .../v1/CheckValidCredsRequestOrBuilder.java | 34 + .../v1/CheckValidCredsResponse.java | 318 +-- .../v1/CheckValidCredsResponseOrBuilder.java | 20 + .../v1/CreateTransferConfigRequest.java | 761 +++--- .../CreateTransferConfigRequestOrBuilder.java | 82 +- .../bigquery/datatransfer/v1/DataSource.java | 1891 +++++--------- .../datatransfer/v1/DataSourceName.java | 313 +++ .../datatransfer/v1/DataSourceOrBuilder.java | 213 +- .../datatransfer/v1/DataSourceParameter.java | 1487 ++++------- .../v1/DataSourceParameterOrBuilder.java | 142 +- .../datatransfer/v1/DataTransferProto.java | 616 +++++ .../v1/DeleteTransferConfigRequest.java | 385 ++- .../DeleteTransferConfigRequestOrBuilder.java | 34 + .../v1/DeleteTransferRunRequest.java | 385 ++- .../v1/DeleteTransferRunRequestOrBuilder.java | 35 +- .../datatransfer/v1/EmailPreferences.java | 287 +-- .../v1/EmailPreferencesOrBuilder.java | 20 + .../v1/EncryptionConfiguration.java | 372 ++- .../v1/EncryptionConfigurationOrBuilder.java | 26 +- .../v1/EnrollDataSourcesRequest.java | 465 ++-- .../v1/EnrollDataSourcesRequestOrBuilder.java | 45 +- .../datatransfer/v1/GetDataSourceRequest.java | 370 ++- .../v1/GetDataSourceRequestOrBuilder.java | 34 + .../v1/GetTransferConfigRequest.java | 385 ++- .../v1/GetTransferConfigRequestOrBuilder.java | 34 + .../v1/GetTransferRunRequest.java | 373 ++- .../v1/GetTransferRunRequestOrBuilder.java | 35 +- .../v1/ListDataSourcesRequest.java | 476 ++-- .../v1/ListDataSourcesRequestOrBuilder.java | 47 +- .../v1/ListDataSourcesResponse.java | 502 ++-- .../v1/ListDataSourcesResponseOrBuilder.java | 45 +- .../v1/ListTransferConfigsRequest.java | 598 ++--- .../ListTransferConfigsRequestOrBuilder.java | 65 +- .../v1/ListTransferConfigsResponse.java | 631 ++--- .../ListTransferConfigsResponseOrBuilder.java | 62 +- .../v1/ListTransferLogsRequest.java | 720 ++---- .../v1/ListTransferLogsRequestOrBuilder.java | 91 +- .../v1/ListTransferLogsResponse.java | 639 ++--- .../v1/ListTransferLogsResponseOrBuilder.java | 61 +- .../v1/ListTransferRunsRequest.java | 788 +++--- .../v1/ListTransferRunsRequestOrBuilder.java | 79 +- .../v1/ListTransferRunsResponse.java | 604 ++--- .../v1/ListTransferRunsResponseOrBuilder.java | 62 +- .../datatransfer/v1/LocationName.java | 0 .../bigquery/datatransfer/v1/ProjectName.java | 0 .../bigquery/datatransfer/v1/RunName.java | 371 +++ .../datatransfer/v1/ScheduleOptions.java | 452 ++-- .../v1/ScheduleOptionsOrBuilder.java | 37 +- .../v1/ScheduleTransferRunsRequest.java | 613 ++--- .../ScheduleTransferRunsRequestOrBuilder.java | 60 +- .../v1/ScheduleTransferRunsResponse.java | 448 ++-- ...ScheduleTransferRunsResponseOrBuilder.java | 36 +- .../v1/StartManualTransferRunsRequest.java | 1270 ++++------ ...artManualTransferRunsRequestOrBuilder.java | 61 +- .../v1/StartManualTransferRunsResponse.java | 465 ++-- ...rtManualTransferRunsResponseOrBuilder.java | 36 +- .../datatransfer/v1/TransferConfig.java | 1907 +++++--------- .../datatransfer/v1/TransferConfigName.java | 314 +++ .../v1/TransferConfigOrBuilder.java | 214 +- .../datatransfer/v1/TransferMessage.java | 578 ++--- .../v1/TransferMessageOrBuilder.java | 47 +- .../datatransfer/v1/TransferProto.java | 212 ++ .../bigquery/datatransfer/v1/TransferRun.java | 1666 +++++-------- .../datatransfer/v1/TransferRunOrBuilder.java | 187 +- .../datatransfer/v1/TransferState.java | 107 +- .../datatransfer/v1/TransferType.java | 87 +- .../v1/UnenrollDataSourcesRequest.java | 834 +++++++ .../UnenrollDataSourcesRequestOrBuilder.java | 75 + .../v1/UpdateTransferConfigRequest.java | 784 +++--- .../UpdateTransferConfigRequestOrBuilder.java | 82 +- .../bigquery/datatransfer/v1/UserInfo.java | 325 +-- .../datatransfer/v1/UserInfoOrBuilder.java | 30 +- .../datatransfer/v1/datatransfer.proto | 23 + .../bigquery/datatransfer/v1/transfer.proto | 0 .../checkvalidcreds/AsyncCheckValidCreds.java | 0 .../checkvalidcreds/SyncCheckValidCreds.java | 0 .../SyncCheckValidCredsDatasourcename.java | 0 .../SyncCheckValidCredsString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateTransferConfig.java | 0 .../SyncCreateTransferConfig.java | 0 ...nsferConfigLocationnameTransferconfig.java | 0 ...ansferConfigProjectnameTransferconfig.java | 0 ...ateTransferConfigStringTransferconfig.java | 0 .../AsyncDeleteTransferConfig.java | 0 .../SyncDeleteTransferConfig.java | 0 .../SyncDeleteTransferConfigString.java | 0 ...eleteTransferConfigTransferconfigname.java | 0 .../AsyncDeleteTransferRun.java | 0 .../SyncDeleteTransferRun.java | 0 .../SyncDeleteTransferRunRunname.java | 0 .../SyncDeleteTransferRunString.java | 0 .../AsyncEnrollDataSources.java | 0 .../SyncEnrollDataSources.java | 0 .../getdatasource/AsyncGetDataSource.java | 0 .../getdatasource/SyncGetDataSource.java | 0 .../SyncGetDataSourceDatasourcename.java | 0 .../SyncGetDataSourceString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../AsyncGetTransferConfig.java | 0 .../SyncGetTransferConfig.java | 0 .../SyncGetTransferConfigString.java | 0 ...ncGetTransferConfigTransferconfigname.java | 0 .../gettransferrun/AsyncGetTransferRun.java | 0 .../gettransferrun/SyncGetTransferRun.java | 0 .../SyncGetTransferRunRunname.java | 0 .../SyncGetTransferRunString.java | 0 .../listdatasources/AsyncListDataSources.java | 0 .../AsyncListDataSourcesPaged.java | 0 .../listdatasources/SyncListDataSources.java | 0 .../SyncListDataSourcesLocationname.java | 0 .../SyncListDataSourcesProjectname.java | 0 .../SyncListDataSourcesString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../AsyncListTransferConfigs.java | 0 .../AsyncListTransferConfigsPaged.java | 0 .../SyncListTransferConfigs.java | 0 .../SyncListTransferConfigsLocationname.java | 0 .../SyncListTransferConfigsProjectname.java | 0 .../SyncListTransferConfigsString.java | 0 .../AsyncListTransferLogs.java | 0 .../AsyncListTransferLogsPaged.java | 0 .../SyncListTransferLogs.java | 0 .../SyncListTransferLogsRunname.java | 0 .../SyncListTransferLogsString.java | 0 .../AsyncListTransferRuns.java | 0 .../AsyncListTransferRunsPaged.java | 0 .../SyncListTransferRuns.java | 0 .../SyncListTransferRunsString.java | 0 ...yncListTransferRunsTransferconfigname.java | 0 .../AsyncScheduleTransferRuns.java | 0 .../SyncScheduleTransferRuns.java | 0 ...eTransferRunsStringTimestampTimestamp.java | 0 ...sTransferconfignameTimestampTimestamp.java | 0 .../AsyncStartManualTransferRuns.java | 0 .../SyncStartManualTransferRuns.java | 0 .../AsyncUnenrollDataSources.java | 51 + .../SyncUnenrollDataSources.java | 47 + .../AsyncUpdateTransferConfig.java | 0 .../SyncUpdateTransferConfig.java | 0 ...TransferConfigTransferconfigFieldmask.java | 0 .../getdatasource/SyncGetDataSource.java | 0 .../getdatasource/SyncGetDataSource.java | 0 176 files changed, 13330 insertions(+), 18597 deletions(-) delete mode 100644 java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java (97%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java (96%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json (96%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java (96%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java (97%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java (95%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java (95%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json (99%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java (97%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java (97%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java (94%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java (100%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java (63%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java (62%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java (74%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java (80%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java (71%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java (76%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java (74%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java (82%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java (61%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java (61%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java (51%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java (66%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java (64%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java (61%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java (63%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java (61%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java (63%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java (51%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java (64%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java (72%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java (73%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java (68%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java (70%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java (62%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java (55%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java (65%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java (62%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java (62%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java (55%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java (69%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java (73%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java (63%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java (55%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java (100%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java (76%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java (82%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java (69%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java (66%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java (72%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java (66%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java (66%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java (72%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java (81%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java (68%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java (66%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java (73%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java (82%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java (69%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java (67%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java (74%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java (82%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java (53%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto (97%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java (100%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java (100%) diff --git a/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java b/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java deleted file mode 100644 index 5c410aceb259..000000000000 --- a/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java +++ /dev/null @@ -1,2199 +0,0 @@ -/* - * 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; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * This API allows users to manage their data transfers into BigQuery.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataTransferServiceGrpc { - - private DataTransferServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = - "google.cloud.bigquery.datatransfer.v1.DataTransferService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, - com.google.cloud.bigquery.datatransfer.v1.DataSource> - getGetDataSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataSource", - requestType = com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.DataSource.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, - com.google.cloud.bigquery.datatransfer.v1.DataSource> - getGetDataSourceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, - com.google.cloud.bigquery.datatransfer.v1.DataSource> - getGetDataSourceMethod; - if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { - DataTransferServiceGrpc.getGetDataSourceMethod = - getGetDataSourceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.DataSource - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("GetDataSource")) - .build(); - } - } - } - return getGetDataSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> - getListDataSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataSources", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> - getListDataSourcesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> - getListDataSourcesMethod; - if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { - DataTransferServiceGrpc.getListDataSourcesMethod = - getListDataSourcesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("ListDataSources")) - .build(); - } - } - } - return getListDataSourcesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getCreateTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getCreateTransferConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getCreateTransferConfigMethod; - if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) - == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) - == null) { - DataTransferServiceGrpc.getCreateTransferConfigMethod = - getCreateTransferConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("CreateTransferConfig")) - .build(); - } - } - } - return getCreateTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getUpdateTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getUpdateTransferConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getUpdateTransferConfigMethod; - if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) - == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) - == null) { - DataTransferServiceGrpc.getUpdateTransferConfigMethod = - getUpdateTransferConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("UpdateTransferConfig")) - .build(); - } - } - } - return getUpdateTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, - com.google.protobuf.Empty> - getDeleteTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, - com.google.protobuf.Empty> - getDeleteTransferConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, - com.google.protobuf.Empty> - getDeleteTransferConfigMethod; - if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) - == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) - == null) { - DataTransferServiceGrpc.getDeleteTransferConfigMethod = - getDeleteTransferConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("DeleteTransferConfig")) - .build(); - } - } - } - return getDeleteTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getGetTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getGetTransferConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getGetTransferConfigMethod; - if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) - == null) { - DataTransferServiceGrpc.getGetTransferConfigMethod = - getGetTransferConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("GetTransferConfig")) - .build(); - } - } - } - return getGetTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> - getListTransferConfigsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTransferConfigs", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> - getListTransferConfigsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> - getListTransferConfigsMethod; - if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) - == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) - == null) { - DataTransferServiceGrpc.getListTransferConfigsMethod = - getListTransferConfigsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListTransferConfigs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("ListTransferConfigs")) - .build(); - } - } - } - return getListTransferConfigsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> - getScheduleTransferRunsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ScheduleTransferRuns", - requestType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> - getScheduleTransferRunsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> - getScheduleTransferRunsMethod; - if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) - == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) - == null) { - DataTransferServiceGrpc.getScheduleTransferRunsMethod = - getScheduleTransferRunsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ScheduleTransferRuns")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("ScheduleTransferRuns")) - .build(); - } - } - } - return getScheduleTransferRunsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> - getStartManualTransferRunsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartManualTransferRuns", - requestType = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, - responseType = - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> - getStartManualTransferRunsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> - getStartManualTransferRunsMethod; - if ((getStartManualTransferRunsMethod = - DataTransferServiceGrpc.getStartManualTransferRunsMethod) - == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getStartManualTransferRunsMethod = - DataTransferServiceGrpc.getStartManualTransferRunsMethod) - == null) { - DataTransferServiceGrpc.getStartManualTransferRunsMethod = - getStartManualTransferRunsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "StartManualTransferRuns")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1 - .StartManualTransferRunsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1 - .StartManualTransferRunsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier( - "StartManualTransferRuns")) - .build(); - } - } - } - return getStartManualTransferRunsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferRun> - getGetTransferRunMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTransferRun", - requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferRun> - getGetTransferRunMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferRun> - getGetTransferRunMethod; - if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { - DataTransferServiceGrpc.getGetTransferRunMethod = - getGetTransferRunMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferRun")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferRun - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("GetTransferRun")) - .build(); - } - } - } - return getGetTransferRunMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, - com.google.protobuf.Empty> - getDeleteTransferRunMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTransferRun", - requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, - com.google.protobuf.Empty> - getDeleteTransferRunMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, - com.google.protobuf.Empty> - getDeleteTransferRunMethod; - if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) - == null) { - DataTransferServiceGrpc.getDeleteTransferRunMethod = - getDeleteTransferRunMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransferRun")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("DeleteTransferRun")) - .build(); - } - } - } - return getDeleteTransferRunMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> - getListTransferRunsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTransferRuns", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> - getListTransferRunsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> - getListTransferRunsMethod; - if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) - == null) { - DataTransferServiceGrpc.getListTransferRunsMethod = - getListTransferRunsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferRuns")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("ListTransferRuns")) - .build(); - } - } - } - return getListTransferRunsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> - getListTransferLogsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTransferLogs", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> - getListTransferLogsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> - getListTransferLogsMethod; - if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) - == null) { - DataTransferServiceGrpc.getListTransferLogsMethod = - getListTransferLogsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferLogs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("ListTransferLogs")) - .build(); - } - } - } - return getListTransferLogsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> - getCheckValidCredsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CheckValidCreds", - requestType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> - getCheckValidCredsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> - getCheckValidCredsMethod; - if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { - DataTransferServiceGrpc.getCheckValidCredsMethod = - getCheckValidCredsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckValidCreds")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("CheckValidCreds")) - .build(); - } - } - } - return getCheckValidCredsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, - com.google.protobuf.Empty> - getEnrollDataSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "EnrollDataSources", - requestType = com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, - com.google.protobuf.Empty> - getEnrollDataSourcesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, - com.google.protobuf.Empty> - getEnrollDataSourcesMethod; - if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) - == null) { - DataTransferServiceGrpc.getEnrollDataSourcesMethod = - getEnrollDataSourcesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "EnrollDataSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("EnrollDataSources")) - .build(); - } - } - } - return getEnrollDataSourcesMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DataTransferServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTransferServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceStub(channel, callOptions); - } - }; - return DataTransferServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataTransferServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTransferServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceBlockingStub(channel, callOptions); - } - }; - return DataTransferServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DataTransferServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTransferServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceFutureStub(channel, callOptions); - } - }; - return DataTransferServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - default void getDataSource( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDataSourceMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - default void listDataSources( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDataSourcesMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new data transfer configuration.
-     * 
- */ - default void createTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTransferConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - default void updateTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTransferConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - default void deleteTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTransferConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns information about a data transfer config.
-     * 
- */ - default void getTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetTransferConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - default void listTransferConfigs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTransferConfigsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - default void scheduleTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getScheduleTransferRunsMethod(), responseObserver); - } - - /** - * - * - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - default void startManualTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getStartManualTransferRunsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns information about the particular transfer run.
-     * 
- */ - default void getTransferRun( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetTransferRunMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes the specified transfer run.
-     * 
- */ - default void deleteTransferRun( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTransferRunMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - default void listTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTransferRunsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns log messages for the transfer run.
-     * 
- */ - default void listTransferLogs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTransferLogsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - default void checkValidCreds( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCheckValidCredsMethod(), responseObserver); - } - - /** - * - * - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - default void enrollDataSources( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getEnrollDataSourcesMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DataTransferService. - * - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public abstract static class DataTransferServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return DataTransferServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DataTransferService. - * - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public static final class DataTransferServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private DataTransferServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTransferServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - public void getDataSource( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - public void listDataSources( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new data transfer configuration.
-     * 
- */ - public void createTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - public void updateTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - public void deleteTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns information about a data transfer config.
-     * 
- */ - public void getTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - public void listTransferConfigs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - public void scheduleTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - public void startManualTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns information about the particular transfer run.
-     * 
- */ - public void getTransferRun( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes the specified transfer run.
-     * 
- */ - public void deleteTransferRun( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - public void listTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns log messages for the transfer run.
-     * 
- */ - public void listTransferLogs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - public void checkValidCreds( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - public void enrollDataSources( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getEnrollDataSourcesMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DataTransferService. - * - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public static final class DataTransferServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataTransferServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTransferServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSource( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataSourceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse listDataSources( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataSourcesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new data transfer configuration.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig createTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTransferConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig updateTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTransferConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - public com.google.protobuf.Empty deleteTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTransferConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns information about a data transfer config.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTransferConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - listTransferConfigs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTransferConfigsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - scheduleTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getScheduleTransferRunsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - startManualTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartManualTransferRunsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns information about the particular transfer run.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRun( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTransferRunMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes the specified transfer run.
-     * 
- */ - public com.google.protobuf.Empty deleteTransferRun( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTransferRunMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse listTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTransferRunsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns log messages for the transfer run.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse listTransferLogs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTransferLogsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse checkValidCreds( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCheckValidCredsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - public com.google.protobuf.Empty enrollDataSources( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getEnrollDataSourcesMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service DataTransferService. - * - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public static final class DataTransferServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataTransferServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTransferServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.DataSource> - getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> - listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new data transfer configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - createTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - updateTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns information about a data transfer config.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> - listTransferConfigs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> - scheduleTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> - startManualTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns information about the particular transfer run.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.TransferRun> - getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes the specified transfer run.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteTransferRun( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> - listTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns log messages for the transfer run.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> - listTransferLogs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> - checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - enrollDataSources( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getEnrollDataSourcesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_DATA_SOURCE = 0; - private static final int METHODID_LIST_DATA_SOURCES = 1; - private static final int METHODID_CREATE_TRANSFER_CONFIG = 2; - private static final int METHODID_UPDATE_TRANSFER_CONFIG = 3; - private static final int METHODID_DELETE_TRANSFER_CONFIG = 4; - private static final int METHODID_GET_TRANSFER_CONFIG = 5; - private static final int METHODID_LIST_TRANSFER_CONFIGS = 6; - private static final int METHODID_SCHEDULE_TRANSFER_RUNS = 7; - private static final int METHODID_START_MANUAL_TRANSFER_RUNS = 8; - private static final int METHODID_GET_TRANSFER_RUN = 9; - private static final int METHODID_DELETE_TRANSFER_RUN = 10; - private static final int METHODID_LIST_TRANSFER_RUNS = 11; - private static final int METHODID_LIST_TRANSFER_LOGS = 12; - private static final int METHODID_CHECK_VALID_CREDS = 13; - private static final int METHODID_ENROLL_DATA_SOURCES = 14; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_DATA_SOURCE: - serviceImpl.getDataSource( - (com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_DATA_SOURCES: - serviceImpl.listDataSources( - (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse>) - responseObserver); - break; - case METHODID_CREATE_TRANSFER_CONFIG: - serviceImpl.createTransferConfig( - (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>) - responseObserver); - break; - case METHODID_UPDATE_TRANSFER_CONFIG: - serviceImpl.updateTransferConfig( - (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>) - responseObserver); - break; - case METHODID_DELETE_TRANSFER_CONFIG: - serviceImpl.deleteTransferConfig( - (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TRANSFER_CONFIG: - serviceImpl.getTransferConfig( - (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>) - responseObserver); - break; - case METHODID_LIST_TRANSFER_CONFIGS: - serviceImpl.listTransferConfigs( - (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse>) - responseObserver); - break; - case METHODID_SCHEDULE_TRANSFER_RUNS: - serviceImpl.scheduleTransferRuns( - (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse>) - responseObserver); - break; - case METHODID_START_MANUAL_TRANSFER_RUNS: - serviceImpl.startManualTransferRuns( - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse>) - responseObserver); - break; - case METHODID_GET_TRANSFER_RUN: - serviceImpl.getTransferRun( - (com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TRANSFER_RUN: - serviceImpl.deleteTransferRun( - (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TRANSFER_RUNS: - serviceImpl.listTransferRuns( - (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse>) - responseObserver); - break; - case METHODID_LIST_TRANSFER_LOGS: - serviceImpl.listTransferLogs( - (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse>) - responseObserver); - break; - case METHODID_CHECK_VALID_CREDS: - serviceImpl.checkValidCreds( - (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse>) - responseObserver); - break; - case METHODID_ENROLL_DATA_SOURCES: - serviceImpl.enrollDataSources( - (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetDataSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, - com.google.cloud.bigquery.datatransfer.v1.DataSource>( - service, METHODID_GET_DATA_SOURCE))) - .addMethod( - getListDataSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse>( - service, METHODID_LIST_DATA_SOURCES))) - .addMethod( - getCreateTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( - service, METHODID_CREATE_TRANSFER_CONFIG))) - .addMethod( - getUpdateTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( - service, METHODID_UPDATE_TRANSFER_CONFIG))) - .addMethod( - getDeleteTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_TRANSFER_CONFIG))) - .addMethod( - getGetTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( - service, METHODID_GET_TRANSFER_CONFIG))) - .addMethod( - getListTransferConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse>( - service, METHODID_LIST_TRANSFER_CONFIGS))) - .addMethod( - getScheduleTransferRunsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse>( - service, METHODID_SCHEDULE_TRANSFER_RUNS))) - .addMethod( - getStartManualTransferRunsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse>( - service, METHODID_START_MANUAL_TRANSFER_RUNS))) - .addMethod( - getGetTransferRunMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferRun>( - service, METHODID_GET_TRANSFER_RUN))) - .addMethod( - getDeleteTransferRunMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_TRANSFER_RUN))) - .addMethod( - getListTransferRunsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse>( - service, METHODID_LIST_TRANSFER_RUNS))) - .addMethod( - getListTransferLogsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse>( - service, METHODID_LIST_TRANSFER_LOGS))) - .addMethod( - getCheckValidCredsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse>( - service, METHODID_CHECK_VALID_CREDS))) - .addMethod( - getEnrollDataSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, - com.google.protobuf.Empty>(service, METHODID_ENROLL_DATA_SOURCES))) - .build(); - } - - private abstract static class DataTransferServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataTransferServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataTransferService"); - } - } - - private static final class DataTransferServiceFileDescriptorSupplier - extends DataTransferServiceBaseDescriptorSupplier { - DataTransferServiceFileDescriptorSupplier() {} - } - - private static final class DataTransferServiceMethodDescriptorSupplier - extends DataTransferServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - DataTransferServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DataTransferServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataTransferServiceFileDescriptorSupplier()) - .addMethod(getGetDataSourceMethod()) - .addMethod(getListDataSourcesMethod()) - .addMethod(getCreateTransferConfigMethod()) - .addMethod(getUpdateTransferConfigMethod()) - .addMethod(getDeleteTransferConfigMethod()) - .addMethod(getGetTransferConfigMethod()) - .addMethod(getListTransferConfigsMethod()) - .addMethod(getScheduleTransferRunsMethod()) - .addMethod(getStartManualTransferRunsMethod()) - .addMethod(getGetTransferRunMethod()) - .addMethod(getDeleteTransferRunMethod()) - .addMethod(getListTransferRunsMethod()) - .addMethod(getListTransferLogsMethod()) - .addMethod(getCheckValidCredsMethod()) - .addMethod(getEnrollDataSourcesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java deleted file mode 100644 index 8014d9bd7509..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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; - -public interface CheckValidCredsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The data source in the form:
-   * `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The data source in the form:
-   * `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java deleted file mode 100644 index 57d6001298e3..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -public interface CheckValidCredsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * If set to `true`, the credentials exist and are valid.
-   * 
- * - * bool has_valid_creds = 1; - * - * @return The hasValidCreds. - */ - boolean getHasValidCreds(); -} 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 deleted file mode 100644 index f8b3e18ff608..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java +++ /dev/null @@ -1,676 +0,0 @@ -/* - * 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; - -public final class DataTransferProto { - private DataTransferProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - 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; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n8google/cloud/bigquery/datatransfer/v1/" - + "datatransfer.proto\022%google.cloud.bigquer" - + "y.datatransfer.v1\032\034google/api/annotation" - + "s.proto\032\027google/api/client.proto\032\037google" - + "/api/field_behavior.proto\032\031google/api/re" - + "source.proto\0324google/cloud/bigquery/data" - + "transfer/v1/transfer.proto\032\036google/proto" - + "buf/duration.proto\032\033google/protobuf/empt" - + "y.proto\032 google/protobuf/field_mask.prot" - + "o\032\037google/protobuf/timestamp.proto\032\036goog" - + "le/protobuf/wrappers.proto\"\217\005\n\023DataSourc" - + "eParameter\022\020\n\010param_id\030\001 \001(\t\022\024\n\014display_" - + "name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022M\n\004type\030" - + "\004 \001(\0162?.google.cloud.bigquery.datatransf" - + "er.v1.DataSourceParameter.Type\022\020\n\010requir" - + "ed\030\005 \001(\010\022\020\n\010repeated\030\006 \001(\010\022\030\n\020validation" - + "_regex\030\007 \001(\t\022\026\n\016allowed_values\030\010 \003(\t\022/\n\t" - + "min_value\030\t \001(\0132\034.google.protobuf.Double" - + "Value\022/\n\tmax_value\030\n \001(\0132\034.google.protob" - + "uf.DoubleValue\022J\n\006fields\030\013 \003(\0132:.google." - + "cloud.bigquery.datatransfer.v1.DataSourc" - + "eParameter\022\036\n\026validation_description\030\014 \001" - + "(\t\022\033\n\023validation_help_url\030\r \001(\t\022\021\n\timmut" - + "able\030\016 \001(\010\022\017\n\007recurse\030\017 \001(\010\022\022\n\ndeprecate" - + "d\030\024 \001(\010\"s\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n" - + "\006STRING\020\001\022\013\n\007INTEGER\020\002\022\n\n\006DOUBLE\020\003\022\013\n\007BO" - + "OLEAN\020\004\022\n\n\006RECORD\020\005\022\r\n\tPLUS_PAGE\020\006\022\010\n\004LI" - + "ST\020\007\"\234\t\n\nDataSource\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\026" - + "\n\016data_source_id\030\002 \001(\t\022\024\n\014display_name\030\003" - + " \001(\t\022\023\n\013description\030\004 \001(\t\022\021\n\tclient_id\030\005" - + " \001(\t\022\016\n\006scopes\030\006 \003(\t\022N\n\rtransfer_type\030\007 " - + "\001(\01623.google.cloud.bigquery.datatransfer" - + ".v1.TransferTypeB\002\030\001\022\'\n\033supports_multipl" - + "e_transfers\030\010 \001(\010B\002\030\001\022\037\n\027update_deadline" - + "_seconds\030\t \001(\005\022\030\n\020default_schedule\030\n \001(\t" - + "\022 \n\030supports_custom_schedule\030\013 \001(\010\022N\n\npa" - + "rameters\030\014 \003(\0132:.google.cloud.bigquery.d" - + "atatransfer.v1.DataSourceParameter\022\020\n\010he" - + "lp_url\030\r \001(\t\022_\n\022authorization_type\030\016 \001(\016" - + "2C.google.cloud.bigquery.datatransfer.v1" - + ".DataSource.AuthorizationType\022\\\n\021data_re" - + "fresh_type\030\017 \001(\0162A.google.cloud.bigquery" - + ".datatransfer.v1.DataSource.DataRefreshT" - + "ype\022(\n default_data_refresh_window_days\030" - + "\020 \001(\005\022\034\n\024manual_runs_disabled\030\021 \001(\010\022<\n\031m" - + "inimum_schedule_interval\030\022 \001(\0132\031.google." - + "protobuf.Duration\"\212\001\n\021AuthorizationType\022" - + "\"\n\036AUTHORIZATION_TYPE_UNSPECIFIED\020\000\022\026\n\022A" - + "UTHORIZATION_CODE\020\001\022\"\n\036GOOGLE_PLUS_AUTHO" - + "RIZATION_CODE\020\002\022\025\n\021FIRST_PARTY_OAUTH\020\003\"c" - + "\n\017DataRefreshType\022!\n\035DATA_REFRESH_TYPE_U" - + "NSPECIFIED\020\000\022\022\n\016SLIDING_WINDOW\020\001\022\031\n\025CUST" - + "OM_SLIDING_WINDOW\020\002:\245\001\352A\241\001\n.bigquerydata" - + "transfer.googleapis.com/DataSource\022,proj" - + "ects/{project}/dataSources/{data_source}" - + "\022Aprojects/{project}/locations/{location" - + "}/dataSources/{data_source}\"\\\n\024GetDataSo" - + "urceRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.bigqu" - + "erydatatransfer.googleapis.com/DataSourc" - + "e\"\207\001\n\026ListDataSourcesRequest\022F\n\006parent\030\001" - + " \001(\tB6\340A\002\372A0\022.bigquerydatatransfer.googl" - + "eapis.com/DataSource\022\022\n\npage_token\030\003 \001(\t" - + "\022\021\n\tpage_size\030\004 \001(\005\"\200\001\n\027ListDataSourcesR" - + "esponse\022G\n\014data_sources\030\001 \003(\01321.google.c" - + "loud.bigquery.datatransfer.v1.DataSource" - + "\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\216\002\n\033Creat" - + "eTransferConfigRequest\022J\n\006parent\030\001 \001(\tB:" - + "\340A\002\372A4\0222bigquerydatatransfer.googleapis." - + "com/TransferConfig\022S\n\017transfer_config\030\002 " - + "\001(\01325.google.cloud.bigquery.datatransfer" - + ".v1.TransferConfigB\003\340A\002\022\032\n\022authorization" - + "_code\030\003 \001(\t\022\024\n\014version_info\030\005 \001(\t\022\034\n\024ser" - + "vice_account_name\030\006 \001(\t\"\370\001\n\033UpdateTransf" - + "erConfigRequest\022S\n\017transfer_config\030\001 \001(\013" - + "25.google.cloud.bigquery.datatransfer.v1" - + ".TransferConfigB\003\340A\002\022\032\n\022authorization_co" - + "de\030\003 \001(\t\0224\n\013update_mask\030\004 \001(\0132\032.google.p" - + "rotobuf.FieldMaskB\003\340A\002\022\024\n\014version_info\030\005" - + " \001(\t\022\034\n\024service_account_name\030\006 \001(\t\"d\n\030Ge" - + "tTransferConfigRequest\022H\n\004name\030\001 \001(\tB:\340A" - + "\002\372A4\n2bigquerydatatransfer.googleapis.co" - + "m/TransferConfig\"g\n\033DeleteTransferConfig" - + "Request\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bigqueryd" - + "atatransfer.googleapis.com/TransferConfi" - + "g\"V\n\025GetTransferRunRequest\022=\n\004name\030\001 \001(\t" - + "B/\340A\002\372A)\n\'bigquerydatatransfer.googleapi" - + "s.com/Run\"Y\n\030DeleteTransferRunRequest\022=\n" - + "\004name\030\001 \001(\tB/\340A\002\372A)\n\'bigquerydatatransfe" - + "r.googleapis.com/Run\"\250\001\n\032ListTransferCon" - + "figsRequest\022J\n\006parent\030\001 \001(\tB:\340A\002\372A4\0222big" - + "querydatatransfer.googleapis.com/Transfe" - + "rConfig\022\027\n\017data_source_ids\030\002 \003(\t\022\022\n\npage" - + "_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\"\221\001\n\033List" - + "TransferConfigsResponse\022T\n\020transfer_conf" - + "igs\030\001 \003(\01325.google.cloud.bigquery.datatr" - + "ansfer.v1.TransferConfigB\003\340A\003\022\034\n\017next_pa" - + "ge_token\030\002 \001(\tB\003\340A\003\"\336\002\n\027ListTransferRuns" - + "Request\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'bigquer" - + "ydatatransfer.googleapis.com/Run\022D\n\006stat" - + "es\030\002 \003(\01624.google.cloud.bigquery.datatra" - + "nsfer.v1.TransferState\022\022\n\npage_token\030\003 \001" - + "(\t\022\021\n\tpage_size\030\004 \001(\005\022^\n\013run_attempt\030\005 \001" - + "(\0162I.google.cloud.bigquery.datatransfer." - + "v1.ListTransferRunsRequest.RunAttempt\"5\n" - + "\nRunAttempt\022\033\n\027RUN_ATTEMPT_UNSPECIFIED\020\000" - + "\022\n\n\006LATEST\020\001\"\210\001\n\030ListTransferRunsRespons" - + "e\022N\n\rtransfer_runs\030\001 \003(\01322.google.cloud." - + "bigquery.datatransfer.v1.TransferRunB\003\340A" - + "\003\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\340\001\n\027List" - + "TransferLogsRequest\022?\n\006parent\030\001 \001(\tB/\340A\002" - + "\372A)\n\'bigquerydatatransfer.googleapis.com" - + "/Run\022\022\n\npage_token\030\004 \001(\t\022\021\n\tpage_size\030\005 " - + "\001(\005\022]\n\rmessage_types\030\006 \003(\0162F.google.clou" - + "d.bigquery.datatransfer.v1.TransferMessa" - + "ge.MessageSeverity\"\220\001\n\030ListTransferLogsR" - + "esponse\022V\n\021transfer_messages\030\001 \003(\01326.goo" - + "gle.cloud.bigquery.datatransfer.v1.Trans" - + "ferMessageB\003\340A\003\022\034\n\017next_page_token\030\002 \001(\t" - + "B\003\340A\003\"^\n\026CheckValidCredsRequest\022D\n\004name\030" - + "\001 \001(\tB6\340A\002\372A0\n.bigquerydatatransfer.goog" - + "leapis.com/DataSource\"2\n\027CheckValidCreds" - + "Response\022\027\n\017has_valid_creds\030\001 \001(\010\"\321\001\n\033Sc" - + "heduleTransferRunsRequest\022J\n\006parent\030\001 \001(" - + "\tB:\340A\002\372A4\n2bigquerydatatransfer.googleap" - + "is.com/TransferConfig\0223\n\nstart_time\030\002 \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\002\0221\n\010en" - + "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\002\"`\n\034ScheduleTransferRunsResponse\022@\n" - + "\004runs\030\001 \003(\01322.google.cloud.bigquery.data" - + "transfer.v1.TransferRun\"\207\003\n\036StartManualT" - + "ransferRunsRequest\022G\n\006parent\030\001 \001(\tB7\372A4\n" - + "2bigquerydatatransfer.googleapis.com/Tra" - + "nsferConfig\022o\n\024requested_time_range\030\003 \001(" - + "\0132O.google.cloud.bigquery.datatransfer.v" - + "1.StartManualTransferRunsRequest.TimeRan" - + "geH\000\0228\n\022requested_run_time\030\004 \001(\0132\032.googl" - + "e.protobuf.TimestampH\000\032i\n\tTimeRange\022.\n\ns" - + "tart_time\030\001 \001(\0132\032.google.protobuf.Timest" - + "amp\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf." - + "TimestampB\006\n\004time\"c\n\037StartManualTransfer" - + "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" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor, - new java.lang.String[] { - "ParamId", - "DisplayName", - "Description", - "Type", - "Required", - "Repeated", - "ValidationRegex", - "AllowedValues", - "MinValue", - "MaxValue", - "Fields", - "ValidationDescription", - "ValidationHelpUrl", - "Immutable", - "Recurse", - "Deprecated", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor, - new java.lang.String[] { - "Name", - "DataSourceId", - "DisplayName", - "Description", - "ClientId", - "Scopes", - "TransferType", - "SupportsMultipleTransfers", - "UpdateDeadlineSeconds", - "DefaultSchedule", - "SupportsCustomSchedule", - "Parameters", - "HelpUrl", - "AuthorizationType", - "DataRefreshType", - "DefaultDataRefreshWindowDays", - "ManualRunsDisabled", - "MinimumScheduleInterval", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor, - new java.lang.String[] { - "DataSources", "NextPageToken", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor, - new java.lang.String[] { - "Parent", "TransferConfig", "AuthorizationCode", "VersionInfo", "ServiceAccountName", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor, - new java.lang.String[] { - "TransferConfig", - "AuthorizationCode", - "UpdateMask", - "VersionInfo", - "ServiceAccountName", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor, - new java.lang.String[] { - "Parent", "DataSourceIds", "PageToken", "PageSize", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor, - new java.lang.String[] { - "TransferConfigs", "NextPageToken", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor, - new java.lang.String[] { - "Parent", "States", "PageToken", "PageSize", "RunAttempt", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor, - new java.lang.String[] { - "TransferRuns", "NextPageToken", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", "MessageTypes", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor, - new java.lang.String[] { - "TransferMessages", "NextPageToken", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor, - new java.lang.String[] { - "HasValidCreds", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor, - new java.lang.String[] { - "Parent", "StartTime", "EndTime", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor, - new java.lang.String[] { - "Runs", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor, - new java.lang.String[] { - "Parent", "RequestedTimeRange", "RequestedRunTime", "Time", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor = - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor, - new java.lang.String[] { - "Runs", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor, - new java.lang.String[] { - "Name", "DataSourceIds", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java deleted file mode 100644 index 41fe54a384cd..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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; - -public interface DeleteTransferConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java deleted file mode 100644 index 17a2f296f425..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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/transfer.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.datatransfer.v1; - -public interface EmailPreferencesOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EmailPreferences) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * If true, email notifications will be sent on transfer run failures.
-   * 
- * - * bool enable_failure_email = 1; - * - * @return The enableFailureEmail. - */ - boolean getEnableFailureEmail(); -} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java deleted file mode 100644 index 0482e8861974..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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; - -public interface GetDataSourceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java deleted file mode 100644 index a8ea06c2f34d..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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; - -public interface GetTransferConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java deleted file mode 100644 index 3a9069e8b6f7..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java +++ /dev/null @@ -1,266 +0,0 @@ -/* - * 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/transfer.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.datatransfer.v1; - -public final class TransferProto { - private TransferProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/bigquery/datatransfer/v1/" - + "transfer.proto\022%google.cloud.bigquery.da" - + "tatransfer.v1\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032\034googl" - + "e/protobuf/struct.proto\032\037google/protobuf" - + "/timestamp.proto\032\036google/protobuf/wrappe" - + "rs.proto\032\027google/rpc/status.proto\"0\n\020Ema" - + "ilPreferences\022\034\n\024enable_failure_email\030\001 " - + "\001(\010\"\220\001\n\017ScheduleOptions\022\037\n\027disable_auto_" - + "scheduling\030\003 \001(\010\022.\n\nstart_time\030\001 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022,\n\010end_time\030\002 \001" - + "(\0132\032.google.protobuf.Timestamp\"(\n\010UserIn" - + "fo\022\022\n\005email\030\001 \001(\tH\000\210\001\001B\010\n\006_email\"\227\010\n\016Tra" - + "nsferConfig\022\014\n\004name\030\001 \001(\t\022 \n\026destination" - + "_dataset_id\030\002 \001(\tH\000\022\024\n\014display_name\030\003 \001(" - + "\t\022\026\n\016data_source_id\030\005 \001(\t\022\'\n\006params\030\t \001(" - + "\0132\027.google.protobuf.Struct\022\020\n\010schedule\030\007" - + " \001(\t\022P\n\020schedule_options\030\030 \001(\01326.google." - + "cloud.bigquery.datatransfer.v1.ScheduleO" - + "ptions\022 \n\030data_refresh_window_days\030\014 \001(\005" - + "\022\020\n\010disabled\030\r \001(\010\0224\n\013update_time\030\004 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\0226\n\rnext" - + "_run_time\030\010 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\022H\n\005state\030\n \001(\01624.google.cloud.b" - + "igquery.datatransfer.v1.TransferStateB\003\340" - + "A\003\022\017\n\007user_id\030\013 \001(\003\022\033\n\016dataset_region\030\016 " - + "\001(\tB\003\340A\003\022!\n\031notification_pubsub_topic\030\017 " - + "\001(\t\022R\n\021email_preferences\030\022 \001(\01327.google." - + "cloud.bigquery.datatransfer.v1.EmailPref" - + "erences\022M\n\nowner_info\030\033 \001(\0132/.google.clo" - + "ud.bigquery.datatransfer.v1.UserInfoB\003\340A" - + "\003H\001\210\001\001\022`\n\030encryption_configuration\030\034 \001(\013" - + "2>.google.cloud.bigquery.datatransfer.v1" - + ".EncryptionConfiguration:\271\001\352A\265\001\n2bigquer" - + "ydatatransfer.googleapis.com/TransferCon" - + "fig\0224projects/{project}/transferConfigs/" - + "{transfer_config}\022Iprojects/{project}/lo" - + "cations/{location}/transferConfigs/{tran" - + "sfer_config}B\r\n\013destinationB\r\n\013_owner_in" - + "fo\"M\n\027EncryptionConfiguration\0222\n\014kms_key" - + "_name\030\001 \001(\0132\034.google.protobuf.StringValu" - + "e\"\372\006\n\013TransferRun\022\014\n\004name\030\001 \001(\t\0221\n\rsched" - + "ule_time\030\003 \001(\0132\032.google.protobuf.Timesta" - + "mp\022,\n\010run_time\030\n \001(\0132\032.google.protobuf.T" - + "imestamp\022(\n\014error_status\030\025 \001(\0132\022.google." - + "rpc.Status\0223\n\nstart_time\030\004 \001(\0132\032.google." - + "protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" - + "date_time\030\006 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\022,\n\006params\030\t \001(\0132\027.google.protob" - + "uf.StructB\003\340A\003\022%\n\026destination_dataset_id" - + "\030\002 \001(\tB\003\340A\003H\000\022\033\n\016data_source_id\030\007 \001(\tB\003\340" - + "A\003\022C\n\005state\030\010 \001(\01624.google.cloud.bigquer" - + "y.datatransfer.v1.TransferState\022\017\n\007user_" - + "id\030\013 \001(\003\022\025\n\010schedule\030\014 \001(\tB\003\340A\003\022&\n\031notif" - + "ication_pubsub_topic\030\027 \001(\tB\003\340A\003\022W\n\021email" - + "_preferences\030\031 \001(\01327.google.cloud.bigque" - + "ry.datatransfer.v1.EmailPreferencesB\003\340A\003" - + ":\304\001\352A\300\001\n\'bigquerydatatransfer.googleapis" - + ".com/Run\022?projects/{project}/transferCon" - + "figs/{transfer_config}/runs/{run}\022Tproje" - + "cts/{project}/locations/{location}/trans" - + "ferConfigs/{transfer_config}/runs/{run}B" - + "\r\n\013destination\"\212\002\n\017TransferMessage\0220\n\014me" - + "ssage_time\030\001 \001(\0132\032.google.protobuf.Times" - + "tamp\022X\n\010severity\030\002 \001(\0162F.google.cloud.bi" - + "gquery.datatransfer.v1.TransferMessage.M" - + "essageSeverity\022\024\n\014message_text\030\003 \001(\t\"U\n\017" - + "MessageSeverity\022 \n\034MESSAGE_SEVERITY_UNSP" - + "ECIFIED\020\000\022\010\n\004INFO\020\001\022\013\n\007WARNING\020\002\022\t\n\005ERRO" - + "R\020\003*K\n\014TransferType\022\035\n\031TRANSFER_TYPE_UNS" - + "PECIFIED\020\000\022\t\n\005BATCH\020\001\022\r\n\tSTREAMING\020\002\032\002\030\001" - + "*s\n\rTransferState\022\036\n\032TRANSFER_STATE_UNSP" - + "ECIFIED\020\000\022\013\n\007PENDING\020\002\022\013\n\007RUNNING\020\003\022\r\n\tS" - + "UCCEEDED\020\004\022\n\n\006FAILED\020\005\022\r\n\tCANCELLED\020\006B\217\002" - + "\n)com.google.cloud.bigquery.datatransfer" - + ".v1B\rTransferProtoP\001ZMcloud.google.com/g" - + "o/bigquery/datatransfer/apiv1/datatransf" - + "erpb;datatransferpb\242\002\005GCBDT\252\002%Google.Clo" - + "ud.BigQuery.DataTransfer.V1\312\002%Google\\Clo" - + "ud\\BigQuery\\DataTransfer\\V1\352\002)Google::Cl" - + "oud::Bigquery::DataTransfer::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor, - new java.lang.String[] { - "EnableFailureEmail", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor, - new java.lang.String[] { - "DisableAutoScheduling", "StartTime", "EndTime", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor, - new java.lang.String[] { - "Email", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor, - new java.lang.String[] { - "Name", - "DestinationDatasetId", - "DisplayName", - "DataSourceId", - "Params", - "Schedule", - "ScheduleOptions", - "DataRefreshWindowDays", - "Disabled", - "UpdateTime", - "NextRunTime", - "State", - "UserId", - "DatasetRegion", - "NotificationPubsubTopic", - "EmailPreferences", - "OwnerInfo", - "EncryptionConfiguration", - "Destination", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor, - new java.lang.String[] { - "KmsKeyName", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor, - new java.lang.String[] { - "Name", - "ScheduleTime", - "RunTime", - "ErrorStatus", - "StartTime", - "EndTime", - "UpdateTime", - "Params", - "DestinationDatasetId", - "DataSourceId", - "State", - "UserId", - "Schedule", - "NotificationPubsubTopic", - "EmailPreferences", - "Destination", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor, - new java.lang.String[] { - "MessageTime", "Severity", "MessageText", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java similarity index 97% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java index 8063edf4ff87..936f42736483 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java @@ -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. * @@ -2596,6 +2610,68 @@ public final UnaryCallable enrollDataSourcesCal return stub.enrollDataSourcesCallable(); } + // 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). + * + *

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())
+   *           .build();
+   *   dataTransferServiceClient.unenrollDataSources(request);
+   * }
+   * }
+ * + * @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). + * + *

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())
+   *           .build();
+   *   ApiFuture future =
+   *       dataTransferServiceClient.unenrollDataSourcesCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable unenrollDataSourcesCallable() { + return stub.unenrollDataSourcesCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lists information about the supported locations for this service. diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java similarity index 96% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java index 03a81b55afbd..d54893514147 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java @@ -32,6 +32,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.bigquery.datatransfer.v1.stub.DataTransferServiceStubSettings; @@ -179,6 +180,11 @@ public UnaryCallSettings enrollDataSourcesSetti return ((DataTransferServiceStubSettings) getStubSettings()).enrollDataSourcesSettings(); } + /** Returns the object with the settings used for calls to unenrollDataSources. */ + public UnaryCallSettings unenrollDataSourcesSettings() { + return ((DataTransferServiceStubSettings) getStubSettings()).unenrollDataSourcesSettings(); + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -403,6 +409,12 @@ public UnaryCallSettings.Builder enrollDataSour return getStubSettingsBuilder().enrollDataSourcesSettings(); } + /** Returns the builder for the settings used for calls to unenrollDataSources. */ + public UnaryCallSettings.Builder + unenrollDataSourcesSettings() { + return getStubSettingsBuilder().unenrollDataSourcesSettings(); + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json similarity index 96% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json index aecabf2aaa90..a9b7e1aeb308 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json @@ -58,6 +58,9 @@ "StartManualTransferRuns": { "methods": ["startManualTransferRuns", "startManualTransferRunsCallable"] }, + "UnenrollDataSources": { + "methods": ["unenrollDataSources", "unenrollDataSourcesCallable"] + }, "UpdateTransferConfig": { "methods": ["updateTransferConfig", "updateTransferConfig", "updateTransferConfigCallable"] } diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java similarity index 100% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java similarity index 96% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java index f2092874a768..547e106af4a5 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java @@ -48,6 +48,7 @@ import com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse; import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; import com.google.cloud.bigquery.datatransfer.v1.TransferRun; +import com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest; import com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; @@ -151,6 +152,10 @@ public UnaryCallable enrollDataSourcesCallable( throw new UnsupportedOperationException("Not implemented: enrollDataSourcesCallable()"); } + public UnaryCallable unenrollDataSourcesCallable() { + throw new UnsupportedOperationException("Not implemented: unenrollDataSourcesCallable()"); + } + public UnaryCallable listLocationsPagedCallable() { throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java similarity index 97% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java index e98d671d32d2..bff6f23c3b33 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java @@ -72,6 +72,7 @@ import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; import com.google.cloud.bigquery.datatransfer.v1.TransferMessage; import com.google.cloud.bigquery.datatransfer.v1.TransferRun; +import com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest; import com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; @@ -161,6 +162,7 @@ public class DataTransferServiceStubSettings extends StubSettings checkValidCredsSettings; private final UnaryCallSettings enrollDataSourcesSettings; + private final UnaryCallSettings unenrollDataSourcesSettings; private final PagedCallSettings< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -547,6 +549,11 @@ public UnaryCallSettings enrollDataSourcesSetti return enrollDataSourcesSettings; } + /** Returns the object with the settings used for calls to unenrollDataSources. */ + public UnaryCallSettings unenrollDataSourcesSettings() { + return unenrollDataSourcesSettings; + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -694,6 +701,7 @@ protected DataTransferServiceStubSettings(Builder settingsBuilder) throws IOExce listTransferLogsSettings = settingsBuilder.listTransferLogsSettings().build(); checkValidCredsSettings = settingsBuilder.checkValidCredsSettings().build(); enrollDataSourcesSettings = settingsBuilder.enrollDataSourcesSettings().build(); + unenrollDataSourcesSettings = settingsBuilder.unenrollDataSourcesSettings().build(); listLocationsSettings = settingsBuilder.listLocationsSettings().build(); getLocationSettings = settingsBuilder.getLocationSettings().build(); } @@ -739,6 +747,8 @@ public static class Builder checkValidCredsSettings; private final UnaryCallSettings.Builder enrollDataSourcesSettings; + private final UnaryCallSettings.Builder + unenrollDataSourcesSettings; private final PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -812,6 +822,7 @@ protected Builder(ClientContext clientContext) { listTransferLogsSettings = PagedCallSettings.newBuilder(LIST_TRANSFER_LOGS_PAGE_STR_FACT); checkValidCredsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); enrollDataSourcesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + unenrollDataSourcesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listLocationsSettings = PagedCallSettings.newBuilder(LIST_LOCATIONS_PAGE_STR_FACT); getLocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -832,6 +843,7 @@ protected Builder(ClientContext clientContext) { listTransferLogsSettings, checkValidCredsSettings, enrollDataSourcesSettings, + unenrollDataSourcesSettings, listLocationsSettings, getLocationSettings); initDefaults(this); @@ -855,6 +867,7 @@ protected Builder(DataTransferServiceStubSettings settings) { listTransferLogsSettings = settings.listTransferLogsSettings.toBuilder(); checkValidCredsSettings = settings.checkValidCredsSettings.toBuilder(); enrollDataSourcesSettings = settings.enrollDataSourcesSettings.toBuilder(); + unenrollDataSourcesSettings = settings.unenrollDataSourcesSettings.toBuilder(); listLocationsSettings = settings.listLocationsSettings.toBuilder(); getLocationSettings = settings.getLocationSettings.toBuilder(); @@ -875,6 +888,7 @@ protected Builder(DataTransferServiceStubSettings settings) { listTransferLogsSettings, checkValidCredsSettings, enrollDataSourcesSettings, + unenrollDataSourcesSettings, listLocationsSettings, getLocationSettings); } @@ -979,6 +993,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder + .unenrollDataSourcesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder .listLocationsSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) @@ -1105,6 +1124,12 @@ public UnaryCallSettings.Builder enrollDataSour return enrollDataSourcesSettings; } + /** Returns the builder for the settings used for calls to unenrollDataSources. */ + public UnaryCallSettings.Builder + unenrollDataSourcesSettings() { + return unenrollDataSourcesSettings; + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java similarity index 100% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java similarity index 95% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java index 3473fe86f936..71ee6b9c0ce8 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java @@ -53,6 +53,7 @@ import com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse; import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; import com.google.cloud.bigquery.datatransfer.v1.TransferRun; +import com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest; import com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; @@ -63,6 +64,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; @@ -248,6 +250,17 @@ public class GrpcDataTransferServiceStub extends DataTransferServiceStub { .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) .build(); + private static final MethodDescriptor + unenrollDataSourcesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.bigquery.datatransfer.v1.DataTransferService/UnenrollDataSources") + .setRequestMarshaller( + ProtoUtils.marshaller(UnenrollDataSourcesRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + private static final MethodDescriptor listLocationsMethodDescriptor = MethodDescriptor.newBuilder() @@ -299,6 +312,7 @@ public class GrpcDataTransferServiceStub extends DataTransferServiceStub { private final UnaryCallable checkValidCredsCallable; private final UnaryCallable enrollDataSourcesCallable; + private final UnaryCallable unenrollDataSourcesCallable; private final UnaryCallable listLocationsCallable; private final UnaryCallable listLocationsPagedCallable; @@ -510,6 +524,16 @@ protected GrpcDataTransferServiceStub( return builder.build(); }) .build(); + GrpcCallSettings unenrollDataSourcesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(unenrollDataSourcesMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); GrpcCallSettings listLocationsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listLocationsMethodDescriptor) @@ -608,6 +632,11 @@ protected GrpcDataTransferServiceStub( enrollDataSourcesTransportSettings, settings.enrollDataSourcesSettings(), clientContext); + this.unenrollDataSourcesCallable = + callableFactory.createUnaryCallable( + unenrollDataSourcesTransportSettings, + settings.unenrollDataSourcesSettings(), + clientContext); this.listLocationsCallable = callableFactory.createUnaryCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); @@ -730,6 +759,11 @@ public UnaryCallable enrollDataSourcesCallable( return enrollDataSourcesCallable; } + @Override + public UnaryCallable unenrollDataSourcesCallable() { + return unenrollDataSourcesCallable; + } + @Override public UnaryCallable listLocationsCallable() { return listLocationsCallable; diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java similarity index 100% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java similarity index 95% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java index a706ba50c782..b6eeaa1fea13 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java @@ -59,6 +59,7 @@ import com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse; import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; import com.google.cloud.bigquery.datatransfer.v1.TransferRun; +import com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest; import com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; @@ -680,6 +681,44 @@ public class HttpJsonDataTransferServiceStub extends DataTransferServiceStub { .build()) .build(); + private static final ApiMethodDescriptor + unenrollDataSourcesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.bigquery.datatransfer.v1.DataTransferService/UnenrollDataSources") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*}:unenrollDataSources", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private static final ApiMethodDescriptor listLocationsMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -780,6 +819,7 @@ public class HttpJsonDataTransferServiceStub extends DataTransferServiceStub { private final UnaryCallable checkValidCredsCallable; private final UnaryCallable enrollDataSourcesCallable; + private final UnaryCallable unenrollDataSourcesCallable; private final UnaryCallable listLocationsCallable; private final UnaryCallable listLocationsPagedCallable; @@ -1009,6 +1049,17 @@ protected HttpJsonDataTransferServiceStub( return builder.build(); }) .build(); + HttpJsonCallSettings unenrollDataSourcesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(unenrollDataSourcesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); HttpJsonCallSettings listLocationsTransportSettings = HttpJsonCallSettings.newBuilder() @@ -1110,6 +1161,11 @@ protected HttpJsonDataTransferServiceStub( enrollDataSourcesTransportSettings, settings.enrollDataSourcesSettings(), clientContext); + this.unenrollDataSourcesCallable = + callableFactory.createUnaryCallable( + unenrollDataSourcesTransportSettings, + settings.unenrollDataSourcesSettings(), + clientContext); this.listLocationsCallable = callableFactory.createUnaryCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); @@ -1142,6 +1198,7 @@ public static List getMethodDescriptors() { methodDescriptors.add(listTransferLogsMethodDescriptor); methodDescriptors.add(checkValidCredsMethodDescriptor); methodDescriptors.add(enrollDataSourcesMethodDescriptor); + methodDescriptors.add(unenrollDataSourcesMethodDescriptor); methodDescriptors.add(listLocationsMethodDescriptor); methodDescriptors.add(getLocationMethodDescriptor); return methodDescriptors; @@ -1251,6 +1308,11 @@ public UnaryCallable enrollDataSourcesCallable( return enrollDataSourcesCallable; } + @Override + public UnaryCallable unenrollDataSourcesCallable() { + return unenrollDataSourcesCallable; + } + @Override public UnaryCallable listLocationsCallable() { return listLocationsCallable; diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json similarity index 99% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json index bac2cea05886..d785c815a77c 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json @@ -980,6 +980,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest", "queryAllDeclaredConstructors": true, diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java similarity index 97% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java index beebef514c76..584c70427cf2 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java @@ -1753,6 +1753,54 @@ public void enrollDataSourcesExceptionTest() throws Exception { } } + @Test + public void unenrollDataSourcesTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + UnenrollDataSourcesRequest request = + UnenrollDataSourcesRequest.newBuilder() + .setName("projects/project-9062/locations/location-9062") + .addAllDataSourceIds(new ArrayList()) + .build(); + + client.unenrollDataSources(request); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void unenrollDataSourcesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + UnenrollDataSourcesRequest request = + UnenrollDataSourcesRequest.newBuilder() + .setName("projects/project-9062/locations/location-9062") + .addAllDataSourceIds(new ArrayList()) + .build(); + client.unenrollDataSources(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void listLocationsTest() throws Exception { Location responsesElement = Location.newBuilder().build(); diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java similarity index 97% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java index e8ba9b567d81..63177ea0e3d4 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java @@ -1541,6 +1541,49 @@ public void enrollDataSourcesExceptionTest() throws Exception { } } + @Test + public void unenrollDataSourcesTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDataTransferService.addResponse(expectedResponse); + + UnenrollDataSourcesRequest request = + UnenrollDataSourcesRequest.newBuilder() + .setName("name3373707") + .addAllDataSourceIds(new ArrayList()) + .build(); + + client.unenrollDataSources(request); + + List actualRequests = mockDataTransferService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UnenrollDataSourcesRequest actualRequest = ((UnenrollDataSourcesRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getDataSourceIdsList(), actualRequest.getDataSourceIdsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void unenrollDataSourcesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataTransferService.addException(exception); + + try { + UnenrollDataSourcesRequest request = + UnenrollDataSourcesRequest.newBuilder() + .setName("name3373707") + .addAllDataSourceIds(new ArrayList()) + .build(); + client.unenrollDataSources(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void listLocationsTest() throws Exception { Location responsesElement = Location.newBuilder().build(); diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java similarity index 100% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java similarity index 94% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java index 248e3997f5bb..4b9b2ee06284 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java @@ -376,4 +376,25 @@ public void enrollDataSources( Exception.class.getName()))); } } + + @Override + public void unenrollDataSources( + UnenrollDataSourcesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UnenrollDataSources, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java similarity index 100% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java similarity index 100% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java b/owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java new file mode 100644 index 000000000000..ab5ddcb83a8b --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java @@ -0,0 +1,1701 @@ +package com.google.cloud.bigquery.datatransfer.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * This API allows users to manage their data transfers into BigQuery.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataTransferServiceGrpc { + + private DataTransferServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.bigquery.datatransfer.v1.DataTransferService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getGetDataSourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataSource", + requestType = com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.DataSource.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataSourceMethod() { + io.grpc.MethodDescriptor getGetDataSourceMethod; + if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { + DataTransferServiceGrpc.getGetDataSourceMethod = getGetDataSourceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataSource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("GetDataSource")) + .build(); + } + } + } + return getGetDataSourceMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDataSourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataSources", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDataSourcesMethod() { + io.grpc.MethodDescriptor getListDataSourcesMethod; + if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { + DataTransferServiceGrpc.getListDataSourcesMethod = getListDataSourcesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataSources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListDataSources")) + .build(); + } + } + } + return getListDataSourcesMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTransferConfigMethod() { + io.grpc.MethodDescriptor getCreateTransferConfigMethod; + if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) == null) { + DataTransferServiceGrpc.getCreateTransferConfigMethod = getCreateTransferConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("CreateTransferConfig")) + .build(); + } + } + } + return getCreateTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTransferConfigMethod() { + io.grpc.MethodDescriptor getUpdateTransferConfigMethod; + if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) == null) { + DataTransferServiceGrpc.getUpdateTransferConfigMethod = getUpdateTransferConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("UpdateTransferConfig")) + .build(); + } + } + } + return getUpdateTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTransferConfigMethod() { + io.grpc.MethodDescriptor getDeleteTransferConfigMethod; + if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) == null) { + DataTransferServiceGrpc.getDeleteTransferConfigMethod = getDeleteTransferConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("DeleteTransferConfig")) + .build(); + } + } + } + return getDeleteTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTransferConfigMethod() { + io.grpc.MethodDescriptor getGetTransferConfigMethod; + if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) == null) { + DataTransferServiceGrpc.getGetTransferConfigMethod = getGetTransferConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("GetTransferConfig")) + .build(); + } + } + } + return getGetTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTransferConfigsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTransferConfigs", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTransferConfigsMethod() { + io.grpc.MethodDescriptor getListTransferConfigsMethod; + if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) == null) { + DataTransferServiceGrpc.getListTransferConfigsMethod = getListTransferConfigsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferConfigs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListTransferConfigs")) + .build(); + } + } + } + return getListTransferConfigsMethod; + } + + private static volatile io.grpc.MethodDescriptor getScheduleTransferRunsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ScheduleTransferRuns", + requestType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getScheduleTransferRunsMethod() { + io.grpc.MethodDescriptor getScheduleTransferRunsMethod; + if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) == null) { + DataTransferServiceGrpc.getScheduleTransferRunsMethod = getScheduleTransferRunsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ScheduleTransferRuns")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ScheduleTransferRuns")) + .build(); + } + } + } + return getScheduleTransferRunsMethod; + } + + private static volatile io.grpc.MethodDescriptor getStartManualTransferRunsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartManualTransferRuns", + requestType = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getStartManualTransferRunsMethod() { + io.grpc.MethodDescriptor getStartManualTransferRunsMethod; + if ((getStartManualTransferRunsMethod = DataTransferServiceGrpc.getStartManualTransferRunsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getStartManualTransferRunsMethod = DataTransferServiceGrpc.getStartManualTransferRunsMethod) == null) { + DataTransferServiceGrpc.getStartManualTransferRunsMethod = getStartManualTransferRunsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartManualTransferRuns")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("StartManualTransferRuns")) + .build(); + } + } + } + return getStartManualTransferRunsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTransferRunMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTransferRun", + requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTransferRunMethod() { + io.grpc.MethodDescriptor getGetTransferRunMethod; + if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { + DataTransferServiceGrpc.getGetTransferRunMethod = getGetTransferRunMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferRun")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("GetTransferRun")) + .build(); + } + } + } + return getGetTransferRunMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTransferRunMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTransferRun", + requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTransferRunMethod() { + io.grpc.MethodDescriptor getDeleteTransferRunMethod; + if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) == null) { + DataTransferServiceGrpc.getDeleteTransferRunMethod = getDeleteTransferRunMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransferRun")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("DeleteTransferRun")) + .build(); + } + } + } + return getDeleteTransferRunMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTransferRunsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTransferRuns", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTransferRunsMethod() { + io.grpc.MethodDescriptor getListTransferRunsMethod; + if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) == null) { + DataTransferServiceGrpc.getListTransferRunsMethod = getListTransferRunsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferRuns")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListTransferRuns")) + .build(); + } + } + } + return getListTransferRunsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTransferLogsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTransferLogs", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTransferLogsMethod() { + io.grpc.MethodDescriptor getListTransferLogsMethod; + if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) == null) { + DataTransferServiceGrpc.getListTransferLogsMethod = getListTransferLogsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferLogs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListTransferLogs")) + .build(); + } + } + } + return getListTransferLogsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCheckValidCredsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CheckValidCreds", + requestType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCheckValidCredsMethod() { + io.grpc.MethodDescriptor getCheckValidCredsMethod; + if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { + DataTransferServiceGrpc.getCheckValidCredsMethod = getCheckValidCredsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckValidCreds")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("CheckValidCreds")) + .build(); + } + } + } + return getCheckValidCredsMethod; + } + + private static volatile io.grpc.MethodDescriptor getEnrollDataSourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "EnrollDataSources", + requestType = com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getEnrollDataSourcesMethod() { + io.grpc.MethodDescriptor getEnrollDataSourcesMethod; + if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) == null) { + DataTransferServiceGrpc.getEnrollDataSourcesMethod = getEnrollDataSourcesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "EnrollDataSources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("EnrollDataSources")) + .build(); + } + } + } + return getEnrollDataSourcesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUnenrollDataSourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UnenrollDataSources", + requestType = com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUnenrollDataSourcesMethod() { + io.grpc.MethodDescriptor getUnenrollDataSourcesMethod; + if ((getUnenrollDataSourcesMethod = DataTransferServiceGrpc.getUnenrollDataSourcesMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getUnenrollDataSourcesMethod = DataTransferServiceGrpc.getUnenrollDataSourcesMethod) == null) { + DataTransferServiceGrpc.getUnenrollDataSourcesMethod = getUnenrollDataSourcesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnenrollDataSources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("UnenrollDataSources")) + .build(); + } + } + } + return getUnenrollDataSourcesMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DataTransferServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTransferServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceStub(channel, callOptions); + } + }; + return DataTransferServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataTransferServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTransferServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceBlockingStub(channel, callOptions); + } + }; + return DataTransferServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DataTransferServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTransferServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceFutureStub(channel, callOptions); + } + }; + return DataTransferServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + default void getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataSourceMethod(), responseObserver); + } + + /** + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + default void listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataSourcesMethod(), responseObserver); + } + + /** + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + default void createTransferConfig(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTransferConfigMethod(), responseObserver); + } + + /** + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + default void updateTransferConfig(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTransferConfigMethod(), responseObserver); + } + + /** + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + default void deleteTransferConfig(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTransferConfigMethod(), responseObserver); + } + + /** + *
+     * Returns information about a data transfer config.
+     * 
+ */ + default void getTransferConfig(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransferConfigMethod(), responseObserver); + } + + /** + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + default void listTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferConfigsMethod(), responseObserver); + } + + /** + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + default void scheduleTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getScheduleTransferRunsMethod(), responseObserver); + } + + /** + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + default void startManualTransferRuns(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartManualTransferRunsMethod(), responseObserver); + } + + /** + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + default void getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransferRunMethod(), responseObserver); + } + + /** + *
+     * Deletes the specified transfer run.
+     * 
+ */ + default void deleteTransferRun(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTransferRunMethod(), responseObserver); + } + + /** + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + default void listTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferRunsMethod(), responseObserver); + } + + /** + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + default void listTransferLogs(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferLogsMethod(), responseObserver); + } + + /** + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + default void checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckValidCredsMethod(), responseObserver); + } + + /** + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + default void enrollDataSources(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getEnrollDataSourcesMethod(), responseObserver); + } + + /** + *
+     * 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnenrollDataSourcesMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service DataTransferService. + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public static abstract class DataTransferServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return DataTransferServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service DataTransferService. + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public static final class DataTransferServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private DataTransferServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTransferServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceStub(channel, callOptions); + } + + /** + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + public void getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + public void listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + public void createTransferConfig(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + public void updateTransferConfig(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + public void deleteTransferConfig(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns information about a data transfer config.
+     * 
+ */ + public void getTransferConfig(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + public void listTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + public void scheduleTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + public void startManualTransferRuns(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + public void getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes the specified transfer run.
+     * 
+ */ + public void deleteTransferRun(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + public void listTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + public void listTransferLogs(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + public void checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + public void enrollDataSources(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getEnrollDataSourcesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUnenrollDataSourcesMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service DataTransferService. + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public static final class DataTransferServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataTransferServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTransferServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataSourceMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataSourcesMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig createTransferConfig(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTransferConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig updateTransferConfig(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTransferConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + public com.google.protobuf.Empty deleteTransferConfig(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTransferConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns information about a data transfer config.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTransferConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse listTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTransferConfigsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse scheduleTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getScheduleTransferRunsMethod(), getCallOptions(), request); + } + + /** + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse startManualTransferRuns(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartManualTransferRunsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTransferRunMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes the specified transfer run.
+     * 
+ */ + public com.google.protobuf.Empty deleteTransferRun(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTransferRunMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse listTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTransferRunsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse listTransferLogs(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTransferLogsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCheckValidCredsMethod(), getCallOptions(), request); + } + + /** + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + public com.google.protobuf.Empty enrollDataSources(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), 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.protobuf.Empty unenrollDataSources(com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUnenrollDataSourcesMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service DataTransferService. + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public static final class DataTransferServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataTransferServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTransferServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataSource( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDataSources( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns information about a data transfer config.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTransferConfigs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.common.util.concurrent.ListenableFuture scheduleTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), request); + } + + /** + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture startManualTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTransferRun( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes the specified transfer run.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTransferRun( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTransferLogs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture checkValidCreds( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), request); + } + + /** + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture enrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { + 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 unenrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUnenrollDataSourcesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_DATA_SOURCE = 0; + private static final int METHODID_LIST_DATA_SOURCES = 1; + private static final int METHODID_CREATE_TRANSFER_CONFIG = 2; + private static final int METHODID_UPDATE_TRANSFER_CONFIG = 3; + private static final int METHODID_DELETE_TRANSFER_CONFIG = 4; + private static final int METHODID_GET_TRANSFER_CONFIG = 5; + private static final int METHODID_LIST_TRANSFER_CONFIGS = 6; + private static final int METHODID_SCHEDULE_TRANSFER_RUNS = 7; + private static final int METHODID_START_MANUAL_TRANSFER_RUNS = 8; + private static final int METHODID_GET_TRANSFER_RUN = 9; + private static final int METHODID_DELETE_TRANSFER_RUN = 10; + private static final int METHODID_LIST_TRANSFER_RUNS = 11; + private static final int METHODID_LIST_TRANSFER_LOGS = 12; + private static final int METHODID_CHECK_VALID_CREDS = 13; + private static final int METHODID_ENROLL_DATA_SOURCES = 14; + private static final int METHODID_UNENROLL_DATA_SOURCES = 15; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_DATA_SOURCE: + serviceImpl.getDataSource((com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DATA_SOURCES: + serviceImpl.listDataSources((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TRANSFER_CONFIG: + serviceImpl.createTransferConfig((com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TRANSFER_CONFIG: + serviceImpl.updateTransferConfig((com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TRANSFER_CONFIG: + serviceImpl.deleteTransferConfig((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TRANSFER_CONFIG: + serviceImpl.getTransferConfig((com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TRANSFER_CONFIGS: + serviceImpl.listTransferConfigs((com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SCHEDULE_TRANSFER_RUNS: + serviceImpl.scheduleTransferRuns((com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_START_MANUAL_TRANSFER_RUNS: + serviceImpl.startManualTransferRuns((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TRANSFER_RUN: + serviceImpl.getTransferRun((com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TRANSFER_RUN: + serviceImpl.deleteTransferRun((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TRANSFER_RUNS: + serviceImpl.listTransferRuns((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TRANSFER_LOGS: + serviceImpl.listTransferLogs((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CHECK_VALID_CREDS: + serviceImpl.checkValidCreds((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ENROLL_DATA_SOURCES: + serviceImpl.enrollDataSources((com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UNENROLL_DATA_SOURCES: + serviceImpl.unenrollDataSources((com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetDataSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, + com.google.cloud.bigquery.datatransfer.v1.DataSource>( + service, METHODID_GET_DATA_SOURCE))) + .addMethod( + getListDataSourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse>( + service, METHODID_LIST_DATA_SOURCES))) + .addMethod( + getCreateTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( + service, METHODID_CREATE_TRANSFER_CONFIG))) + .addMethod( + getUpdateTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( + service, METHODID_UPDATE_TRANSFER_CONFIG))) + .addMethod( + getDeleteTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_TRANSFER_CONFIG))) + .addMethod( + getGetTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( + service, METHODID_GET_TRANSFER_CONFIG))) + .addMethod( + getListTransferConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse>( + service, METHODID_LIST_TRANSFER_CONFIGS))) + .addMethod( + getScheduleTransferRunsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse>( + service, METHODID_SCHEDULE_TRANSFER_RUNS))) + .addMethod( + getStartManualTransferRunsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse>( + service, METHODID_START_MANUAL_TRANSFER_RUNS))) + .addMethod( + getGetTransferRunMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferRun>( + service, METHODID_GET_TRANSFER_RUN))) + .addMethod( + getDeleteTransferRunMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_TRANSFER_RUN))) + .addMethod( + getListTransferRunsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse>( + service, METHODID_LIST_TRANSFER_RUNS))) + .addMethod( + getListTransferLogsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse>( + service, METHODID_LIST_TRANSFER_LOGS))) + .addMethod( + getCheckValidCredsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse>( + service, METHODID_CHECK_VALID_CREDS))) + .addMethod( + getEnrollDataSourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, + com.google.protobuf.Empty>( + service, METHODID_ENROLL_DATA_SOURCES))) + .addMethod( + getUnenrollDataSourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, + com.google.protobuf.Empty>( + service, METHODID_UNENROLL_DATA_SOURCES))) + .build(); + } + + private static abstract class DataTransferServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataTransferServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataTransferService"); + } + } + + private static final class DataTransferServiceFileDescriptorSupplier + extends DataTransferServiceBaseDescriptorSupplier { + DataTransferServiceFileDescriptorSupplier() {} + } + + private static final class DataTransferServiceMethodDescriptorSupplier + extends DataTransferServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + DataTransferServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DataTransferServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataTransferServiceFileDescriptorSupplier()) + .addMethod(getGetDataSourceMethod()) + .addMethod(getListDataSourcesMethod()) + .addMethod(getCreateTransferConfigMethod()) + .addMethod(getUpdateTransferConfigMethod()) + .addMethod(getDeleteTransferConfigMethod()) + .addMethod(getGetTransferConfigMethod()) + .addMethod(getListTransferConfigsMethod()) + .addMethod(getScheduleTransferRunsMethod()) + .addMethod(getStartManualTransferRunsMethod()) + .addMethod(getGetTransferRunMethod()) + .addMethod(getDeleteTransferRunMethod()) + .addMethod(getListTransferRunsMethod()) + .addMethod(getListTransferLogsMethod()) + .addMethod(getCheckValidCredsMethod()) + .addMethod(getEnrollDataSourcesMethod()) + .addMethod(getUnenrollDataSourcesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java similarity index 63% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java index bcc3fcac652e..8163e33dbf00 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to determine whether the user has valid credentials. This method
  * is used to limit the number of OAuth popups in the user interface. The
@@ -33,58 +16,50 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest}
  */
-public final class CheckValidCredsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CheckValidCredsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)
     CheckValidCredsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CheckValidCredsRequest.newBuilder() to construct.
   private CheckValidCredsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CheckValidCredsRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CheckValidCredsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_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_CheckValidCredsRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class,
-            com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The data source in the form:
    * `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,33 +68,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The data source in the form:
    * `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -128,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -164,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other = - (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other = (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -192,104 +165,98 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest 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.CheckValidCredsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsRequest 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.CheckValidCredsRequest 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.CheckValidCredsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest 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.CheckValidCredsRequest 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.CheckValidCredsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.CheckValidCredsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to determine whether the user has valid credentials. This method
    * is used to limit the number of OAuth popups in the user interface. The
@@ -301,32 +268,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)
       com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_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_CheckValidCredsRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class,
-              com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -336,14 +304,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest getDefaultInstanceForType() {
       return com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance();
     }
 
@@ -358,17 +325,13 @@ public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest build()
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result =
-          new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result) {
+    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -379,50 +342,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other) {
-      if (other
-          == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other) {
+      if (other == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -454,19 +413,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -476,29 +433,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -507,25 +459,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -533,43 +482,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -579,34 +517,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,43 +548,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckValidCredsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckValidCredsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -664,8 +594,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java new file mode 100644 index 000000000000..3dcc8c2f1f12 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java @@ -0,0 +1,34 @@ +// 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; + +public interface CheckValidCredsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The data source in the form:
+   * `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The data source in the form:
+   * `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java similarity index 62% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java index ff5b9d63dca2..13a14fce36b2 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,58 +5,52 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A response indicating whether the credentials exist and are valid.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse} */ -public final class CheckValidCredsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CheckValidCredsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) CheckValidCredsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CheckValidCredsResponse.newBuilder() to construct. private CheckValidCredsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CheckValidCredsResponse() {} + private CheckValidCredsResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CheckValidCredsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_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_CheckValidCredsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); } public static final int HAS_VALID_CREDS_FIELD_NUMBER = 1; private boolean hasValidCreds_ = false; /** - * - * *
    * If set to `true`, the credentials exist and are valid.
    * 
* * bool has_valid_creds = 1; - * * @return The hasValidCreds. */ @java.lang.Override @@ -80,7 +59,6 @@ public boolean getHasValidCreds() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,7 +70,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (hasValidCreds_ != false) { output.writeBool(1, hasValidCreds_); } @@ -106,7 +85,8 @@ public int getSerializedSize() { size = 0; if (hasValidCreds_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, hasValidCreds_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, hasValidCreds_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -116,15 +96,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other = - (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other = (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) obj; - if (getHasValidCreds() != other.getHasValidCreds()) return false; + if (getHasValidCreds() + != other.getHasValidCreds()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -137,145 +117,139 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + HAS_VALID_CREDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasValidCreds()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHasValidCreds()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse 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.CheckValidCredsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsResponse 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.CheckValidCredsResponse 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.CheckValidCredsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse - 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.CheckValidCredsResponse 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.CheckValidCredsResponse - 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.CheckValidCredsResponse 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.CheckValidCredsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.CheckValidCredsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response indicating whether the credentials exist and are valid.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_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_CheckValidCredsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -285,14 +259,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance(); } @@ -307,17 +280,13 @@ public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result = - new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.hasValidCreds_ = hasValidCreds_; @@ -328,50 +297,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance()) return this; if (other.getHasValidCreds() != false) { setHasValidCreds(other.getHasValidCreds()); } @@ -401,19 +366,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - hasValidCreds_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + hasValidCreds_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,19 +386,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean hasValidCreds_; + private boolean hasValidCreds_ ; /** - * - * *
      * If set to `true`, the credentials exist and are valid.
      * 
* * bool has_valid_creds = 1; - * * @return The hasValidCreds. */ @java.lang.Override @@ -443,14 +402,11 @@ public boolean getHasValidCreds() { return hasValidCreds_; } /** - * - * *
      * If set to `true`, the credentials exist and are valid.
      * 
* * bool has_valid_creds = 1; - * * @param value The hasValidCreds to set. * @return This builder for chaining. */ @@ -462,14 +418,11 @@ public Builder setHasValidCreds(boolean value) { return this; } /** - * - * *
      * If set to `true`, the credentials exist and are valid.
      * 
* * bool has_valid_creds = 1; - * * @return This builder for chaining. */ public Builder clearHasValidCreds() { @@ -478,9 +431,9 @@ public Builder clearHasValidCreds() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -490,43 +443,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckValidCredsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckValidCredsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -538,8 +489,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java new file mode 100644 index 000000000000..768f8bfb5d43 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java @@ -0,0 +1,20 @@ +// 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; + +public interface CheckValidCredsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * If set to `true`, the credentials exist and are valid.
+   * 
+ * + * bool has_valid_creds = 1; + * @return The hasValidCreds. + */ + boolean getHasValidCreds(); +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java similarity index 74% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java index ed6c16401689..030325827102 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to create a data transfer configuration. If new credentials are
  * needed for this transfer configuration, authorization info must be provided.
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest}
  */
-public final class CreateTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTransferConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)
     CreateTransferConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTransferConfigRequest.newBuilder() to construct.
   private CreateTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateTransferConfigRequest() {
     parent_ = "";
     authorizationCode_ = "";
@@ -52,33 +34,29 @@ private CreateTransferConfigRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTransferConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_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_CreateTransferConfigRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class,
-            com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -87,10 +65,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * match - the request will fail.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -99,15 +74,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -116,18 +90,17 @@ public java.lang.String getParent() {
    * match - the request will fail.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -138,16 +111,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TRANSFER_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_; /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferConfig field is set. */ @java.lang.Override @@ -155,50 +123,33 @@ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The transferConfig. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder - getTransferConfigOrBuilder() { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { + return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } public static final int AUTHORIZATION_CODE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object authorizationCode_ = ""; /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -217,7 +168,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi
    * 
* * string authorization_code = 3; - * * @return The authorizationCode. */ @java.lang.Override @@ -226,15 +176,14 @@ public java.lang.String getAuthorizationCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; } } /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -253,15 +202,16 @@ public java.lang.String getAuthorizationCode() {
    * 
* * string authorization_code = 3; - * * @return The bytes for authorizationCode. */ @java.lang.Override - public com.google.protobuf.ByteString getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString + getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -270,12 +220,9 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() { } public static final int VERSION_INFO_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object versionInfo_ = ""; /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -294,7 +241,6 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() {
    * 
* * string version_info = 5; - * * @return The versionInfo. */ @java.lang.Override @@ -303,15 +249,14 @@ public java.lang.String getVersionInfo() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; } } /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -330,15 +275,16 @@ public java.lang.String getVersionInfo() {
    * 
* * string version_info = 5; - * * @return The bytes for versionInfo. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionInfoBytes() { + public com.google.protobuf.ByteString + getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -347,12 +293,9 @@ public com.google.protobuf.ByteString getVersionInfoBytes() { } public static final int SERVICE_ACCOUNT_NAME_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object serviceAccountName_ = ""; /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -366,7 +309,6 @@ public com.google.protobuf.ByteString getVersionInfoBytes() {
    * 
* * string service_account_name = 6; - * * @return The serviceAccountName. */ @java.lang.Override @@ -375,15 +317,14 @@ public java.lang.String getServiceAccountName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; } } /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -397,15 +338,16 @@ public java.lang.String getServiceAccountName() {
    * 
* * string service_account_name = 6; - * * @return The bytes for serviceAccountName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountNameBytes() { + public com.google.protobuf.ByteString + getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -414,7 +356,6 @@ public com.google.protobuf.ByteString getServiceAccountNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -426,7 +367,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -455,7 +397,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransferConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTransferConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizationCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authorizationCode_); @@ -474,22 +417,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other = - (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTransferConfig() != other.hasTransferConfig()) return false; if (hasTransferConfig()) { - if (!getTransferConfig().equals(other.getTransferConfig())) return false; - } - if (!getAuthorizationCode().equals(other.getAuthorizationCode())) return false; - if (!getVersionInfo().equals(other.getVersionInfo())) return false; - if (!getServiceAccountName().equals(other.getServiceAccountName())) return false; + if (!getTransferConfig() + .equals(other.getTransferConfig())) return false; + } + if (!getAuthorizationCode() + .equals(other.getAuthorizationCode())) return false; + if (!getVersionInfo() + .equals(other.getVersionInfo())) return false; + if (!getServiceAccountName() + .equals(other.getServiceAccountName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -519,105 +466,98 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest 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.CreateTransferConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateTransferConfigRequest 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.CreateTransferConfigRequest 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.CreateTransferConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest - 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.CreateTransferConfigRequest 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.CreateTransferConfigRequest - 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.CreateTransferConfigRequest 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.CreateTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.CreateTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to create a data transfer configuration. If new credentials are
    * needed for this transfer configuration, authorization info must be provided.
@@ -629,42 +569,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)
       com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_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_CreateTransferConfigRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class,
-              com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.newBuilder()
+    // Construct using com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getTransferConfigFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -682,16 +619,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest
-          .getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -705,25 +640,22 @@ public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest bui
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result =
-          new com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result) {
+    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.transferConfig_ =
-            transferConfigBuilder_ == null ? transferConfig_ : transferConfigBuilder_.build();
+        result.transferConfig_ = transferConfigBuilder_ == null
+            ? transferConfig_
+            : transferConfigBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
@@ -742,51 +674,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) {
-        return mergeFrom(
-            (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other) {
-      if (other
-          == com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other) {
+      if (other == com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -836,43 +763,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTransferConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                authorizationCode_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 42:
-              {
-                versionInfo_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 42
-            case 50:
-              {
-                serviceAccountName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTransferConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              authorizationCode_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 42: {
+              versionInfo_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 42
+            case 50: {
+              serviceAccountName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -882,13 +805,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -897,16 +817,14 @@ public Builder mergeFrom(
      * match - the request will fail.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -915,8 +833,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -925,17 +841,16 @@ public java.lang.String getParent() {
      * match - the request will fail.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -943,8 +858,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -953,25 +866,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * match - the request will fail.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -980,10 +887,7 @@ public Builder setParent(java.lang.String value) {
      * match - the request will fail.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -993,8 +897,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -1003,17 +905,13 @@ public Builder clearParent() {
      * match - the request will fail.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1023,61 +921,41 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> - transferConfigBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> transferConfigBuilder_; /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferConfig field is set. */ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The transferConfig. */ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { if (transferConfigBuilder_ == null) { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } else { return transferConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder setTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1091,15 +969,11 @@ public Builder setTransferConfig( return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTransferConfig( com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { @@ -1113,23 +987,17 @@ public Builder setTransferConfig( return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder mergeTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && transferConfig_ != null - && transferConfig_ - != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + transferConfig_ != null && + transferConfig_ != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { getTransferConfigBuilder().mergeFrom(value); } else { transferConfig_ = value; @@ -1144,15 +1012,11 @@ public Builder mergeTransferConfig( return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTransferConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1165,66 +1029,48 @@ public Builder clearTransferConfig() { return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder - getTransferConfigBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder getTransferConfigBuilder() { bitField0_ |= 0x00000002; onChanged(); return getTransferConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder - getTransferConfigOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { if (transferConfigBuilder_ != null) { return transferConfigBuilder_.getMessageOrBuilder(); } else { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + return transferConfig_ == null ? + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> getTransferConfigFieldBuilder() { if (transferConfigBuilder_ == null) { - transferConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( - getTransferConfig(), getParentForChildren(), isClean()); + transferConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( + getTransferConfig(), + getParentForChildren(), + isClean()); transferConfig_ = null; } return transferConfigBuilder_; @@ -1232,8 +1078,6 @@ public Builder clearTransferConfig() { private java.lang.Object authorizationCode_ = ""; /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1252,13 +1096,13 @@ public Builder clearTransferConfig() {
      * 
* * string authorization_code = 3; - * * @return The authorizationCode. */ public java.lang.String getAuthorizationCode() { java.lang.Object ref = authorizationCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; @@ -1267,8 +1111,6 @@ public java.lang.String getAuthorizationCode() { } } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1287,14 +1129,15 @@ public java.lang.String getAuthorizationCode() {
      * 
* * string authorization_code = 3; - * * @return The bytes for authorizationCode. */ - public com.google.protobuf.ByteString getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString + getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -1302,8 +1145,6 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() { } } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1322,22 +1163,18 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() {
      * 
* * string authorization_code = 3; - * * @param value The authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAuthorizationCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } authorizationCode_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1356,7 +1193,6 @@ public Builder setAuthorizationCode(java.lang.String value) {
      * 
* * string authorization_code = 3; - * * @return This builder for chaining. */ public Builder clearAuthorizationCode() { @@ -1366,8 +1202,6 @@ public Builder clearAuthorizationCode() { return this; } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1386,14 +1220,12 @@ public Builder clearAuthorizationCode() {
      * 
* * string authorization_code = 3; - * * @param value The bytes for authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAuthorizationCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); authorizationCode_ = value; bitField0_ |= 0x00000004; @@ -1403,8 +1235,6 @@ public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) { private java.lang.Object versionInfo_ = ""; /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1423,13 +1253,13 @@ public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) {
      * 
* * string version_info = 5; - * * @return The versionInfo. */ public java.lang.String getVersionInfo() { java.lang.Object ref = versionInfo_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; @@ -1438,8 +1268,6 @@ public java.lang.String getVersionInfo() { } } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1458,14 +1286,15 @@ public java.lang.String getVersionInfo() {
      * 
* * string version_info = 5; - * * @return The bytes for versionInfo. */ - public com.google.protobuf.ByteString getVersionInfoBytes() { + public com.google.protobuf.ByteString + getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -1473,8 +1302,6 @@ public com.google.protobuf.ByteString getVersionInfoBytes() { } } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1493,22 +1320,18 @@ public com.google.protobuf.ByteString getVersionInfoBytes() {
      * 
* * string version_info = 5; - * * @param value The versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfo(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionInfo( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } versionInfo_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1527,7 +1350,6 @@ public Builder setVersionInfo(java.lang.String value) {
      * 
* * string version_info = 5; - * * @return This builder for chaining. */ public Builder clearVersionInfo() { @@ -1537,8 +1359,6 @@ public Builder clearVersionInfo() { return this; } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1557,14 +1377,12 @@ public Builder clearVersionInfo() {
      * 
* * string version_info = 5; - * * @param value The bytes for versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionInfoBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); versionInfo_ = value; bitField0_ |= 0x00000008; @@ -1574,8 +1392,6 @@ public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccountName_ = ""; /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1589,13 +1405,13 @@ public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) {
      * 
* * string service_account_name = 6; - * * @return The serviceAccountName. */ public java.lang.String getServiceAccountName() { java.lang.Object ref = serviceAccountName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; @@ -1604,8 +1420,6 @@ public java.lang.String getServiceAccountName() { } } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1619,14 +1433,15 @@ public java.lang.String getServiceAccountName() {
      * 
* * string service_account_name = 6; - * * @return The bytes for serviceAccountName. */ - public com.google.protobuf.ByteString getServiceAccountNameBytes() { + public com.google.protobuf.ByteString + getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -1634,8 +1449,6 @@ public com.google.protobuf.ByteString getServiceAccountNameBytes() { } } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1649,22 +1462,18 @@ public com.google.protobuf.ByteString getServiceAccountNameBytes() {
      * 
* * string service_account_name = 6; - * * @param value The serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceAccountName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1678,7 +1487,6 @@ public Builder setServiceAccountName(java.lang.String value) {
      * 
* * string service_account_name = 6; - * * @return This builder for chaining. */ public Builder clearServiceAccountName() { @@ -1688,8 +1496,6 @@ public Builder clearServiceAccountName() { return this; } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1703,23 +1509,21 @@ public Builder clearServiceAccountName() {
      * 
* * string service_account_name = 6; - * * @param value The bytes for serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceAccountNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1729,43 +1533,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1777,8 +1579,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java similarity index 80% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java index 8fd142729881..fbf20676df93 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * 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; -public interface CreateTransferConfigRequestOrBuilder - extends +public interface CreateTransferConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -35,16 +17,11 @@ public interface CreateTransferConfigRequestOrBuilder
    * match - the request will fail.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -53,58 +30,40 @@ public interface CreateTransferConfigRequestOrBuilder
    * match - the request will fail.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferConfig field is set. */ boolean hasTransferConfig(); /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The transferConfig. */ com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig(); /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder(); /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -123,13 +82,10 @@ public interface CreateTransferConfigRequestOrBuilder
    * 
* * string authorization_code = 3; - * * @return The authorizationCode. */ java.lang.String getAuthorizationCode(); /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -148,14 +104,12 @@ public interface CreateTransferConfigRequestOrBuilder
    * 
* * string authorization_code = 3; - * * @return The bytes for authorizationCode. */ - com.google.protobuf.ByteString getAuthorizationCodeBytes(); + com.google.protobuf.ByteString + getAuthorizationCodeBytes(); /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -174,13 +128,10 @@ public interface CreateTransferConfigRequestOrBuilder
    * 
* * string version_info = 5; - * * @return The versionInfo. */ java.lang.String getVersionInfo(); /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -199,14 +150,12 @@ public interface CreateTransferConfigRequestOrBuilder
    * 
* * string version_info = 5; - * * @return The bytes for versionInfo. */ - com.google.protobuf.ByteString getVersionInfoBytes(); + com.google.protobuf.ByteString + getVersionInfoBytes(); /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -220,13 +169,10 @@ public interface CreateTransferConfigRequestOrBuilder
    * 
* * string service_account_name = 6; - * * @return The serviceAccountName. */ java.lang.String getServiceAccountName(); /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -240,8 +186,8 @@ public interface CreateTransferConfigRequestOrBuilder
    * 
* * string service_account_name = 6; - * * @return The bytes for serviceAccountName. */ - com.google.protobuf.ByteString getServiceAccountNameBytes(); + com.google.protobuf.ByteString + getServiceAccountNameBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java similarity index 71% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java index 732d5e16b058..bff5273fb450 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,31 +5,29 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Defines the properties and custom parameters for a data source.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSource} */ -public final class DataSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DataSource) DataSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataSource.newBuilder() to construct. private DataSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataSource() { name_ = ""; dataSourceId_ = ""; displayName_ = ""; description_ = ""; clientId_ = ""; - scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + scopes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); transferType_ = 0; defaultSchedule_ = ""; parameters_ = java.util.Collections.emptyList(); @@ -55,38 +38,34 @@ private DataSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataSource(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_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_DataSource_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSource.class, - com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSource.class, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); } /** - * - * *
    * The type of authorization needed for this data source.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType} */ - public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum { + public enum AuthorizationType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Type unspecified.
      * 
@@ -95,8 +74,6 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum */ AUTHORIZATION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Use OAuth 2 authorization codes that can be exchanged
      * for a refresh token on the backend.
@@ -106,8 +83,6 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum
      */
     AUTHORIZATION_CODE(1),
     /**
-     *
-     *
      * 
      * Return an authorization code for a given Google+ page that can then be
      * exchanged for a refresh token on the backend.
@@ -117,8 +92,6 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum
      */
     GOOGLE_PLUS_AUTHORIZATION_CODE(2),
     /**
-     *
-     *
      * 
      * Use First Party OAuth.
      * 
@@ -130,8 +103,6 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Type unspecified.
      * 
@@ -140,8 +111,6 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int AUTHORIZATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Use OAuth 2 authorization codes that can be exchanged
      * for a refresh token on the backend.
@@ -151,8 +120,6 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int AUTHORIZATION_CODE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Return an authorization code for a given Google+ page that can then be
      * exchanged for a refresh token on the backend.
@@ -162,8 +129,6 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int GOOGLE_PLUS_AUTHORIZATION_CODE_VALUE = 2;
     /**
-     *
-     *
      * 
      * Use First Party OAuth.
      * 
@@ -172,6 +137,7 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int FIRST_PARTY_OAUTH_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -196,16 +162,11 @@ public static AuthorizationType valueOf(int value) { */ public static AuthorizationType forNumber(int value) { switch (value) { - case 0: - return AUTHORIZATION_TYPE_UNSPECIFIED; - case 1: - return AUTHORIZATION_CODE; - case 2: - return GOOGLE_PLUS_AUTHORIZATION_CODE; - case 3: - return FIRST_PARTY_OAUTH; - default: - return null; + case 0: return AUTHORIZATION_TYPE_UNSPECIFIED; + case 1: return AUTHORIZATION_CODE; + case 2: return GOOGLE_PLUS_AUTHORIZATION_CODE; + case 3: return FIRST_PARTY_OAUTH; + default: return null; } } @@ -213,31 +174,29 @@ public static AuthorizationType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + AuthorizationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AuthorizationType findValueByNumber(int number) { + return AuthorizationType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AuthorizationType findValueByNumber(int number) { - return AuthorizationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor().getEnumTypes().get(0); } private static final AuthorizationType[] VALUES = values(); @@ -245,7 +204,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static AuthorizationType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -263,18 +223,15 @@ private AuthorizationType(int value) { } /** - * - * *
    * Represents how the data source supports data auto refresh.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType} */ - public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum { + public enum DataRefreshType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The data source won't support data auto refresh, which is default value.
      * 
@@ -283,8 +240,6 @@ public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum { */ DATA_REFRESH_TYPE_UNSPECIFIED(0), /** - * - * *
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Does not allow custom values to be set for each
@@ -295,8 +250,6 @@ public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum {
      */
     SLIDING_WINDOW(1),
     /**
-     *
-     *
      * 
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Allows custom values to be set for each transfer
@@ -310,8 +263,6 @@ public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The data source won't support data auto refresh, which is default value.
      * 
@@ -320,8 +271,6 @@ public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_REFRESH_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Does not allow custom values to be set for each
@@ -332,8 +281,6 @@ public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SLIDING_WINDOW_VALUE = 1;
     /**
-     *
-     *
      * 
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Allows custom values to be set for each transfer
@@ -344,6 +291,7 @@ public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CUSTOM_SLIDING_WINDOW_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -368,45 +316,40 @@ public static DataRefreshType valueOf(int value) {
      */
     public static DataRefreshType forNumber(int value) {
       switch (value) {
-        case 0:
-          return DATA_REFRESH_TYPE_UNSPECIFIED;
-        case 1:
-          return SLIDING_WINDOW;
-        case 2:
-          return CUSTOM_SLIDING_WINDOW;
-        default:
-          return null;
+        case 0: return DATA_REFRESH_TYPE_UNSPECIFIED;
+        case 1: return SLIDING_WINDOW;
+        case 2: return CUSTOM_SLIDING_WINDOW;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        DataRefreshType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public DataRefreshType findValueByNumber(int number) {
+              return DataRefreshType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public DataRefreshType findValueByNumber(int number) {
-                return DataRefreshType.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor()
-          .getEnumTypes()
-          .get(1);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final DataRefreshType[] VALUES = values();
@@ -414,7 +357,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static DataRefreshType valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -433,18 +377,14 @@ private DataRefreshType(int value) {
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -453,29 +393,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -484,18 +424,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DATA_SOURCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object dataSourceId_ = ""; /** - * - * *
    * Data source id.
    * 
* * string data_source_id = 2; - * * @return The dataSourceId. */ @java.lang.Override @@ -504,29 +440,29 @@ public java.lang.String getDataSourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; } } /** - * - * *
    * Data source id.
    * 
* * string data_source_id = 2; - * * @return The bytes for dataSourceId. */ @java.lang.Override - public com.google.protobuf.ByteString getDataSourceIdBytes() { + public com.google.protobuf.ByteString + getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -535,18 +471,14 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * User friendly data source name.
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -555,29 +487,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * User friendly data source name.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -586,18 +518,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * User friendly data source description string.
    * 
* * string description = 4; - * * @return The description. */ @java.lang.Override @@ -606,29 +534,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * User friendly data source description string.
    * 
* * string description = 4; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -637,18 +565,14 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int CLIENT_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object clientId_ = ""; /** - * - * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; - * * @return The clientId. */ @java.lang.Override @@ -657,29 +581,29 @@ public java.lang.String getClientId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientId_ = s; return s; } } /** - * - * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; - * * @return The bytes for clientId. */ @java.lang.Override - public com.google.protobuf.ByteString getClientIdBytes() { + public com.google.protobuf.ByteString + getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientId_ = b; return b; } else { @@ -688,13 +612,10 @@ public com.google.protobuf.ByteString getClientIdBytes() { } public static final int SCOPES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -702,15 +623,13 @@ public com.google.protobuf.ByteString getClientIdBytes() {
    * 
* * repeated string scopes = 6; - * * @return A list containing the scopes. */ - public com.google.protobuf.ProtocolStringList getScopesList() { + public com.google.protobuf.ProtocolStringList + getScopesList() { return scopes_; } /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -718,15 +637,12 @@ public com.google.protobuf.ProtocolStringList getScopesList() {
    * 
* * repeated string scopes = 6; - * * @return The count of scopes. */ public int getScopesCount() { return scopes_.size(); } /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -734,7 +650,6 @@ public int getScopesCount() {
    * 
* * repeated string scopes = 6; - * * @param index The index of the element to return. * @return The scopes at the given index. */ @@ -742,8 +657,6 @@ public java.lang.String getScopes(int index) { return scopes_.get(index); } /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -751,94 +664,70 @@ public java.lang.String getScopes(int index) {
    * 
* * repeated string scopes = 6; - * * @param index The index of the value to return. * @return The bytes of the scopes at the given index. */ - public com.google.protobuf.ByteString getScopesBytes(int index) { + public com.google.protobuf.ByteString + getScopesBytes(int index) { return scopes_.getByteString(index); } public static final int TRANSFER_TYPE_FIELD_NUMBER = 7; private int transferType_ = 0; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @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.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The enum numeric value on the wire for transferType. */ - @java.lang.Override - @java.lang.Deprecated - public int getTransferTypeValue() { + @java.lang.Override @java.lang.Deprecated public int getTransferTypeValue() { return transferType_; } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @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.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The transferType. */ - @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { - com.google.cloud.bigquery.datatransfer.v1.TransferType result = - com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED - : result; + @java.lang.Override @java.lang.Deprecated public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { + com.google.cloud.bigquery.datatransfer.v1.TransferType result = com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED : result; } public static final int SUPPORTS_MULTIPLE_TRANSFERS_FIELD_NUMBER = 8; private boolean supportsMultipleTransfers_ = false; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * 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 google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return The supportsMultipleTransfers. */ @java.lang.Override - @java.lang.Deprecated - public boolean getSupportsMultipleTransfers() { + @java.lang.Deprecated public boolean getSupportsMultipleTransfers() { return supportsMultipleTransfers_; } public static final int UPDATE_DEADLINE_SECONDS_FIELD_NUMBER = 9; private int updateDeadlineSeconds_ = 0; /** - * - * *
    * The number of seconds to wait for an update from the data source
    * before the Data Transfer Service marks the transfer as FAILED.
    * 
* * int32 update_deadline_seconds = 9; - * * @return The updateDeadlineSeconds. */ @java.lang.Override @@ -847,12 +736,9 @@ public int getUpdateDeadlineSeconds() { } public static final int DEFAULT_SCHEDULE_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object defaultSchedule_ = ""; /** - * - * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -862,7 +748,6 @@ public int getUpdateDeadlineSeconds() {
    * 
* * string default_schedule = 10; - * * @return The defaultSchedule. */ @java.lang.Override @@ -871,15 +756,14 @@ public java.lang.String getDefaultSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSchedule_ = s; return s; } } /** - * - * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -889,15 +773,16 @@ public java.lang.String getDefaultSchedule() {
    * 
* * string default_schedule = 10; - * * @return The bytes for defaultSchedule. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultScheduleBytes() { + public com.google.protobuf.ByteString + getDefaultScheduleBytes() { java.lang.Object ref = defaultSchedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultSchedule_ = b; return b; } else { @@ -908,8 +793,6 @@ public com.google.protobuf.ByteString getDefaultScheduleBytes() { public static final int SUPPORTS_CUSTOM_SCHEDULE_FIELD_NUMBER = 11; private boolean supportsCustomSchedule_ = false; /** - * - * *
    * Specifies whether the data source supports a user defined schedule, or
    * operates on the default schedule.
@@ -917,7 +800,6 @@ public com.google.protobuf.ByteString getDefaultScheduleBytes() {
    * 
* * bool supports_custom_schedule = 11; - * * @return The supportsCustomSchedule. */ @java.lang.Override @@ -926,97 +808,75 @@ public boolean getSupportsCustomSchedule() { } public static final int PARAMETERS_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private java.util.List parameters_; /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ @java.lang.Override - public java.util.List - getParametersList() { + public java.util.List getParametersList() { return parameters_; } /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + public java.util.List getParametersOrBuilderList() { return parameters_; } /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ @java.lang.Override public int getParametersCount() { return parameters_.size(); } /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParameters(int index) { return parameters_.get(index); } /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder - getParametersOrBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParametersOrBuilder( + int index) { return parameters_.get(index); } public static final int HELP_URL_FIELD_NUMBER = 13; - @SuppressWarnings("serial") private volatile java.lang.Object helpUrl_ = ""; /** - * - * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; - * * @return The helpUrl. */ @java.lang.Override @@ -1025,29 +885,29 @@ public java.lang.String getHelpUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpUrl_ = s; return s; } } /** - * - * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; - * * @return The bytes for helpUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getHelpUrlBytes() { + public com.google.protobuf.ByteString + getHelpUrlBytes() { java.lang.Object ref = helpUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); helpUrl_ = b; return b; } else { @@ -1058,51 +918,32 @@ public com.google.protobuf.ByteString getHelpUrlBytes() { public static final int AUTHORIZATION_TYPE_FIELD_NUMBER = 14; private int authorizationType_ = 0; /** - * - * *
    * Indicates the type of authorization.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @return The enum numeric value on the wire for authorizationType. */ - @java.lang.Override - public int getAuthorizationTypeValue() { + @java.lang.Override public int getAuthorizationTypeValue() { return authorizationType_; } /** - * - * *
    * Indicates the type of authorization.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @return The authorizationType. */ - @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType - getAuthorizationType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = - com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber( - authorizationType_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType getAuthorizationType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber(authorizationType_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED : result; } public static final int DATA_REFRESH_TYPE_FIELD_NUMBER = 15; private int dataRefreshType_ = 0; /** - * - * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -1110,18 +951,13 @@ public int getAuthorizationTypeValue() {
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @return The enum numeric value on the wire for dataRefreshType. */ - @java.lang.Override - public int getDataRefreshTypeValue() { + @java.lang.Override public int getDataRefreshTypeValue() { return dataRefreshType_; } /** - * - * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -1129,33 +965,23 @@ public int getDataRefreshTypeValue() {
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @return The dataRefreshType. */ - @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = - com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber( - dataRefreshType_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber(dataRefreshType_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED : result; } public static final int DEFAULT_DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER = 16; private int defaultDataRefreshWindowDays_ = 0; /** - * - * *
    * Default data refresh window on days.
    * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
    * 
* * int32 default_data_refresh_window_days = 16; - * * @return The defaultDataRefreshWindowDays. */ @java.lang.Override @@ -1166,15 +992,12 @@ public int getDefaultDataRefreshWindowDays() { public static final int MANUAL_RUNS_DISABLED_FIELD_NUMBER = 17; private boolean manualRunsDisabled_ = false; /** - * - * *
    * Disables backfilling and manual run scheduling
    * for the data source.
    * 
* * bool manual_runs_disabled = 17; - * * @return The manualRunsDisabled. */ @java.lang.Override @@ -1185,14 +1008,11 @@ public boolean getManualRunsDisabled() { public static final int MINIMUM_SCHEDULE_INTERVAL_FIELD_NUMBER = 18; private com.google.protobuf.Duration minimumScheduleInterval_; /** - * - * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; - * * @return Whether the minimumScheduleInterval field is set. */ @java.lang.Override @@ -1200,25 +1020,18 @@ public boolean hasMinimumScheduleInterval() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; - * * @return The minimumScheduleInterval. */ @java.lang.Override public com.google.protobuf.Duration getMinimumScheduleInterval() { - return minimumScheduleInterval_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minimumScheduleInterval_; + return minimumScheduleInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; } /** - * - * *
    * The minimum interval for scheduler to schedule runs.
    * 
@@ -1227,13 +1040,10 @@ public com.google.protobuf.Duration getMinimumScheduleInterval() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getMinimumScheduleIntervalOrBuilder() { - return minimumScheduleInterval_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minimumScheduleInterval_; + return minimumScheduleInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1245,7 +1055,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -1264,9 +1075,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < scopes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, scopes_.getRaw(i)); } - if (transferType_ - != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED - .getNumber()) { + if (transferType_ != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(7, transferType_); } if (supportsMultipleTransfers_ != false) { @@ -1287,16 +1096,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, helpUrl_); } - if (authorizationType_ - != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType - .AUTHORIZATION_TYPE_UNSPECIFIED - .getNumber()) { + if (authorizationType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(14, authorizationType_); } - if (dataRefreshType_ - != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType - .DATA_REFRESH_TYPE_UNSPECIFIED - .getNumber()) { + if (dataRefreshType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.DATA_REFRESH_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(15, dataRefreshType_); } if (defaultDataRefreshWindowDays_ != 0) { @@ -1340,52 +1143,51 @@ public int getSerializedSize() { size += dataSize; size += 1 * getScopesList().size(); } - if (transferType_ - != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, transferType_); + if (transferType_ != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, transferType_); } if (supportsMultipleTransfers_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, supportsMultipleTransfers_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, supportsMultipleTransfers_); } if (updateDeadlineSeconds_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, updateDeadlineSeconds_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, updateDeadlineSeconds_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSchedule_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, defaultSchedule_); } if (supportsCustomSchedule_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, supportsCustomSchedule_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(11, supportsCustomSchedule_); } for (int i = 0; i < parameters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, parameters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, parameters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, helpUrl_); } - if (authorizationType_ - != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType - .AUTHORIZATION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, authorizationType_); + if (authorizationType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(14, authorizationType_); } - if (dataRefreshType_ - != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType - .DATA_REFRESH_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, dataRefreshType_); + if (dataRefreshType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.DATA_REFRESH_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(15, dataRefreshType_); } if (defaultDataRefreshWindowDays_ != 0) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size(16, defaultDataRefreshWindowDays_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(16, defaultDataRefreshWindowDays_); } if (manualRunsDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(17, manualRunsDisabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(17, manualRunsDisabled_); } if (((bitField0_ & 0x00000001) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 18, getMinimumScheduleInterval()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getMinimumScheduleInterval()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1395,34 +1197,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DataSource)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DataSource other = - (com.google.cloud.bigquery.datatransfer.v1.DataSource) obj; - - if (!getName().equals(other.getName())) return false; - if (!getDataSourceId().equals(other.getDataSourceId())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getClientId().equals(other.getClientId())) return false; - if (!getScopesList().equals(other.getScopesList())) return false; + com.google.cloud.bigquery.datatransfer.v1.DataSource other = (com.google.cloud.bigquery.datatransfer.v1.DataSource) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getDataSourceId() + .equals(other.getDataSourceId())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getClientId() + .equals(other.getClientId())) return false; + if (!getScopesList() + .equals(other.getScopesList())) return false; if (transferType_ != other.transferType_) return false; - if (getSupportsMultipleTransfers() != other.getSupportsMultipleTransfers()) return false; - if (getUpdateDeadlineSeconds() != other.getUpdateDeadlineSeconds()) return false; - if (!getDefaultSchedule().equals(other.getDefaultSchedule())) return false; - if (getSupportsCustomSchedule() != other.getSupportsCustomSchedule()) return false; - if (!getParametersList().equals(other.getParametersList())) return false; - if (!getHelpUrl().equals(other.getHelpUrl())) return false; + if (getSupportsMultipleTransfers() + != other.getSupportsMultipleTransfers()) return false; + if (getUpdateDeadlineSeconds() + != other.getUpdateDeadlineSeconds()) return false; + if (!getDefaultSchedule() + .equals(other.getDefaultSchedule())) return false; + if (getSupportsCustomSchedule() + != other.getSupportsCustomSchedule()) return false; + if (!getParametersList() + .equals(other.getParametersList())) return false; + if (!getHelpUrl() + .equals(other.getHelpUrl())) return false; if (authorizationType_ != other.authorizationType_) return false; if (dataRefreshType_ != other.dataRefreshType_) return false; - if (getDefaultDataRefreshWindowDays() != other.getDefaultDataRefreshWindowDays()) return false; - if (getManualRunsDisabled() != other.getManualRunsDisabled()) return false; + if (getDefaultDataRefreshWindowDays() + != other.getDefaultDataRefreshWindowDays()) return false; + if (getManualRunsDisabled() + != other.getManualRunsDisabled()) return false; if (hasMinimumScheduleInterval() != other.hasMinimumScheduleInterval()) return false; if (hasMinimumScheduleInterval()) { - if (!getMinimumScheduleInterval().equals(other.getMinimumScheduleInterval())) return false; + if (!getMinimumScheduleInterval() + .equals(other.getMinimumScheduleInterval())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1452,13 +1268,15 @@ public int hashCode() { hash = (37 * hash) + TRANSFER_TYPE_FIELD_NUMBER; hash = (53 * hash) + transferType_; hash = (37 * hash) + SUPPORTS_MULTIPLE_TRANSFERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSupportsMultipleTransfers()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSupportsMultipleTransfers()); hash = (37 * hash) + UPDATE_DEADLINE_SECONDS_FIELD_NUMBER; hash = (53 * hash) + getUpdateDeadlineSeconds(); hash = (37 * hash) + DEFAULT_SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getDefaultSchedule().hashCode(); hash = (37 * hash) + SUPPORTS_CUSTOM_SCHEDULE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSupportsCustomSchedule()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSupportsCustomSchedule()); if (getParametersCount() > 0) { hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + getParametersList().hashCode(); @@ -1472,7 +1290,8 @@ public int hashCode() { hash = (37 * hash) + DEFAULT_DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER; hash = (53 * hash) + getDefaultDataRefreshWindowDays(); hash = (37 * hash) + MANUAL_RUNS_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getManualRunsDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getManualRunsDisabled()); if (hasMinimumScheduleInterval()) { hash = (37 * hash) + MINIMUM_SCHEDULE_INTERVAL_FIELD_NUMBER; hash = (53 * hash) + getMinimumScheduleInterval().hashCode(); @@ -1483,126 +1302,119 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSource 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.DataSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSource 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.DataSource 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.DataSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSource 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.DataSource 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.DataSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.DataSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DataSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines the properties and custom parameters for a data source.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DataSource) com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_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_DataSource_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSource.class, - com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSource.class, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.DataSource.newBuilder() @@ -1610,18 +1422,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getParametersFieldBuilder(); getMinimumScheduleIntervalFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1631,7 +1443,8 @@ public Builder clear() { displayName_ = ""; description_ = ""; clientId_ = ""; - scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + scopes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); transferType_ = 0; supportsMultipleTransfers_ = false; updateDeadlineSeconds_ = 0; @@ -1658,9 +1471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; } @java.lang.Override @@ -1679,18 +1492,14 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSource buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.DataSource result = - new com.google.cloud.bigquery.datatransfer.v1.DataSource(this); + com.google.cloud.bigquery.datatransfer.v1.DataSource result = new com.google.cloud.bigquery.datatransfer.v1.DataSource(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.DataSource result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.DataSource result) { if (parametersBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); @@ -1755,10 +1564,9 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSource } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00020000) != 0)) { - result.minimumScheduleInterval_ = - minimumScheduleIntervalBuilder_ == null - ? minimumScheduleInterval_ - : minimumScheduleIntervalBuilder_.build(); + result.minimumScheduleInterval_ = minimumScheduleIntervalBuilder_ == null + ? minimumScheduleInterval_ + : minimumScheduleIntervalBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1768,39 +1576,38 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSource public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DataSource) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSource) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSource)other); } else { super.mergeFrom(other); return this; @@ -1808,8 +1615,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSource other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1880,10 +1686,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSource ot parametersBuilder_ = null; parameters_ = other.parameters_; bitField0_ = (bitField0_ & ~0x00000800); - parametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getParametersFieldBuilder() - : null; + parametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getParametersFieldBuilder() : null; } else { parametersBuilder_.addAllMessages(other.parameters_); } @@ -1935,131 +1740,113 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - dataSourceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - clientId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureScopesIsMutable(); - scopes_.add(s); - break; - } // case 50 - case 56: - { - transferType_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 64: - { - supportsMultipleTransfers_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 72: - { - updateDeadlineSeconds_ = input.readInt32(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 82: - { - defaultSchedule_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 88: - { - supportsCustomSchedule_ = input.readBool(); - bitField0_ |= 0x00000400; - break; - } // case 88 - case 98: - { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), - extensionRegistry); - if (parametersBuilder_ == null) { - ensureParametersIsMutable(); - parameters_.add(m); - } else { - parametersBuilder_.addMessage(m); - } - break; - } // case 98 - case 106: - { - helpUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 112: - { - authorizationType_ = input.readEnum(); - bitField0_ |= 0x00002000; - break; - } // case 112 - case 120: - { - dataRefreshType_ = input.readEnum(); - bitField0_ |= 0x00004000; - break; - } // case 120 - case 128: - { - defaultDataRefreshWindowDays_ = input.readInt32(); - bitField0_ |= 0x00008000; - break; - } // case 128 - case 136: - { - manualRunsDisabled_ = input.readBool(); - bitField0_ |= 0x00010000; - break; - } // case 136 - case 146: - { - input.readMessage( - getMinimumScheduleIntervalFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00020000; - break; - } // case 146 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + dataSourceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + clientId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureScopesIsMutable(); + scopes_.add(s); + break; + } // case 50 + case 56: { + transferType_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + supportsMultipleTransfers_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: { + updateDeadlineSeconds_ = input.readInt32(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 82: { + defaultSchedule_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 88: { + supportsCustomSchedule_ = input.readBool(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 98: { + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), + extensionRegistry); + if (parametersBuilder_ == null) { + ensureParametersIsMutable(); + parameters_.add(m); + } else { + parametersBuilder_.addMessage(m); + } + break; + } // case 98 + case 106: { + helpUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 112: { + authorizationType_ = input.readEnum(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 120: { + dataRefreshType_ = input.readEnum(); + bitField0_ |= 0x00004000; + break; + } // case 120 + case 128: { + defaultDataRefreshWindowDays_ = input.readInt32(); + bitField0_ |= 0x00008000; + break; + } // case 128 + case 136: { + manualRunsDisabled_ = input.readBool(); + bitField0_ |= 0x00010000; + break; + } // case 136 + case 146: { + input.readMessage( + getMinimumScheduleIntervalFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00020000; + break; + } // case 146 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2069,25 +1856,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2096,21 +1880,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2118,35 +1901,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2156,21 +1932,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2180,20 +1952,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataSourceId_ = ""; /** - * - * *
      * Data source id.
      * 
* * string data_source_id = 2; - * * @return The dataSourceId. */ public java.lang.String getDataSourceId() { java.lang.Object ref = dataSourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; @@ -2202,21 +1972,20 @@ public java.lang.String getDataSourceId() { } } /** - * - * *
      * Data source id.
      * 
* * string data_source_id = 2; - * * @return The bytes for dataSourceId. */ - public com.google.protobuf.ByteString getDataSourceIdBytes() { + public com.google.protobuf.ByteString + getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -2224,35 +1993,28 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() { } } /** - * - * *
      * Data source id.
      * 
* * string data_source_id = 2; - * * @param value The dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSourceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataSourceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Data source id.
      * 
* * string data_source_id = 2; - * * @return This builder for chaining. */ public Builder clearDataSourceId() { @@ -2262,21 +2024,17 @@ public Builder clearDataSourceId() { return this; } /** - * - * *
      * Data source id.
      * 
* * string data_source_id = 2; - * * @param value The bytes for dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSourceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataSourceId_ = value; bitField0_ |= 0x00000002; @@ -2286,20 +2044,18 @@ public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * User friendly data source name.
      * 
* * string display_name = 3; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2308,21 +2064,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * User friendly data source name.
      * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2330,35 +2085,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * User friendly data source name.
      * 
* * string display_name = 3; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * User friendly data source name.
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2368,21 +2116,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * User friendly data source name.
      * 
* * string display_name = 3; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -2392,20 +2136,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * User friendly data source description string.
      * 
* * string description = 4; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2414,21 +2156,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * User friendly data source description string.
      * 
* * string description = 4; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2436,35 +2177,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * User friendly data source description string.
      * 
* * string description = 4; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * User friendly data source description string.
      * 
* * string description = 4; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2474,21 +2208,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * User friendly data source description string.
      * 
* * string description = 4; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000008; @@ -2498,20 +2228,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object clientId_ = ""; /** - * - * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; - * * @return The clientId. */ public java.lang.String getClientId() { java.lang.Object ref = clientId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientId_ = s; return s; @@ -2520,21 +2248,20 @@ public java.lang.String getClientId() { } } /** - * - * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; - * * @return The bytes for clientId. */ - public com.google.protobuf.ByteString getClientIdBytes() { + public com.google.protobuf.ByteString + getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientId_ = b; return b; } else { @@ -2542,35 +2269,28 @@ public com.google.protobuf.ByteString getClientIdBytes() { } } /** - * - * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; - * * @param value The clientId to set. * @return This builder for chaining. */ - public Builder setClientId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClientId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clientId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; - * * @return This builder for chaining. */ public Builder clearClientId() { @@ -2580,21 +2300,17 @@ public Builder clearClientId() { return this; } /** - * - * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; - * * @param value The bytes for clientId to set. * @return This builder for chaining. */ - public Builder setClientIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClientIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clientId_ = value; bitField0_ |= 0x00000010; @@ -2604,7 +2320,6 @@ public Builder setClientIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureScopesIsMutable() { if (!scopes_.isModifiable()) { scopes_ = new com.google.protobuf.LazyStringArrayList(scopes_); @@ -2612,8 +2327,6 @@ private void ensureScopesIsMutable() { bitField0_ |= 0x00000020; } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2621,16 +2334,14 @@ private void ensureScopesIsMutable() {
      * 
* * repeated string scopes = 6; - * * @return A list containing the scopes. */ - public com.google.protobuf.ProtocolStringList getScopesList() { + public com.google.protobuf.ProtocolStringList + getScopesList() { scopes_.makeImmutable(); return scopes_; } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2638,15 +2349,12 @@ public com.google.protobuf.ProtocolStringList getScopesList() {
      * 
* * repeated string scopes = 6; - * * @return The count of scopes. */ public int getScopesCount() { return scopes_.size(); } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2654,7 +2362,6 @@ public int getScopesCount() {
      * 
* * repeated string scopes = 6; - * * @param index The index of the element to return. * @return The scopes at the given index. */ @@ -2662,8 +2369,6 @@ public java.lang.String getScopes(int index) { return scopes_.get(index); } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2671,16 +2376,14 @@ public java.lang.String getScopes(int index) {
      * 
* * repeated string scopes = 6; - * * @param index The index of the value to return. * @return The bytes of the scopes at the given index. */ - public com.google.protobuf.ByteString getScopesBytes(int index) { + public com.google.protobuf.ByteString + getScopesBytes(int index) { return scopes_.getByteString(index); } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2688,15 +2391,13 @@ public com.google.protobuf.ByteString getScopesBytes(int index) {
      * 
* * repeated string scopes = 6; - * * @param index The index to set the value at. * @param value The scopes to set. * @return This builder for chaining. */ - public Builder setScopes(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScopes( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureScopesIsMutable(); scopes_.set(index, value); bitField0_ |= 0x00000020; @@ -2704,8 +2405,6 @@ public Builder setScopes(int index, java.lang.String value) { return this; } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2713,14 +2412,12 @@ public Builder setScopes(int index, java.lang.String value) {
      * 
* * repeated string scopes = 6; - * * @param value The scopes to add. * @return This builder for chaining. */ - public Builder addScopes(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addScopes( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureScopesIsMutable(); scopes_.add(value); bitField0_ |= 0x00000020; @@ -2728,8 +2425,6 @@ public Builder addScopes(java.lang.String value) { return this; } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2737,20 +2432,19 @@ public Builder addScopes(java.lang.String value) {
      * 
* * repeated string scopes = 6; - * * @param values The scopes to add. * @return This builder for chaining. */ - public Builder addAllScopes(java.lang.Iterable values) { + public Builder addAllScopes( + java.lang.Iterable values) { ensureScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, scopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, scopes_); bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2758,19 +2452,16 @@ public Builder addAllScopes(java.lang.Iterable values) {
      * 
* * repeated string scopes = 6; - * * @return This builder for chaining. */ public Builder clearScopes() { - scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - ; + scopes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020);; onChanged(); return this; } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2778,14 +2469,12 @@ public Builder clearScopes() {
      * 
* * repeated string scopes = 6; - * * @param value The bytes of the scopes to add. * @return This builder for chaining. */ - public Builder addScopesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addScopesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureScopesIsMutable(); scopes_.add(value); @@ -2796,90 +2485,62 @@ public Builder addScopesBytes(com.google.protobuf.ByteString value) { private int transferType_ = 0; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @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.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The enum numeric value on the wire for transferType. */ - @java.lang.Override - @java.lang.Deprecated - public int getTransferTypeValue() { + @java.lang.Override @java.lang.Deprecated public int getTransferTypeValue() { return transferType_; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @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.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See 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. */ - @java.lang.Deprecated - public Builder setTransferTypeValue(int value) { + @java.lang.Deprecated public Builder setTransferTypeValue(int value) { transferType_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @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.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The transferType. */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { - com.google.cloud.bigquery.datatransfer.v1.TransferType result = - com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED - : result; + @java.lang.Deprecated public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { + com.google.cloud.bigquery.datatransfer.v1.TransferType result = com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED : result; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @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.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @param value The transferType to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setTransferType(com.google.cloud.bigquery.datatransfer.v1.TransferType value) { + @java.lang.Deprecated public Builder setTransferType(com.google.cloud.bigquery.datatransfer.v1.TransferType value) { if (value == null) { throw new NullPointerException(); } @@ -2889,63 +2550,49 @@ public Builder setTransferType(com.google.cloud.bigquery.datatransfer.v1.Transfe return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @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.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearTransferType() { + @java.lang.Deprecated public Builder clearTransferType() { bitField0_ = (bitField0_ & ~0x00000040); transferType_ = 0; onChanged(); return this; } - private boolean supportsMultipleTransfers_; + private boolean supportsMultipleTransfers_ ; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * 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 google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return The supportsMultipleTransfers. */ @java.lang.Override - @java.lang.Deprecated - public boolean getSupportsMultipleTransfers() { + @java.lang.Deprecated public boolean getSupportsMultipleTransfers() { return supportsMultipleTransfers_; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * 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 google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @param value The supportsMultipleTransfers to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setSupportsMultipleTransfers(boolean value) { + @java.lang.Deprecated public Builder setSupportsMultipleTransfers(boolean value) { supportsMultipleTransfers_ = value; bitField0_ |= 0x00000080; @@ -2953,37 +2600,30 @@ public Builder setSupportsMultipleTransfers(boolean value) { return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * 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 google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearSupportsMultipleTransfers() { + @java.lang.Deprecated public Builder clearSupportsMultipleTransfers() { bitField0_ = (bitField0_ & ~0x00000080); supportsMultipleTransfers_ = false; onChanged(); return this; } - private int updateDeadlineSeconds_; + private int updateDeadlineSeconds_ ; /** - * - * *
      * The number of seconds to wait for an update from the data source
      * before the Data Transfer Service marks the transfer as FAILED.
      * 
* * int32 update_deadline_seconds = 9; - * * @return The updateDeadlineSeconds. */ @java.lang.Override @@ -2991,15 +2631,12 @@ public int getUpdateDeadlineSeconds() { return updateDeadlineSeconds_; } /** - * - * *
      * The number of seconds to wait for an update from the data source
      * before the Data Transfer Service marks the transfer as FAILED.
      * 
* * int32 update_deadline_seconds = 9; - * * @param value The updateDeadlineSeconds to set. * @return This builder for chaining. */ @@ -3011,15 +2648,12 @@ public Builder setUpdateDeadlineSeconds(int value) { return this; } /** - * - * *
      * The number of seconds to wait for an update from the data source
      * before the Data Transfer Service marks the transfer as FAILED.
      * 
* * int32 update_deadline_seconds = 9; - * * @return This builder for chaining. */ public Builder clearUpdateDeadlineSeconds() { @@ -3031,8 +2665,6 @@ public Builder clearUpdateDeadlineSeconds() { private java.lang.Object defaultSchedule_ = ""; /** - * - * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -3042,13 +2674,13 @@ public Builder clearUpdateDeadlineSeconds() {
      * 
* * string default_schedule = 10; - * * @return The defaultSchedule. */ public java.lang.String getDefaultSchedule() { java.lang.Object ref = defaultSchedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSchedule_ = s; return s; @@ -3057,8 +2689,6 @@ public java.lang.String getDefaultSchedule() { } } /** - * - * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -3068,14 +2698,15 @@ public java.lang.String getDefaultSchedule() {
      * 
* * string default_schedule = 10; - * * @return The bytes for defaultSchedule. */ - public com.google.protobuf.ByteString getDefaultScheduleBytes() { + public com.google.protobuf.ByteString + getDefaultScheduleBytes() { java.lang.Object ref = defaultSchedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultSchedule_ = b; return b; } else { @@ -3083,8 +2714,6 @@ public com.google.protobuf.ByteString getDefaultScheduleBytes() { } } /** - * - * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -3094,22 +2723,18 @@ public com.google.protobuf.ByteString getDefaultScheduleBytes() {
      * 
* * string default_schedule = 10; - * * @param value The defaultSchedule to set. * @return This builder for chaining. */ - public Builder setDefaultSchedule(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultSchedule( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } defaultSchedule_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -3119,7 +2744,6 @@ public Builder setDefaultSchedule(java.lang.String value) {
      * 
* * string default_schedule = 10; - * * @return This builder for chaining. */ public Builder clearDefaultSchedule() { @@ -3129,8 +2753,6 @@ public Builder clearDefaultSchedule() { return this; } /** - * - * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -3140,14 +2762,12 @@ public Builder clearDefaultSchedule() {
      * 
* * string default_schedule = 10; - * * @param value The bytes for defaultSchedule to set. * @return This builder for chaining. */ - public Builder setDefaultScheduleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultScheduleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultSchedule_ = value; bitField0_ |= 0x00000200; @@ -3155,10 +2775,8 @@ public Builder setDefaultScheduleBytes(com.google.protobuf.ByteString value) { return this; } - private boolean supportsCustomSchedule_; + private boolean supportsCustomSchedule_ ; /** - * - * *
      * Specifies whether the data source supports a user defined schedule, or
      * operates on the default schedule.
@@ -3166,7 +2784,6 @@ public Builder setDefaultScheduleBytes(com.google.protobuf.ByteString value) {
      * 
* * bool supports_custom_schedule = 11; - * * @return The supportsCustomSchedule. */ @java.lang.Override @@ -3174,8 +2791,6 @@ public boolean getSupportsCustomSchedule() { return supportsCustomSchedule_; } /** - * - * *
      * Specifies whether the data source supports a user defined schedule, or
      * operates on the default schedule.
@@ -3183,7 +2798,6 @@ public boolean getSupportsCustomSchedule() {
      * 
* * bool supports_custom_schedule = 11; - * * @param value The supportsCustomSchedule to set. * @return This builder for chaining. */ @@ -3195,8 +2809,6 @@ public Builder setSupportsCustomSchedule(boolean value) { return this; } /** - * - * *
      * Specifies whether the data source supports a user defined schedule, or
      * operates on the default schedule.
@@ -3204,7 +2816,6 @@ public Builder setSupportsCustomSchedule(boolean value) {
      * 
* * bool supports_custom_schedule = 11; - * * @return This builder for chaining. */ public Builder clearSupportsCustomSchedule() { @@ -3214,36 +2825,26 @@ public Builder clearSupportsCustomSchedule() { return this; } - private java.util.List - parameters_ = java.util.Collections.emptyList(); - + private java.util.List parameters_ = + java.util.Collections.emptyList(); private void ensureParametersIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { - parameters_ = - new java.util.ArrayList( - parameters_); + parameters_ = new java.util.ArrayList(parameters_); bitField0_ |= 0x00000800; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> - parametersBuilder_; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> parametersBuilder_; /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public java.util.List - getParametersList() { + public java.util.List getParametersList() { if (parametersBuilder_ == null) { return java.util.Collections.unmodifiableList(parameters_); } else { @@ -3251,14 +2852,11 @@ private void ensureParametersIsMutable() { } } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public int getParametersCount() { if (parametersBuilder_ == null) { @@ -3268,14 +2866,11 @@ public int getParametersCount() { } } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParameters(int index) { if (parametersBuilder_ == null) { @@ -3285,14 +2880,11 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParamete } } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder setParameters( int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { @@ -3309,18 +2901,14 @@ public Builder setParameters( return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder setParameters( - int index, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.set(index, builderForValue.build()); @@ -3331,17 +2919,13 @@ public Builder setParameters( return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public Builder addParameters( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { + public Builder addParameters(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { if (parametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3355,14 +2939,11 @@ public Builder addParameters( return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder addParameters( int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { @@ -3379,14 +2960,11 @@ public Builder addParameters( return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder addParameters( com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { @@ -3400,18 +2978,14 @@ public Builder addParameters( return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder addParameters( - int index, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.add(index, builderForValue.build()); @@ -3422,21 +2996,18 @@ public Builder addParameters( return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder addAllParameters( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, parameters_); onChanged(); } else { parametersBuilder_.addAllMessages(values); @@ -3444,14 +3015,11 @@ public Builder addAllParameters( return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder clearParameters() { if (parametersBuilder_ == null) { @@ -3464,14 +3032,11 @@ public Builder clearParameters() { return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder removeParameters(int index) { if (parametersBuilder_ == null) { @@ -3484,50 +3049,39 @@ public Builder removeParameters(int index) { return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder - getParametersBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder getParametersBuilder( + int index) { return getParametersFieldBuilder().getBuilder(index); } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder - getParametersOrBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParametersOrBuilder( + int index) { if (parametersBuilder_ == null) { - return parameters_.get(index); - } else { + return parameters_.get(index); } else { return parametersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public java.util.List< - ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> - getParametersOrBuilderList() { + public java.util.List + getParametersOrBuilderList() { if (parametersBuilder_ != null) { return parametersBuilder_.getMessageOrBuilderList(); } else { @@ -3535,65 +3089,49 @@ public Builder removeParameters(int index) { } } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder - addParametersBuilder() { - return getParametersFieldBuilder() - .addBuilder( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addParametersBuilder() { + return getParametersFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder - addParametersBuilder(int index) { - return getParametersFieldBuilder() - .addBuilder( - index, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addParametersBuilder( + int index) { + return getParametersFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public java.util.List - getParametersBuilderList() { + public java.util.List + getParametersBuilderList() { return getParametersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> getParametersFieldBuilder() { if (parametersBuilder_ == null) { - parametersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( - parameters_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); + parametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( + parameters_, + ((bitField0_ & 0x00000800) != 0), + getParentForChildren(), + isClean()); parameters_ = null; } return parametersBuilder_; @@ -3601,20 +3139,18 @@ public Builder removeParameters(int index) { private java.lang.Object helpUrl_ = ""; /** - * - * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; - * * @return The helpUrl. */ public java.lang.String getHelpUrl() { java.lang.Object ref = helpUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpUrl_ = s; return s; @@ -3623,21 +3159,20 @@ public java.lang.String getHelpUrl() { } } /** - * - * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; - * * @return The bytes for helpUrl. */ - public com.google.protobuf.ByteString getHelpUrlBytes() { + public com.google.protobuf.ByteString + getHelpUrlBytes() { java.lang.Object ref = helpUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); helpUrl_ = b; return b; } else { @@ -3645,35 +3180,28 @@ public com.google.protobuf.ByteString getHelpUrlBytes() { } } /** - * - * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; - * * @param value The helpUrl to set. * @return This builder for chaining. */ - public Builder setHelpUrl(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHelpUrl( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } helpUrl_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** - * - * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; - * * @return This builder for chaining. */ public Builder clearHelpUrl() { @@ -3683,21 +3211,17 @@ public Builder clearHelpUrl() { return this; } /** - * - * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; - * * @param value The bytes for helpUrl to set. * @return This builder for chaining. */ - public Builder setHelpUrlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHelpUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); helpUrl_ = value; bitField0_ |= 0x00001000; @@ -3707,33 +3231,22 @@ public Builder setHelpUrlBytes(com.google.protobuf.ByteString value) { private int authorizationType_ = 0; /** - * - * *
      * Indicates the type of authorization.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @return The enum numeric value on the wire for authorizationType. */ - @java.lang.Override - public int getAuthorizationTypeValue() { + @java.lang.Override public int getAuthorizationTypeValue() { return authorizationType_; } /** - * - * *
      * Indicates the type of authorization.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @param value The enum numeric value on the wire for authorizationType to set. * @return This builder for chaining. */ @@ -3744,44 +3257,28 @@ public Builder setAuthorizationTypeValue(int value) { return this; } /** - * - * *
      * Indicates the type of authorization.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @return The authorizationType. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType - getAuthorizationType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = - com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber( - authorizationType_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED - : result; + public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType getAuthorizationType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber(authorizationType_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED : result; } /** - * - * *
      * Indicates the type of authorization.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @param value The authorizationType to set. * @return This builder for chaining. */ - public Builder setAuthorizationType( - com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType value) { + public Builder setAuthorizationType(com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType value) { if (value == null) { throw new NullPointerException(); } @@ -3791,16 +3288,11 @@ public Builder setAuthorizationType( return this; } /** - * - * *
      * Indicates the type of authorization.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @return This builder for chaining. */ public Builder clearAuthorizationType() { @@ -3812,8 +3304,6 @@ public Builder clearAuthorizationType() { private int dataRefreshType_ = 0; /** - * - * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3821,19 +3311,13 @@ public Builder clearAuthorizationType() {
      * so it's useful to refresh data automatically.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @return The enum numeric value on the wire for dataRefreshType. */ - @java.lang.Override - public int getDataRefreshTypeValue() { + @java.lang.Override public int getDataRefreshTypeValue() { return dataRefreshType_; } /** - * - * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3841,10 +3325,7 @@ public int getDataRefreshTypeValue() {
      * so it's useful to refresh data automatically.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @param value The enum numeric value on the wire for dataRefreshType to set. * @return This builder for chaining. */ @@ -3855,8 +3336,6 @@ public Builder setDataRefreshTypeValue(int value) { return this; } /** - * - * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3864,25 +3343,15 @@ public Builder setDataRefreshTypeValue(int value) {
      * so it's useful to refresh data automatically.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @return The dataRefreshType. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType - getDataRefreshType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = - com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber( - dataRefreshType_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED - : result; + public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber(dataRefreshType_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED : result; } /** - * - * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3890,15 +3359,11 @@ public Builder setDataRefreshTypeValue(int value) {
      * so it's useful to refresh data automatically.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @param value The dataRefreshType to set. * @return This builder for chaining. */ - public Builder setDataRefreshType( - com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType value) { + public Builder setDataRefreshType(com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType value) { if (value == null) { throw new NullPointerException(); } @@ -3908,8 +3373,6 @@ public Builder setDataRefreshType( return this; } /** - * - * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3917,10 +3380,7 @@ public Builder setDataRefreshType(
      * so it's useful to refresh data automatically.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @return This builder for chaining. */ public Builder clearDataRefreshType() { @@ -3930,17 +3390,14 @@ public Builder clearDataRefreshType() { return this; } - private int defaultDataRefreshWindowDays_; + private int defaultDataRefreshWindowDays_ ; /** - * - * *
      * Default data refresh window on days.
      * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
      * 
* * int32 default_data_refresh_window_days = 16; - * * @return The defaultDataRefreshWindowDays. */ @java.lang.Override @@ -3948,15 +3405,12 @@ public int getDefaultDataRefreshWindowDays() { return defaultDataRefreshWindowDays_; } /** - * - * *
      * Default data refresh window on days.
      * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
      * 
* * int32 default_data_refresh_window_days = 16; - * * @param value The defaultDataRefreshWindowDays to set. * @return This builder for chaining. */ @@ -3968,15 +3422,12 @@ public Builder setDefaultDataRefreshWindowDays(int value) { return this; } /** - * - * *
      * Default data refresh window on days.
      * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
      * 
* * int32 default_data_refresh_window_days = 16; - * * @return This builder for chaining. */ public Builder clearDefaultDataRefreshWindowDays() { @@ -3986,17 +3437,14 @@ public Builder clearDefaultDataRefreshWindowDays() { return this; } - private boolean manualRunsDisabled_; + private boolean manualRunsDisabled_ ; /** - * - * *
      * Disables backfilling and manual run scheduling
      * for the data source.
      * 
* * bool manual_runs_disabled = 17; - * * @return The manualRunsDisabled. */ @java.lang.Override @@ -4004,15 +3452,12 @@ public boolean getManualRunsDisabled() { return manualRunsDisabled_; } /** - * - * *
      * Disables backfilling and manual run scheduling
      * for the data source.
      * 
* * bool manual_runs_disabled = 17; - * * @param value The manualRunsDisabled to set. * @return This builder for chaining. */ @@ -4024,15 +3469,12 @@ public Builder setManualRunsDisabled(boolean value) { return this; } /** - * - * *
      * Disables backfilling and manual run scheduling
      * for the data source.
      * 
* * bool manual_runs_disabled = 17; - * * @return This builder for chaining. */ public Builder clearManualRunsDisabled() { @@ -4044,47 +3486,34 @@ public Builder clearManualRunsDisabled() { private com.google.protobuf.Duration minimumScheduleInterval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - minimumScheduleIntervalBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minimumScheduleIntervalBuilder_; /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; - * * @return Whether the minimumScheduleInterval field is set. */ public boolean hasMinimumScheduleInterval() { return ((bitField0_ & 0x00020000) != 0); } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; - * * @return The minimumScheduleInterval. */ public com.google.protobuf.Duration getMinimumScheduleInterval() { if (minimumScheduleIntervalBuilder_ == null) { - return minimumScheduleInterval_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minimumScheduleInterval_; + return minimumScheduleInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; } else { return minimumScheduleIntervalBuilder_.getMessage(); } } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -4105,8 +3534,6 @@ public Builder setMinimumScheduleInterval(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -4125,8 +3552,6 @@ public Builder setMinimumScheduleInterval( return this; } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -4135,9 +3560,9 @@ public Builder setMinimumScheduleInterval( */ public Builder mergeMinimumScheduleInterval(com.google.protobuf.Duration value) { if (minimumScheduleIntervalBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) - && minimumScheduleInterval_ != null - && minimumScheduleInterval_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) && + minimumScheduleInterval_ != null && + minimumScheduleInterval_ != com.google.protobuf.Duration.getDefaultInstance()) { getMinimumScheduleIntervalBuilder().mergeFrom(value); } else { minimumScheduleInterval_ = value; @@ -4152,8 +3577,6 @@ public Builder mergeMinimumScheduleInterval(com.google.protobuf.Duration value) return this; } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -4171,8 +3594,6 @@ public Builder clearMinimumScheduleInterval() { return this; } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -4185,8 +3606,6 @@ public com.google.protobuf.Duration.Builder getMinimumScheduleIntervalBuilder() return getMinimumScheduleIntervalFieldBuilder().getBuilder(); } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -4197,14 +3616,11 @@ public com.google.protobuf.DurationOrBuilder getMinimumScheduleIntervalOrBuilder if (minimumScheduleIntervalBuilder_ != null) { return minimumScheduleIntervalBuilder_.getMessageOrBuilder(); } else { - return minimumScheduleInterval_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minimumScheduleInterval_; + return minimumScheduleInterval_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; } } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -4212,24 +3628,21 @@ public com.google.protobuf.DurationOrBuilder getMinimumScheduleIntervalOrBuilder * .google.protobuf.Duration minimum_schedule_interval = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getMinimumScheduleIntervalFieldBuilder() { if (minimumScheduleIntervalBuilder_ == null) { - minimumScheduleIntervalBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getMinimumScheduleInterval(), getParentForChildren(), isClean()); + minimumScheduleIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getMinimumScheduleInterval(), + getParentForChildren(), + isClean()); minimumScheduleInterval_ = null; } return minimumScheduleIntervalBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4239,12 +3652,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DataSource) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DataSource) private static final com.google.cloud.bigquery.datatransfer.v1.DataSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DataSource(); } @@ -4253,27 +3666,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.DataSource getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4288,4 +3701,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.DataSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java new file mode 100644 index 000000000000..0e847bec9c43 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java @@ -0,0 +1,313 @@ +/* + * Copyright 2023 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; + +import com.google.api.core.BetaApi; +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.pathtemplate.ValidationException; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class DataSourceName implements ResourceName { + private static final PathTemplate PROJECT_DATA_SOURCE = + PathTemplate.createWithoutUrlEncoding("projects/{project}/dataSources/{data_source}"); + private static final PathTemplate PROJECT_LOCATION_DATA_SOURCE = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/dataSources/{data_source}"); + private volatile Map fieldValuesMap; + private PathTemplate pathTemplate; + private String fixedValue; + private final String project; + private final String dataSource; + private final String location; + + @Deprecated + protected DataSourceName() { + project = null; + dataSource = null; + location = null; + } + + private DataSourceName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + dataSource = Preconditions.checkNotNull(builder.getDataSource()); + location = null; + pathTemplate = PROJECT_DATA_SOURCE; + } + + private DataSourceName(ProjectLocationDataSourceBuilder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + dataSource = Preconditions.checkNotNull(builder.getDataSource()); + pathTemplate = PROJECT_LOCATION_DATA_SOURCE; + } + + public String getProject() { + return project; + } + + public String getDataSource() { + return dataSource; + } + + public String getLocation() { + return location; + } + + public static Builder newBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static Builder newProjectDataSourceBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static ProjectLocationDataSourceBuilder newProjectLocationDataSourceBuilder() { + return new ProjectLocationDataSourceBuilder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static DataSourceName of(String project, String dataSource) { + return newBuilder().setProject(project).setDataSource(dataSource).build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static DataSourceName ofProjectDataSourceName(String project, String dataSource) { + return newBuilder().setProject(project).setDataSource(dataSource).build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static DataSourceName ofProjectLocationDataSourceName( + String project, String location, String dataSource) { + return newProjectLocationDataSourceBuilder() + .setProject(project) + .setLocation(location) + .setDataSource(dataSource) + .build(); + } + + public static String format(String project, String dataSource) { + return newBuilder().setProject(project).setDataSource(dataSource).build().toString(); + } + + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectDataSourceName(String project, String dataSource) { + return newBuilder().setProject(project).setDataSource(dataSource).build().toString(); + } + + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectLocationDataSourceName( + String project, String location, String dataSource) { + return newProjectLocationDataSourceBuilder() + .setProject(project) + .setLocation(location) + .setDataSource(dataSource) + .build() + .toString(); + } + + public static DataSourceName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + if (PROJECT_DATA_SOURCE.matches(formattedString)) { + Map matchMap = PROJECT_DATA_SOURCE.match(formattedString); + return ofProjectDataSourceName(matchMap.get("project"), matchMap.get("data_source")); + } else if (PROJECT_LOCATION_DATA_SOURCE.matches(formattedString)) { + Map matchMap = PROJECT_LOCATION_DATA_SOURCE.match(formattedString); + return ofProjectLocationDataSourceName( + matchMap.get("project"), matchMap.get("location"), matchMap.get("data_source")); + } + throw new ValidationException("DataSourceName.parse: formattedString not in valid format"); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (DataSourceName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_DATA_SOURCE.matches(formattedString) + || PROJECT_LOCATION_DATA_SOURCE.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (dataSource != null) { + fieldMapBuilder.put("data_source", dataSource); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return fixedValue != null ? fixedValue : pathTemplate.instantiate(getFieldValuesMap()); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + DataSourceName that = ((DataSourceName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.dataSource, that.dataSource) + && Objects.equals(this.location, that.location); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(fixedValue); + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(dataSource); + h *= 1000003; + h ^= Objects.hashCode(location); + return h; + } + + /** Builder for projects/{project}/dataSources/{data_source}. */ + public static class Builder { + private String project; + private String dataSource; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getDataSource() { + return dataSource; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setDataSource(String dataSource) { + this.dataSource = dataSource; + return this; + } + + private Builder(DataSourceName dataSourceName) { + Preconditions.checkArgument( + Objects.equals(dataSourceName.pathTemplate, PROJECT_DATA_SOURCE), + "toBuilder is only supported when DataSourceName has the pattern of projects/{project}/dataSources/{data_source}"); + this.project = dataSourceName.project; + this.dataSource = dataSourceName.dataSource; + } + + public DataSourceName build() { + return new DataSourceName(this); + } + } + + /** Builder for projects/{project}/locations/{location}/dataSources/{data_source}. */ + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static class ProjectLocationDataSourceBuilder { + private String project; + private String location; + private String dataSource; + + protected ProjectLocationDataSourceBuilder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getDataSource() { + return dataSource; + } + + public ProjectLocationDataSourceBuilder setProject(String project) { + this.project = project; + return this; + } + + public ProjectLocationDataSourceBuilder setLocation(String location) { + this.location = location; + return this; + } + + public ProjectLocationDataSourceBuilder setDataSource(String dataSource) { + this.dataSource = dataSource; + return this; + } + + public DataSourceName build() { + return new DataSourceName(this); + } + } +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java similarity index 76% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java index 55f2bc62c597..9f30d204202a 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java @@ -1,157 +1,114 @@ -/* - * 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; -public interface DataSourceOrBuilder - extends +public interface DataSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DataSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Data source id.
    * 
* * string data_source_id = 2; - * * @return The dataSourceId. */ java.lang.String getDataSourceId(); /** - * - * *
    * Data source id.
    * 
* * string data_source_id = 2; - * * @return The bytes for dataSourceId. */ - com.google.protobuf.ByteString getDataSourceIdBytes(); + com.google.protobuf.ByteString + getDataSourceIdBytes(); /** - * - * *
    * User friendly data source name.
    * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * User friendly data source name.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * User friendly data source description string.
    * 
* * string description = 4; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * User friendly data source description string.
    * 
* * string description = 4; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; - * * @return The clientId. */ java.lang.String getClientId(); /** - * - * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; - * * @return The bytes for clientId. */ - com.google.protobuf.ByteString getClientIdBytes(); + com.google.protobuf.ByteString + getClientIdBytes(); /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -159,13 +116,11 @@ public interface DataSourceOrBuilder
    * 
* * repeated string scopes = 6; - * * @return A list containing the scopes. */ - java.util.List getScopesList(); + java.util.List + getScopesList(); /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -173,13 +128,10 @@ public interface DataSourceOrBuilder
    * 
* * repeated string scopes = 6; - * * @return The count of scopes. */ int getScopesCount(); /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -187,14 +139,11 @@ public interface DataSourceOrBuilder
    * 
* * repeated string scopes = 6; - * * @param index The index of the element to return. * @return The scopes at the given index. */ java.lang.String getScopes(int index); /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -202,80 +151,59 @@ public interface DataSourceOrBuilder
    * 
* * repeated string scopes = 6; - * * @param index The index of the value to return. * @return The bytes of the scopes at the given index. */ - com.google.protobuf.ByteString getScopesBytes(int index); + com.google.protobuf.ByteString + getScopesBytes(int index); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @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.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The enum numeric value on the wire for transferType. */ - @java.lang.Deprecated - int getTransferTypeValue(); + @java.lang.Deprecated int getTransferTypeValue(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @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.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The transferType. */ - @java.lang.Deprecated - com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType(); + @java.lang.Deprecated com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * 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 google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return The supportsMultipleTransfers. */ - @java.lang.Deprecated - boolean getSupportsMultipleTransfers(); + @java.lang.Deprecated boolean getSupportsMultipleTransfers(); /** - * - * *
    * The number of seconds to wait for an update from the data source
    * before the Data Transfer Service marks the transfer as FAILED.
    * 
* * int32 update_deadline_seconds = 9; - * * @return The updateDeadlineSeconds. */ int getUpdateDeadlineSeconds(); /** - * - * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -285,13 +213,10 @@ public interface DataSourceOrBuilder
    * 
* * string default_schedule = 10; - * * @return The defaultSchedule. */ java.lang.String getDefaultSchedule(); /** - * - * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -301,14 +226,12 @@ public interface DataSourceOrBuilder
    * 
* * string default_schedule = 10; - * * @return The bytes for defaultSchedule. */ - com.google.protobuf.ByteString getDefaultScheduleBytes(); + com.google.protobuf.ByteString + getDefaultScheduleBytes(); /** - * - * *
    * Specifies whether the data source supports a user defined schedule, or
    * operates on the default schedule.
@@ -316,126 +239,94 @@ public interface DataSourceOrBuilder
    * 
* * bool supports_custom_schedule = 11; - * * @return The supportsCustomSchedule. */ boolean getSupportsCustomSchedule(); /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - java.util.List getParametersList(); + java.util.List + getParametersList(); /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParameters(int index); /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ int getParametersCount(); /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - java.util.List + java.util.List getParametersOrBuilderList(); /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParametersOrBuilder( int index); /** - * - * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; - * * @return The helpUrl. */ java.lang.String getHelpUrl(); /** - * - * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; - * * @return The bytes for helpUrl. */ - com.google.protobuf.ByteString getHelpUrlBytes(); + com.google.protobuf.ByteString + getHelpUrlBytes(); /** - * - * *
    * Indicates the type of authorization.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @return The enum numeric value on the wire for authorizationType. */ int getAuthorizationTypeValue(); /** - * - * *
    * Indicates the type of authorization.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @return The authorizationType. */ com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType getAuthorizationType(); /** - * - * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -443,15 +334,11 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @return The enum numeric value on the wire for dataRefreshType. */ int getDataRefreshTypeValue(); /** - * - * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -459,68 +346,52 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @return The dataRefreshType. */ com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType(); /** - * - * *
    * Default data refresh window on days.
    * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
    * 
* * int32 default_data_refresh_window_days = 16; - * * @return The defaultDataRefreshWindowDays. */ int getDefaultDataRefreshWindowDays(); /** - * - * *
    * Disables backfilling and manual run scheduling
    * for the data source.
    * 
* * bool manual_runs_disabled = 17; - * * @return The manualRunsDisabled. */ boolean getManualRunsDisabled(); /** - * - * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; - * * @return Whether the minimumScheduleInterval field is set. */ boolean hasMinimumScheduleInterval(); /** - * - * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; - * * @return The minimumScheduleInterval. */ com.google.protobuf.Duration getMinimumScheduleInterval(); /** - * - * *
    * The minimum interval for scheduler to schedule runs.
    * 
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java similarity index 74% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java index d839d6167d5f..5fd2880bc313 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,31 +5,29 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A parameter used to define custom fields in a data source definition.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSourceParameter} */ -public final class DataSourceParameter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataSourceParameter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) DataSourceParameterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataSourceParameter.newBuilder() to construct. private DataSourceParameter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataSourceParameter() { paramId_ = ""; displayName_ = ""; description_ = ""; type_ = 0; validationRegex_ = ""; - allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = + com.google.protobuf.LazyStringArrayList.emptyList(); fields_ = java.util.Collections.emptyList(); validationDescription_ = ""; validationHelpUrl_ = ""; @@ -52,38 +35,34 @@ private DataSourceParameter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataSourceParameter(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_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_DataSourceParameter_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); } /** - * - * *
    * Parameter type.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Type unspecified.
      * 
@@ -92,8 +71,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * String parameter.
      * 
@@ -102,8 +79,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ STRING(1), /** - * - * *
      * Integer parameter (64-bits).
      * Will be serialized to json as string.
@@ -113,8 +88,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     INTEGER(2),
     /**
-     *
-     *
      * 
      * Double precision floating point parameter.
      * 
@@ -123,8 +96,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DOUBLE(3), /** - * - * *
      * Boolean parameter.
      * 
@@ -133,8 +104,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ BOOLEAN(4), /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -143,8 +112,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ RECORD(5), /** - * - * *
      * Page ID for a Google+ Page.
      * 
@@ -153,8 +120,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PLUS_PAGE(6), /** - * - * *
      * List of strings parameter.
      * 
@@ -166,8 +131,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Type unspecified.
      * 
@@ -176,8 +139,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * String parameter.
      * 
@@ -186,8 +147,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 1; /** - * - * *
      * Integer parameter (64-bits).
      * Will be serialized to json as string.
@@ -197,8 +156,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int INTEGER_VALUE = 2;
     /**
-     *
-     *
      * 
      * Double precision floating point parameter.
      * 
@@ -207,8 +164,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOUBLE_VALUE = 3; /** - * - * *
      * Boolean parameter.
      * 
@@ -217,8 +172,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BOOLEAN_VALUE = 4; /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -227,8 +180,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RECORD_VALUE = 5; /** - * - * *
      * Page ID for a Google+ Page.
      * 
@@ -237,8 +188,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PLUS_PAGE_VALUE = 6; /** - * - * *
      * List of strings parameter.
      * 
@@ -247,6 +196,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LIST_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -271,61 +221,54 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return STRING; - case 2: - return INTEGER; - case 3: - return DOUBLE; - case 4: - return BOOLEAN; - case 5: - return RECORD; - case 6: - return PLUS_PAGE; - case 7: - return LIST; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return TYPE_UNSPECIFIED; + case 1: return STRING; + case 2: return INTEGER; + case 3: return DOUBLE; + case 4: return BOOLEAN; + case 5: return RECORD; + case 6: return PLUS_PAGE; + case 7: return LIST; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -344,18 +287,14 @@ private Type(int value) { private int bitField0_; public static final int PARAM_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object paramId_ = ""; /** - * - * *
    * Parameter identifier.
    * 
* * string param_id = 1; - * * @return The paramId. */ @java.lang.Override @@ -364,29 +303,29 @@ public java.lang.String getParamId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); paramId_ = s; return s; } } /** - * - * *
    * Parameter identifier.
    * 
* * string param_id = 1; - * * @return The bytes for paramId. */ @java.lang.Override - public com.google.protobuf.ByteString getParamIdBytes() { + public com.google.protobuf.ByteString + getParamIdBytes() { java.lang.Object ref = paramId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); paramId_ = b; return b; } else { @@ -395,18 +334,14 @@ public com.google.protobuf.ByteString getParamIdBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -415,29 +350,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -446,18 +381,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Parameter description.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -466,29 +397,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Parameter description.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -499,51 +430,37 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int TYPE_FIELD_NUMBER = 4; private int type_ = 0; /** - * - * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType() { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType() { + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED : result; } public static final int REQUIRED_FIELD_NUMBER = 5; private boolean required_ = false; /** - * - * *
    * Is parameter required.
    * 
* * bool required = 5; - * * @return The required. */ @java.lang.Override @@ -554,14 +471,11 @@ public boolean getRequired() { public static final int REPEATED_FIELD_NUMBER = 6; private boolean repeated_ = false; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * bool repeated = 6; - * * @return The repeated. */ @java.lang.Override @@ -570,18 +484,14 @@ public boolean getRepeated() { } public static final int VALIDATION_REGEX_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object validationRegex_ = ""; /** - * - * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; - * * @return The validationRegex. */ @java.lang.Override @@ -590,29 +500,29 @@ public java.lang.String getValidationRegex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationRegex_ = s; return s; } } /** - * - * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; - * * @return The bytes for validationRegex. */ @java.lang.Override - public com.google.protobuf.ByteString getValidationRegexBytes() { + public com.google.protobuf.ByteString + getValidationRegexBytes() { java.lang.Object ref = validationRegex_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); validationRegex_ = b; return b; } else { @@ -621,47 +531,38 @@ public com.google.protobuf.ByteString getValidationRegexBytes() { } public static final int ALLOWED_VALUES_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList + getAllowedValuesList() { return allowedValues_; } /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -669,32 +570,27 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString + getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } public static final int MIN_VALUE_FIELD_NUMBER = 9; private com.google.protobuf.DoubleValue minValue_; /** - * - * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; - * * @return Whether the minValue field is set. */ @java.lang.Override @@ -702,14 +598,11 @@ public boolean hasMinValue() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; - * * @return The minValue. */ @java.lang.Override @@ -717,8 +610,6 @@ public com.google.protobuf.DoubleValue getMinValue() { return minValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : minValue_; } /** - * - * *
    * For integer and double values specifies minimum allowed value.
    * 
@@ -733,14 +624,11 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { public static final int MAX_VALUE_FIELD_NUMBER = 10; private com.google.protobuf.DoubleValue maxValue_; /** - * - * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; - * * @return Whether the maxValue field is set. */ @java.lang.Override @@ -748,14 +636,11 @@ public boolean hasMaxValue() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; - * * @return The maxValue. */ @java.lang.Override @@ -763,8 +648,6 @@ public com.google.protobuf.DoubleValue getMaxValue() { return maxValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxValue_; } /** - * - * *
    * For integer and double values specifies maximum allowed value.
    * 
@@ -777,12 +660,9 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { } public static final int FIELDS_FIELD_NUMBER = 11; - @SuppressWarnings("serial") private java.util.List fields_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -790,13 +670,10 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ @java.lang.Override - public java.util.List - getFieldsList() { + public java.util.List getFieldsList() { return fields_; } /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -804,14 +681,11 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + public java.util.List getFieldsOrBuilderList() { return fields_; } /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -823,8 +697,6 @@ public int getFieldsCount() { return fields_.size(); } /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -836,8 +708,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getFields(i return fields_.get(index); } /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -851,19 +721,15 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder ge } public static final int VALIDATION_DESCRIPTION_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private volatile java.lang.Object validationDescription_ = ""; /** - * - * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; - * * @return The validationDescription. */ @java.lang.Override @@ -872,30 +738,30 @@ public java.lang.String getValidationDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationDescription_ = s; return s; } } /** - * - * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; - * * @return The bytes for validationDescription. */ @java.lang.Override - public com.google.protobuf.ByteString getValidationDescriptionBytes() { + public com.google.protobuf.ByteString + getValidationDescriptionBytes() { java.lang.Object ref = validationDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); validationDescription_ = b; return b; } else { @@ -904,18 +770,14 @@ public com.google.protobuf.ByteString getValidationDescriptionBytes() { } public static final int VALIDATION_HELP_URL_FIELD_NUMBER = 13; - @SuppressWarnings("serial") private volatile java.lang.Object validationHelpUrl_ = ""; /** - * - * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; - * * @return The validationHelpUrl. */ @java.lang.Override @@ -924,29 +786,29 @@ public java.lang.String getValidationHelpUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationHelpUrl_ = s; return s; } } /** - * - * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; - * * @return The bytes for validationHelpUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getValidationHelpUrlBytes() { + public com.google.protobuf.ByteString + getValidationHelpUrlBytes() { java.lang.Object ref = validationHelpUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); validationHelpUrl_ = b; return b; } else { @@ -957,14 +819,11 @@ public com.google.protobuf.ByteString getValidationHelpUrlBytes() { public static final int IMMUTABLE_FIELD_NUMBER = 14; private boolean immutable_ = false; /** - * - * *
    * Cannot be changed after initial creation.
    * 
* * bool immutable = 14; - * * @return The immutable. */ @java.lang.Override @@ -975,14 +834,11 @@ public boolean getImmutable() { public static final int RECURSE_FIELD_NUMBER = 15; private boolean recurse_ = false; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * bool recurse = 15; - * * @return The recurse. */ @java.lang.Override @@ -993,15 +849,12 @@ public boolean getRecurse() { public static final int DEPRECATED_FIELD_NUMBER = 20; private boolean deprecated_ = false; /** - * - * *
    * If true, it should not be used in new transfers, and it should not be
    * visible to users.
    * 
* * bool deprecated = 20; - * * @return The deprecated. */ @java.lang.Override @@ -1010,7 +863,6 @@ public boolean getDeprecated() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1022,7 +874,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(paramId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, paramId_); } @@ -1032,9 +885,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - if (type_ - != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, type_); } if (required_ != false) { @@ -1091,16 +942,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - if (type_ - != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); + if (type_ != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, type_); } if (required_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, required_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, required_); } if (repeated_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, repeated_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, repeated_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validationRegex_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, validationRegex_); @@ -1114,13 +966,16 @@ public int getSerializedSize() { size += 1 * getAllowedValuesList().size(); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getMinValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getMinValue()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getMaxValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getMaxValue()); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, fields_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validationDescription_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, validationDescription_); @@ -1129,13 +984,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, validationHelpUrl_); } if (immutable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, immutable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(14, immutable_); } if (recurse_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, recurse_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(15, recurse_); } if (deprecated_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(20, deprecated_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(20, deprecated_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1145,36 +1003,50 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter other = - (com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) obj; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter other = (com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) obj; - if (!getParamId().equals(other.getParamId())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getParamId() + .equals(other.getParamId())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (type_ != other.type_) return false; - if (getRequired() != other.getRequired()) return false; - if (getRepeated() != other.getRepeated()) return false; - if (!getValidationRegex().equals(other.getValidationRegex())) return false; - if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; + if (getRequired() + != other.getRequired()) return false; + if (getRepeated() + != other.getRepeated()) return false; + if (!getValidationRegex() + .equals(other.getValidationRegex())) return false; + if (!getAllowedValuesList() + .equals(other.getAllowedValuesList())) return false; if (hasMinValue() != other.hasMinValue()) return false; if (hasMinValue()) { - if (!getMinValue().equals(other.getMinValue())) return false; + if (!getMinValue() + .equals(other.getMinValue())) return false; } if (hasMaxValue() != other.hasMaxValue()) return false; if (hasMaxValue()) { - if (!getMaxValue().equals(other.getMaxValue())) return false; - } - if (!getFieldsList().equals(other.getFieldsList())) return false; - if (!getValidationDescription().equals(other.getValidationDescription())) return false; - if (!getValidationHelpUrl().equals(other.getValidationHelpUrl())) return false; - if (getImmutable() != other.getImmutable()) return false; - if (getRecurse() != other.getRecurse()) return false; - if (getDeprecated() != other.getDeprecated()) return false; + if (!getMaxValue() + .equals(other.getMaxValue())) return false; + } + if (!getFieldsList() + .equals(other.getFieldsList())) return false; + if (!getValidationDescription() + .equals(other.getValidationDescription())) return false; + if (!getValidationHelpUrl() + .equals(other.getValidationHelpUrl())) return false; + if (getImmutable() + != other.getImmutable()) return false; + if (getRecurse() + != other.getRecurse()) return false; + if (getDeprecated() + != other.getDeprecated()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1195,9 +1067,11 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequired()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequired()); hash = (37 * hash) + REPEATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRepeated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRepeated()); hash = (37 * hash) + VALIDATION_REGEX_FIELD_NUMBER; hash = (53 * hash) + getValidationRegex().hashCode(); if (getAllowedValuesCount() > 0) { @@ -1221,138 +1095,133 @@ public int hashCode() { hash = (37 * hash) + VALIDATION_HELP_URL_FIELD_NUMBER; hash = (53 * hash) + getValidationHelpUrl().hashCode(); hash = (37 * hash) + IMMUTABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getImmutable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getImmutable()); hash = (37 * hash) + RECURSE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecurse()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRecurse()); hash = (37 * hash) + DEPRECATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeprecated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeprecated()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSourceParameter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter 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.DataSourceParameter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSourceParameter 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.DataSourceParameter 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.DataSourceParameter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter 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.DataSourceParameter 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.DataSourceParameter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.DataSourceParameter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A parameter used to define custom fields in a data source definition.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSourceParameter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_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_DataSourceParameter_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.newBuilder() @@ -1360,19 +1229,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMinValueFieldBuilder(); getMaxValueFieldBuilder(); getFieldsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1384,7 +1253,8 @@ public Builder clear() { required_ = false; repeated_ = false; validationRegex_ = ""; - allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = + com.google.protobuf.LazyStringArrayList.emptyList(); minValue_ = null; if (minValueBuilder_ != null) { minValueBuilder_.dispose(); @@ -1411,14 +1281,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance(); } @@ -1433,18 +1302,14 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result = - new com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter(this); + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result = new com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -1456,8 +1321,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.paramId_ = paramId_; @@ -1486,11 +1350,15 @@ private void buildPartial0( } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000100) != 0)) { - result.minValue_ = minValueBuilder_ == null ? minValue_ : minValueBuilder_.build(); + result.minValue_ = minValueBuilder_ == null + ? minValue_ + : minValueBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.maxValue_ = maxValueBuilder_ == null ? maxValue_ : maxValueBuilder_.build(); + result.maxValue_ = maxValueBuilder_ == null + ? maxValue_ + : maxValueBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000800) != 0)) { @@ -1515,39 +1383,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter)other); } else { super.mergeFrom(other); return this; @@ -1555,9 +1422,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()) return this; if (!other.getParamId().isEmpty()) { paramId_ = other.paramId_; bitField0_ |= 0x00000001; @@ -1621,10 +1486,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSourcePar fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000400); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldsFieldBuilder() - : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -1675,118 +1539,105 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - paramId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - required_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: - { - repeated_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: - { - validationRegex_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAllowedValuesIsMutable(); - allowedValues_.add(s); - break; - } // case 66 - case 74: - { - input.readMessage(getMinValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: - { - input.readMessage(getMaxValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 90: - { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 90 - case 98: - { - validationDescription_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: - { - validationHelpUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 112: - { - immutable_ = input.readBool(); - bitField0_ |= 0x00002000; - break; - } // case 112 - case 120: - { - recurse_ = input.readBool(); - bitField0_ |= 0x00004000; - break; - } // case 120 - case 160: - { - deprecated_ = input.readBool(); - bitField0_ |= 0x00008000; - break; - } // case 160 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + paramId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + type_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + required_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + repeated_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: { + validationRegex_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + ensureAllowedValuesIsMutable(); + allowedValues_.add(s); + break; + } // case 66 + case 74: { + input.readMessage( + getMinValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: { + input.readMessage( + getMaxValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 90: { + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 90 + case 98: { + validationDescription_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: { + validationHelpUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 112: { + immutable_ = input.readBool(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 120: { + recurse_ = input.readBool(); + bitField0_ |= 0x00004000; + break; + } // case 120 + case 160: { + deprecated_ = input.readBool(); + bitField0_ |= 0x00008000; + break; + } // case 160 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1796,25 +1647,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object paramId_ = ""; /** - * - * *
      * Parameter identifier.
      * 
* * string param_id = 1; - * * @return The paramId. */ public java.lang.String getParamId() { java.lang.Object ref = paramId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); paramId_ = s; return s; @@ -1823,21 +1671,20 @@ public java.lang.String getParamId() { } } /** - * - * *
      * Parameter identifier.
      * 
* * string param_id = 1; - * * @return The bytes for paramId. */ - public com.google.protobuf.ByteString getParamIdBytes() { + public com.google.protobuf.ByteString + getParamIdBytes() { java.lang.Object ref = paramId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); paramId_ = b; return b; } else { @@ -1845,35 +1692,28 @@ public com.google.protobuf.ByteString getParamIdBytes() { } } /** - * - * *
      * Parameter identifier.
      * 
* * string param_id = 1; - * * @param value The paramId to set. * @return This builder for chaining. */ - public Builder setParamId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParamId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } paramId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Parameter identifier.
      * 
* * string param_id = 1; - * * @return This builder for chaining. */ public Builder clearParamId() { @@ -1883,21 +1723,17 @@ public Builder clearParamId() { return this; } /** - * - * *
      * Parameter identifier.
      * 
* * string param_id = 1; - * * @param value The bytes for paramId to set. * @return This builder for chaining. */ - public Builder setParamIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParamIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); paramId_ = value; bitField0_ |= 0x00000001; @@ -1907,20 +1743,18 @@ public Builder setParamIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1929,21 +1763,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1951,35 +1784,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1989,21 +1815,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -2013,20 +1835,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Parameter description.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2035,21 +1855,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Parameter description.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2057,35 +1876,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Parameter description.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Parameter description.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2095,21 +1907,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Parameter description.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -2119,29 +1927,22 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -2152,38 +1953,28 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @return The type. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType() { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED - : result; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED : result; } /** - * - * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type value) { + public Builder setType(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type value) { if (value == null) { throw new NullPointerException(); } @@ -2193,14 +1984,11 @@ public Builder setType( return this; } /** - * - * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @return This builder for chaining. */ public Builder clearType() { @@ -2210,16 +1998,13 @@ public Builder clearType() { return this; } - private boolean required_; + private boolean required_ ; /** - * - * *
      * Is parameter required.
      * 
* * bool required = 5; - * * @return The required. */ @java.lang.Override @@ -2227,14 +2012,11 @@ public boolean getRequired() { return required_; } /** - * - * *
      * Is parameter required.
      * 
* * bool required = 5; - * * @param value The required to set. * @return This builder for chaining. */ @@ -2246,14 +2028,11 @@ public Builder setRequired(boolean value) { return this; } /** - * - * *
      * Is parameter required.
      * 
* * bool required = 5; - * * @return This builder for chaining. */ public Builder clearRequired() { @@ -2263,16 +2042,13 @@ public Builder clearRequired() { return this; } - private boolean repeated_; + private boolean repeated_ ; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * bool repeated = 6; - * * @return The repeated. */ @java.lang.Override @@ -2280,14 +2056,11 @@ public boolean getRepeated() { return repeated_; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * bool repeated = 6; - * * @param value The repeated to set. * @return This builder for chaining. */ @@ -2299,14 +2072,11 @@ public Builder setRepeated(boolean value) { return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * bool repeated = 6; - * * @return This builder for chaining. */ public Builder clearRepeated() { @@ -2318,20 +2088,18 @@ public Builder clearRepeated() { private java.lang.Object validationRegex_ = ""; /** - * - * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; - * * @return The validationRegex. */ public java.lang.String getValidationRegex() { java.lang.Object ref = validationRegex_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationRegex_ = s; return s; @@ -2340,21 +2108,20 @@ public java.lang.String getValidationRegex() { } } /** - * - * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; - * * @return The bytes for validationRegex. */ - public com.google.protobuf.ByteString getValidationRegexBytes() { + public com.google.protobuf.ByteString + getValidationRegexBytes() { java.lang.Object ref = validationRegex_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); validationRegex_ = b; return b; } else { @@ -2362,35 +2129,28 @@ public com.google.protobuf.ByteString getValidationRegexBytes() { } } /** - * - * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; - * * @param value The validationRegex to set. * @return This builder for chaining. */ - public Builder setValidationRegex(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValidationRegex( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } validationRegex_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; - * * @return This builder for chaining. */ public Builder clearValidationRegex() { @@ -2400,21 +2160,17 @@ public Builder clearValidationRegex() { return this; } /** - * - * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; - * * @param value The bytes for validationRegex to set. * @return This builder for chaining. */ - public Builder setValidationRegexBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValidationRegexBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); validationRegex_ = value; bitField0_ |= 0x00000040; @@ -2424,7 +2180,6 @@ public Builder setValidationRegexBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureAllowedValuesIsMutable() { if (!allowedValues_.isModifiable()) { allowedValues_ = new com.google.protobuf.LazyStringArrayList(allowedValues_); @@ -2432,43 +2187,35 @@ private void ensureAllowedValuesIsMutable() { bitField0_ |= 0x00000080; } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList + getAllowedValuesList() { allowedValues_.makeImmutable(); return allowedValues_; } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -2476,37 +2223,31 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString + getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @param index The index to set the value at. * @param value The allowedValues to set. * @return This builder for chaining. */ - public Builder setAllowedValues(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAllowedValues( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAllowedValuesIsMutable(); allowedValues_.set(index, value); bitField0_ |= 0x00000080; @@ -2514,21 +2255,17 @@ public Builder setAllowedValues(int index, java.lang.String value) { return this; } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @param value The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValues(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAllowedValues( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAllowedValuesIsMutable(); allowedValues_.add(value); bitField0_ |= 0x00000080; @@ -2536,58 +2273,50 @@ public Builder addAllowedValues(java.lang.String value) { return this; } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @param values The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllAllowedValues(java.lang.Iterable values) { + public Builder addAllAllowedValues( + java.lang.Iterable values) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedValues_); bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @return This builder for chaining. */ public Builder clearAllowedValues() { - allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); - ; + allowedValues_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080);; onChanged(); return this; } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @param value The bytes of the allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAllowedValuesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAllowedValuesIsMutable(); allowedValues_.add(value); @@ -2598,33 +2327,24 @@ public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.DoubleValue minValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder> - minValueBuilder_; + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> minValueBuilder_; /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
* * .google.protobuf.DoubleValue min_value = 9; - * * @return Whether the minValue field is set. */ public boolean hasMinValue() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
* * .google.protobuf.DoubleValue min_value = 9; - * * @return The minValue. */ public com.google.protobuf.DoubleValue getMinValue() { @@ -2635,8 +2355,6 @@ public com.google.protobuf.DoubleValue getMinValue() { } } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2657,15 +2375,14 @@ public Builder setMinValue(com.google.protobuf.DoubleValue value) { return this; } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
* * .google.protobuf.DoubleValue min_value = 9; */ - public Builder setMinValue(com.google.protobuf.DoubleValue.Builder builderForValue) { + public Builder setMinValue( + com.google.protobuf.DoubleValue.Builder builderForValue) { if (minValueBuilder_ == null) { minValue_ = builderForValue.build(); } else { @@ -2676,8 +2393,6 @@ public Builder setMinValue(com.google.protobuf.DoubleValue.Builder builderForVal return this; } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2686,9 +2401,9 @@ public Builder setMinValue(com.google.protobuf.DoubleValue.Builder builderForVal */ public Builder mergeMinValue(com.google.protobuf.DoubleValue value) { if (minValueBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && minValue_ != null - && minValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + minValue_ != null && + minValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { getMinValueBuilder().mergeFrom(value); } else { minValue_ = value; @@ -2703,8 +2418,6 @@ public Builder mergeMinValue(com.google.protobuf.DoubleValue value) { return this; } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2722,8 +2435,6 @@ public Builder clearMinValue() { return this; } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2736,8 +2447,6 @@ public com.google.protobuf.DoubleValue.Builder getMinValueBuilder() { return getMinValueFieldBuilder().getBuilder(); } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2748,12 +2457,11 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { if (minValueBuilder_ != null) { return minValueBuilder_.getMessageOrBuilder(); } else { - return minValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : minValue_; + return minValue_ == null ? + com.google.protobuf.DoubleValue.getDefaultInstance() : minValue_; } } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2761,17 +2469,14 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { * .google.protobuf.DoubleValue min_value = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder> + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> getMinValueFieldBuilder() { if (minValueBuilder_ == null) { - minValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder>( - getMinValue(), getParentForChildren(), isClean()); + minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( + getMinValue(), + getParentForChildren(), + isClean()); minValue_ = null; } return minValueBuilder_; @@ -2779,33 +2484,24 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { private com.google.protobuf.DoubleValue maxValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder> - maxValueBuilder_; + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> maxValueBuilder_; /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
* * .google.protobuf.DoubleValue max_value = 10; - * * @return Whether the maxValue field is set. */ public boolean hasMaxValue() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
* * .google.protobuf.DoubleValue max_value = 10; - * * @return The maxValue. */ public com.google.protobuf.DoubleValue getMaxValue() { @@ -2816,8 +2512,6 @@ public com.google.protobuf.DoubleValue getMaxValue() { } } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2838,15 +2532,14 @@ public Builder setMaxValue(com.google.protobuf.DoubleValue value) { return this; } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
* * .google.protobuf.DoubleValue max_value = 10; */ - public Builder setMaxValue(com.google.protobuf.DoubleValue.Builder builderForValue) { + public Builder setMaxValue( + com.google.protobuf.DoubleValue.Builder builderForValue) { if (maxValueBuilder_ == null) { maxValue_ = builderForValue.build(); } else { @@ -2857,8 +2550,6 @@ public Builder setMaxValue(com.google.protobuf.DoubleValue.Builder builderForVal return this; } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2867,9 +2558,9 @@ public Builder setMaxValue(com.google.protobuf.DoubleValue.Builder builderForVal */ public Builder mergeMaxValue(com.google.protobuf.DoubleValue value) { if (maxValueBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && maxValue_ != null - && maxValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + maxValue_ != null && + maxValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { getMaxValueBuilder().mergeFrom(value); } else { maxValue_ = value; @@ -2884,8 +2575,6 @@ public Builder mergeMaxValue(com.google.protobuf.DoubleValue value) { return this; } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2903,8 +2592,6 @@ public Builder clearMaxValue() { return this; } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2917,8 +2604,6 @@ public com.google.protobuf.DoubleValue.Builder getMaxValueBuilder() { return getMaxValueFieldBuilder().getBuilder(); } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2929,12 +2614,11 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { if (maxValueBuilder_ != null) { return maxValueBuilder_.getMessageOrBuilder(); } else { - return maxValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxValue_; + return maxValue_ == null ? + com.google.protobuf.DoubleValue.getDefaultInstance() : maxValue_; } } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2942,51 +2626,39 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { * .google.protobuf.DoubleValue max_value = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder> + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> getMaxValueFieldBuilder() { if (maxValueBuilder_ == null) { - maxValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder>( - getMaxValue(), getParentForChildren(), isClean()); + maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( + getMaxValue(), + getParentForChildren(), + isClean()); maxValue_ = null; } return maxValueBuilder_; } private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { - fields_ = - new java.util.ArrayList( - fields_); + fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000400; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> - fieldsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> fieldsBuilder_; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public java.util.List - getFieldsList() { + public java.util.List getFieldsList() { if (fieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(fields_); } else { @@ -2994,8 +2666,6 @@ private void ensureFieldsIsMutable() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3010,8 +2680,6 @@ public int getFieldsCount() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3026,8 +2694,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getFields(i } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3049,8 +2715,6 @@ public Builder setFields( return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3058,8 +2722,7 @@ public Builder setFields( * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ public Builder setFields( - int index, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.set(index, builderForValue.build()); @@ -3070,8 +2733,6 @@ public Builder setFields( return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3092,8 +2753,6 @@ public Builder addFields(com.google.cloud.bigquery.datatransfer.v1.DataSourcePar return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3115,8 +2774,6 @@ public Builder addFields( return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3135,8 +2792,6 @@ public Builder addFields( return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3144,8 +2799,7 @@ public Builder addFields( * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ public Builder addFields( - int index, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(index, builderForValue.build()); @@ -3156,8 +2810,6 @@ public Builder addFields( return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3165,11 +2817,11 @@ public Builder addFields( * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ public Builder addAllFields( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); @@ -3177,8 +2829,6 @@ public Builder addAllFields( return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3196,8 +2846,6 @@ public Builder clearFields() { return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3215,8 +2863,6 @@ public Builder removeFields(int index) { return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3228,34 +2874,28 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder get return getFieldsFieldBuilder().getBuilder(index); } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder - getFieldsOrBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getFieldsOrBuilder( + int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); - } else { + return fields_.get(index); } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public java.util.List< - ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -3263,23 +2903,17 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder get } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder - addFieldsBuilder() { - return getFieldsFieldBuilder() - .addBuilder( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addFieldsBuilder() { + return getFieldsFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3288,37 +2922,30 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder get */ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addFieldsBuilder( int index) { - return getFieldsFieldBuilder() - .addBuilder( - index, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + return getFieldsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( - fields_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); + fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( + fields_, + ((bitField0_ & 0x00000400) != 0), + getParentForChildren(), + isClean()); fields_ = null; } return fieldsBuilder_; @@ -3326,21 +2953,19 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder add private java.lang.Object validationDescription_ = ""; /** - * - * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; - * * @return The validationDescription. */ public java.lang.String getValidationDescription() { java.lang.Object ref = validationDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationDescription_ = s; return s; @@ -3349,22 +2974,21 @@ public java.lang.String getValidationDescription() { } } /** - * - * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; - * * @return The bytes for validationDescription. */ - public com.google.protobuf.ByteString getValidationDescriptionBytes() { + public com.google.protobuf.ByteString + getValidationDescriptionBytes() { java.lang.Object ref = validationDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); validationDescription_ = b; return b; } else { @@ -3372,37 +2996,30 @@ public com.google.protobuf.ByteString getValidationDescriptionBytes() { } } /** - * - * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; - * * @param value The validationDescription to set. * @return This builder for chaining. */ - public Builder setValidationDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValidationDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } validationDescription_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** - * - * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; - * * @return This builder for chaining. */ public Builder clearValidationDescription() { @@ -3412,22 +3029,18 @@ public Builder clearValidationDescription() { return this; } /** - * - * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; - * * @param value The bytes for validationDescription to set. * @return This builder for chaining. */ - public Builder setValidationDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValidationDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); validationDescription_ = value; bitField0_ |= 0x00000800; @@ -3437,20 +3050,18 @@ public Builder setValidationDescriptionBytes(com.google.protobuf.ByteString valu private java.lang.Object validationHelpUrl_ = ""; /** - * - * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; - * * @return The validationHelpUrl. */ public java.lang.String getValidationHelpUrl() { java.lang.Object ref = validationHelpUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationHelpUrl_ = s; return s; @@ -3459,21 +3070,20 @@ public java.lang.String getValidationHelpUrl() { } } /** - * - * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; - * * @return The bytes for validationHelpUrl. */ - public com.google.protobuf.ByteString getValidationHelpUrlBytes() { + public com.google.protobuf.ByteString + getValidationHelpUrlBytes() { java.lang.Object ref = validationHelpUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); validationHelpUrl_ = b; return b; } else { @@ -3481,35 +3091,28 @@ public com.google.protobuf.ByteString getValidationHelpUrlBytes() { } } /** - * - * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; - * * @param value The validationHelpUrl to set. * @return This builder for chaining. */ - public Builder setValidationHelpUrl(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValidationHelpUrl( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } validationHelpUrl_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** - * - * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; - * * @return This builder for chaining. */ public Builder clearValidationHelpUrl() { @@ -3519,21 +3122,17 @@ public Builder clearValidationHelpUrl() { return this; } /** - * - * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; - * * @param value The bytes for validationHelpUrl to set. * @return This builder for chaining. */ - public Builder setValidationHelpUrlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValidationHelpUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); validationHelpUrl_ = value; bitField0_ |= 0x00001000; @@ -3541,16 +3140,13 @@ public Builder setValidationHelpUrlBytes(com.google.protobuf.ByteString value) { return this; } - private boolean immutable_; + private boolean immutable_ ; /** - * - * *
      * Cannot be changed after initial creation.
      * 
* * bool immutable = 14; - * * @return The immutable. */ @java.lang.Override @@ -3558,14 +3154,11 @@ public boolean getImmutable() { return immutable_; } /** - * - * *
      * Cannot be changed after initial creation.
      * 
* * bool immutable = 14; - * * @param value The immutable to set. * @return This builder for chaining. */ @@ -3577,14 +3170,11 @@ public Builder setImmutable(boolean value) { return this; } /** - * - * *
      * Cannot be changed after initial creation.
      * 
* * bool immutable = 14; - * * @return This builder for chaining. */ public Builder clearImmutable() { @@ -3594,16 +3184,13 @@ public Builder clearImmutable() { return this; } - private boolean recurse_; + private boolean recurse_ ; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * bool recurse = 15; - * * @return The recurse. */ @java.lang.Override @@ -3611,14 +3198,11 @@ public boolean getRecurse() { return recurse_; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * bool recurse = 15; - * * @param value The recurse to set. * @return This builder for chaining. */ @@ -3630,14 +3214,11 @@ public Builder setRecurse(boolean value) { return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * bool recurse = 15; - * * @return This builder for chaining. */ public Builder clearRecurse() { @@ -3647,17 +3228,14 @@ public Builder clearRecurse() { return this; } - private boolean deprecated_; + private boolean deprecated_ ; /** - * - * *
      * If true, it should not be used in new transfers, and it should not be
      * visible to users.
      * 
* * bool deprecated = 20; - * * @return The deprecated. */ @java.lang.Override @@ -3665,15 +3243,12 @@ public boolean getDeprecated() { return deprecated_; } /** - * - * *
      * If true, it should not be used in new transfers, and it should not be
      * visible to users.
      * 
* * bool deprecated = 20; - * * @param value The deprecated to set. * @return This builder for chaining. */ @@ -3685,15 +3260,12 @@ public Builder setDeprecated(boolean value) { return this; } /** - * - * *
      * If true, it should not be used in new transfers, and it should not be
      * visible to users.
      * 
* * bool deprecated = 20; - * * @return This builder for chaining. */ public Builder clearDeprecated() { @@ -3702,9 +3274,9 @@ public Builder clearDeprecated() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3714,13 +3286,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) - private static final com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter(); } @@ -3729,27 +3300,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSourceParameter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSourceParameter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3764,4 +3335,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java similarity index 82% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java index b8c2f8951b38..cb041b83968a 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java @@ -1,258 +1,192 @@ -/* - * 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; -public interface DataSourceParameterOrBuilder - extends +public interface DataSourceParameterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Parameter identifier.
    * 
* * string param_id = 1; - * * @return The paramId. */ java.lang.String getParamId(); /** - * - * *
    * Parameter identifier.
    * 
* * string param_id = 1; - * * @return The bytes for paramId. */ - com.google.protobuf.ByteString getParamIdBytes(); + com.google.protobuf.ByteString + getParamIdBytes(); /** - * - * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Parameter description.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Parameter description.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @return The type. */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType(); /** - * - * *
    * Is parameter required.
    * 
* * bool required = 5; - * * @return The required. */ boolean getRequired(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * bool repeated = 6; - * * @return The repeated. */ boolean getRepeated(); /** - * - * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; - * * @return The validationRegex. */ java.lang.String getValidationRegex(); /** - * - * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; - * * @return The bytes for validationRegex. */ - com.google.protobuf.ByteString getValidationRegexBytes(); + com.google.protobuf.ByteString + getValidationRegexBytes(); /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @return A list containing the allowedValues. */ - java.util.List getAllowedValuesList(); + java.util.List + getAllowedValuesList(); /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @return The count of allowedValues. */ int getAllowedValuesCount(); /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ java.lang.String getAllowedValues(int index); /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - com.google.protobuf.ByteString getAllowedValuesBytes(int index); + com.google.protobuf.ByteString + getAllowedValuesBytes(int index); /** - * - * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; - * * @return Whether the minValue field is set. */ boolean hasMinValue(); /** - * - * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; - * * @return The minValue. */ com.google.protobuf.DoubleValue getMinValue(); /** - * - * *
    * For integer and double values specifies minimum allowed value.
    * 
@@ -262,32 +196,24 @@ public interface DataSourceParameterOrBuilder com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder(); /** - * - * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; - * * @return Whether the maxValue field is set. */ boolean hasMaxValue(); /** - * - * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; - * * @return The maxValue. */ com.google.protobuf.DoubleValue getMaxValue(); /** - * - * *
    * For integer and double values specifies maximum allowed value.
    * 
@@ -297,18 +223,15 @@ public interface DataSourceParameterOrBuilder com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - java.util.List getFieldsList(); + java.util.List + getFieldsList(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -317,8 +240,6 @@ public interface DataSourceParameterOrBuilder */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getFields(int index); /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -327,19 +248,15 @@ public interface DataSourceParameterOrBuilder */ int getFieldsCount(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -350,93 +267,74 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getFields int index); /** - * - * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; - * * @return The validationDescription. */ java.lang.String getValidationDescription(); /** - * - * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; - * * @return The bytes for validationDescription. */ - com.google.protobuf.ByteString getValidationDescriptionBytes(); + com.google.protobuf.ByteString + getValidationDescriptionBytes(); /** - * - * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; - * * @return The validationHelpUrl. */ java.lang.String getValidationHelpUrl(); /** - * - * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; - * * @return The bytes for validationHelpUrl. */ - com.google.protobuf.ByteString getValidationHelpUrlBytes(); + com.google.protobuf.ByteString + getValidationHelpUrlBytes(); /** - * - * *
    * Cannot be changed after initial creation.
    * 
* * bool immutable = 14; - * * @return The immutable. */ boolean getImmutable(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * bool recurse = 15; - * * @return The recurse. */ boolean getRecurse(); /** - * - * *
    * If true, it should not be used in new transfers, and it should not be
    * visible to users.
    * 
* * bool deprecated = 20; - * * @return The deprecated. */ boolean getDeprecated(); diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java new file mode 100644 index 000000000000..2ddf81d1a43d --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java @@ -0,0 +1,616 @@ +// 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; + +public final class DataTransferProto { + private DataTransferProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + 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; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n8google/cloud/bigquery/datatransfer/v1/" + + "datatransfer.proto\022%google.cloud.bigquer" + + "y.datatransfer.v1\032\034google/api/annotation" + + "s.proto\032\027google/api/client.proto\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\0324google/cloud/bigquery/data" + + "transfer/v1/transfer.proto\032\036google/proto" + + "buf/duration.proto\032\033google/protobuf/empt" + + "y.proto\032 google/protobuf/field_mask.prot" + + "o\032\037google/protobuf/timestamp.proto\032\036goog" + + "le/protobuf/wrappers.proto\"\217\005\n\023DataSourc" + + "eParameter\022\020\n\010param_id\030\001 \001(\t\022\024\n\014display_" + + "name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022M\n\004type\030" + + "\004 \001(\0162?.google.cloud.bigquery.datatransf" + + "er.v1.DataSourceParameter.Type\022\020\n\010requir" + + "ed\030\005 \001(\010\022\020\n\010repeated\030\006 \001(\010\022\030\n\020validation" + + "_regex\030\007 \001(\t\022\026\n\016allowed_values\030\010 \003(\t\022/\n\t" + + "min_value\030\t \001(\0132\034.google.protobuf.Double" + + "Value\022/\n\tmax_value\030\n \001(\0132\034.google.protob" + + "uf.DoubleValue\022J\n\006fields\030\013 \003(\0132:.google." + + "cloud.bigquery.datatransfer.v1.DataSourc" + + "eParameter\022\036\n\026validation_description\030\014 \001" + + "(\t\022\033\n\023validation_help_url\030\r \001(\t\022\021\n\timmut" + + "able\030\016 \001(\010\022\017\n\007recurse\030\017 \001(\010\022\022\n\ndeprecate" + + "d\030\024 \001(\010\"s\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n" + + "\006STRING\020\001\022\013\n\007INTEGER\020\002\022\n\n\006DOUBLE\020\003\022\013\n\007BO" + + "OLEAN\020\004\022\n\n\006RECORD\020\005\022\r\n\tPLUS_PAGE\020\006\022\010\n\004LI" + + "ST\020\007\"\234\t\n\nDataSource\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\026" + + "\n\016data_source_id\030\002 \001(\t\022\024\n\014display_name\030\003" + + " \001(\t\022\023\n\013description\030\004 \001(\t\022\021\n\tclient_id\030\005" + + " \001(\t\022\016\n\006scopes\030\006 \003(\t\022N\n\rtransfer_type\030\007 " + + "\001(\01623.google.cloud.bigquery.datatransfer" + + ".v1.TransferTypeB\002\030\001\022\'\n\033supports_multipl" + + "e_transfers\030\010 \001(\010B\002\030\001\022\037\n\027update_deadline" + + "_seconds\030\t \001(\005\022\030\n\020default_schedule\030\n \001(\t" + + "\022 \n\030supports_custom_schedule\030\013 \001(\010\022N\n\npa" + + "rameters\030\014 \003(\0132:.google.cloud.bigquery.d" + + "atatransfer.v1.DataSourceParameter\022\020\n\010he" + + "lp_url\030\r \001(\t\022_\n\022authorization_type\030\016 \001(\016" + + "2C.google.cloud.bigquery.datatransfer.v1" + + ".DataSource.AuthorizationType\022\\\n\021data_re" + + "fresh_type\030\017 \001(\0162A.google.cloud.bigquery" + + ".datatransfer.v1.DataSource.DataRefreshT" + + "ype\022(\n default_data_refresh_window_days\030" + + "\020 \001(\005\022\034\n\024manual_runs_disabled\030\021 \001(\010\022<\n\031m" + + "inimum_schedule_interval\030\022 \001(\0132\031.google." + + "protobuf.Duration\"\212\001\n\021AuthorizationType\022" + + "\"\n\036AUTHORIZATION_TYPE_UNSPECIFIED\020\000\022\026\n\022A" + + "UTHORIZATION_CODE\020\001\022\"\n\036GOOGLE_PLUS_AUTHO" + + "RIZATION_CODE\020\002\022\025\n\021FIRST_PARTY_OAUTH\020\003\"c" + + "\n\017DataRefreshType\022!\n\035DATA_REFRESH_TYPE_U" + + "NSPECIFIED\020\000\022\022\n\016SLIDING_WINDOW\020\001\022\031\n\025CUST" + + "OM_SLIDING_WINDOW\020\002:\245\001\352A\241\001\n.bigquerydata" + + "transfer.googleapis.com/DataSource\022,proj" + + "ects/{project}/dataSources/{data_source}" + + "\022Aprojects/{project}/locations/{location" + + "}/dataSources/{data_source}\"\\\n\024GetDataSo" + + "urceRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.bigqu" + + "erydatatransfer.googleapis.com/DataSourc" + + "e\"\207\001\n\026ListDataSourcesRequest\022F\n\006parent\030\001" + + " \001(\tB6\340A\002\372A0\022.bigquerydatatransfer.googl" + + "eapis.com/DataSource\022\022\n\npage_token\030\003 \001(\t" + + "\022\021\n\tpage_size\030\004 \001(\005\"\200\001\n\027ListDataSourcesR" + + "esponse\022G\n\014data_sources\030\001 \003(\01321.google.c" + + "loud.bigquery.datatransfer.v1.DataSource" + + "\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\216\002\n\033Creat" + + "eTransferConfigRequest\022J\n\006parent\030\001 \001(\tB:" + + "\340A\002\372A4\0222bigquerydatatransfer.googleapis." + + "com/TransferConfig\022S\n\017transfer_config\030\002 " + + "\001(\01325.google.cloud.bigquery.datatransfer" + + ".v1.TransferConfigB\003\340A\002\022\032\n\022authorization" + + "_code\030\003 \001(\t\022\024\n\014version_info\030\005 \001(\t\022\034\n\024ser" + + "vice_account_name\030\006 \001(\t\"\370\001\n\033UpdateTransf" + + "erConfigRequest\022S\n\017transfer_config\030\001 \001(\013" + + "25.google.cloud.bigquery.datatransfer.v1" + + ".TransferConfigB\003\340A\002\022\032\n\022authorization_co" + + "de\030\003 \001(\t\0224\n\013update_mask\030\004 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\003\340A\002\022\024\n\014version_info\030\005" + + " \001(\t\022\034\n\024service_account_name\030\006 \001(\t\"d\n\030Ge" + + "tTransferConfigRequest\022H\n\004name\030\001 \001(\tB:\340A" + + "\002\372A4\n2bigquerydatatransfer.googleapis.co" + + "m/TransferConfig\"g\n\033DeleteTransferConfig" + + "Request\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bigqueryd" + + "atatransfer.googleapis.com/TransferConfi" + + "g\"V\n\025GetTransferRunRequest\022=\n\004name\030\001 \001(\t" + + "B/\340A\002\372A)\n\'bigquerydatatransfer.googleapi" + + "s.com/Run\"Y\n\030DeleteTransferRunRequest\022=\n" + + "\004name\030\001 \001(\tB/\340A\002\372A)\n\'bigquerydatatransfe" + + "r.googleapis.com/Run\"\250\001\n\032ListTransferCon" + + "figsRequest\022J\n\006parent\030\001 \001(\tB:\340A\002\372A4\0222big" + + "querydatatransfer.googleapis.com/Transfe" + + "rConfig\022\027\n\017data_source_ids\030\002 \003(\t\022\022\n\npage" + + "_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\"\221\001\n\033List" + + "TransferConfigsResponse\022T\n\020transfer_conf" + + "igs\030\001 \003(\01325.google.cloud.bigquery.datatr" + + "ansfer.v1.TransferConfigB\003\340A\003\022\034\n\017next_pa" + + "ge_token\030\002 \001(\tB\003\340A\003\"\336\002\n\027ListTransferRuns" + + "Request\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'bigquer" + + "ydatatransfer.googleapis.com/Run\022D\n\006stat" + + "es\030\002 \003(\01624.google.cloud.bigquery.datatra" + + "nsfer.v1.TransferState\022\022\n\npage_token\030\003 \001" + + "(\t\022\021\n\tpage_size\030\004 \001(\005\022^\n\013run_attempt\030\005 \001" + + "(\0162I.google.cloud.bigquery.datatransfer." + + "v1.ListTransferRunsRequest.RunAttempt\"5\n" + + "\nRunAttempt\022\033\n\027RUN_ATTEMPT_UNSPECIFIED\020\000" + + "\022\n\n\006LATEST\020\001\"\210\001\n\030ListTransferRunsRespons" + + "e\022N\n\rtransfer_runs\030\001 \003(\01322.google.cloud." + + "bigquery.datatransfer.v1.TransferRunB\003\340A" + + "\003\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\340\001\n\027List" + + "TransferLogsRequest\022?\n\006parent\030\001 \001(\tB/\340A\002" + + "\372A)\n\'bigquerydatatransfer.googleapis.com" + + "/Run\022\022\n\npage_token\030\004 \001(\t\022\021\n\tpage_size\030\005 " + + "\001(\005\022]\n\rmessage_types\030\006 \003(\0162F.google.clou" + + "d.bigquery.datatransfer.v1.TransferMessa" + + "ge.MessageSeverity\"\220\001\n\030ListTransferLogsR" + + "esponse\022V\n\021transfer_messages\030\001 \003(\01326.goo" + + "gle.cloud.bigquery.datatransfer.v1.Trans" + + "ferMessageB\003\340A\003\022\034\n\017next_page_token\030\002 \001(\t" + + "B\003\340A\003\"^\n\026CheckValidCredsRequest\022D\n\004name\030" + + "\001 \001(\tB6\340A\002\372A0\n.bigquerydatatransfer.goog" + + "leapis.com/DataSource\"2\n\027CheckValidCreds" + + "Response\022\027\n\017has_valid_creds\030\001 \001(\010\"\321\001\n\033Sc" + + "heduleTransferRunsRequest\022J\n\006parent\030\001 \001(" + + "\tB:\340A\002\372A4\n2bigquerydatatransfer.googleap" + + "is.com/TransferConfig\0223\n\nstart_time\030\002 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\002\0221\n\010en" + + "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\002\"`\n\034ScheduleTransferRunsResponse\022@\n" + + "\004runs\030\001 \003(\01322.google.cloud.bigquery.data" + + "transfer.v1.TransferRun\"\207\003\n\036StartManualT" + + "ransferRunsRequest\022G\n\006parent\030\001 \001(\tB7\372A4\n" + + "2bigquerydatatransfer.googleapis.com/Tra" + + "nsferConfig\022o\n\024requested_time_range\030\003 \001(" + + "\0132O.google.cloud.bigquery.datatransfer.v" + + "1.StartManualTransferRunsRequest.TimeRan" + + "geH\000\0228\n\022requested_run_time\030\004 \001(\0132\032.googl" + + "e.protobuf.TimestampH\000\032i\n\tTimeRange\022.\n\ns" + + "tart_time\030\001 \001(\0132\032.google.protobuf.Timest" + + "amp\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf." + + "TimestampB\006\n\004time\"c\n\037StartManualTransfer" + + "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(\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(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor, + new java.lang.String[] { "ParamId", "DisplayName", "Description", "Type", "Required", "Repeated", "ValidationRegex", "AllowedValues", "MinValue", "MaxValue", "Fields", "ValidationDescription", "ValidationHelpUrl", "Immutable", "Recurse", "Deprecated", }); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor, + new java.lang.String[] { "Name", "DataSourceId", "DisplayName", "Description", "ClientId", "Scopes", "TransferType", "SupportsMultipleTransfers", "UpdateDeadlineSeconds", "DefaultSchedule", "SupportsCustomSchedule", "Parameters", "HelpUrl", "AuthorizationType", "DataRefreshType", "DefaultDataRefreshWindowDays", "ManualRunsDisabled", "MinimumScheduleInterval", }); + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", "PageSize", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor, + new java.lang.String[] { "DataSources", "NextPageToken", }); + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor, + new java.lang.String[] { "Parent", "TransferConfig", "AuthorizationCode", "VersionInfo", "ServiceAccountName", }); + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor, + new java.lang.String[] { "TransferConfig", "AuthorizationCode", "UpdateMask", "VersionInfo", "ServiceAccountName", }); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor, + new java.lang.String[] { "Parent", "DataSourceIds", "PageToken", "PageSize", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor, + new java.lang.String[] { "TransferConfigs", "NextPageToken", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor, + new java.lang.String[] { "Parent", "States", "PageToken", "PageSize", "RunAttempt", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor, + new java.lang.String[] { "TransferRuns", "NextPageToken", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", "PageSize", "MessageTypes", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor, + new java.lang.String[] { "TransferMessages", "NextPageToken", }); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor, + new java.lang.String[] { "HasValidCreds", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor, + new java.lang.String[] { "Parent", "StartTime", "EndTime", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor, + new java.lang.String[] { "Runs", }); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor, + new java.lang.String[] { "Parent", "RequestedTimeRange", "RequestedRunTime", "Time", }); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor = + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor, + new java.lang.String[] { "StartTime", "EndTime", }); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor, + new java.lang.String[] { "Runs", }); + internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor, + 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); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java similarity index 61% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java index edefaaa7a252..0844d07d9b35 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to delete data transfer information. All associated transfer runs
  * and log messages will be deleted as well.
@@ -29,58 +12,50 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest}
  */
-public final class DeleteTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTransferConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)
     DeleteTransferConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTransferConfigRequest.newBuilder() to construct.
   private DeleteTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTransferConfigRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTransferConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_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_DeleteTransferConfigRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class,
-            com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -160,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other = - (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,105 +161,98 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest - 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.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest - 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.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.DeleteTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to delete data transfer information. All associated transfer runs
    * and log messages will be deleted as well.
@@ -294,33 +260,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)
       com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_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_DeleteTransferConfigRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class,
-              com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -330,16 +296,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest
-          .getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -353,17 +317,13 @@ public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest bui
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result =
-          new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result) {
+    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -374,51 +334,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) {
-        return mergeFrom(
-            (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other) {
-      if (other
-          == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other) {
+      if (other == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -450,19 +405,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -472,29 +425,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -503,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -529,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -575,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,43 +540,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,8 +586,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java new file mode 100644 index 000000000000..dd0152ac9918 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java @@ -0,0 +1,34 @@ +// 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; + +public interface DeleteTransferConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java similarity index 61% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java index f3926e0625b4..cb0d5ad2ff8d 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,56 +5,49 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to delete data transfer run information.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest} */ -public final class DeleteTransferRunRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTransferRunRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) DeleteTransferRunRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTransferRunRequest.newBuilder() to construct. private DeleteTransferRunRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTransferRunRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTransferRunRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_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_DeleteTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -77,10 +55,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,15 +64,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -105,18 +79,17 @@ public java.lang.String getName() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other = - (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other = (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,138 +162,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferRunRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest 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.DeleteTransferRunRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferRunRequest 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.DeleteTransferRunRequest 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.DeleteTransferRunRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - 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.DeleteTransferRunRequest 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.DeleteTransferRunRequest - 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.DeleteTransferRunRequest 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.DeleteTransferRunRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.DeleteTransferRunRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to delete data transfer run information.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_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_DeleteTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,16 +296,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.getDefaultInstance(); } @java.lang.Override @@ -353,17 +317,13 @@ public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result = - new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -374,51 +334,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -450,19 +405,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -472,13 +425,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -486,16 +436,14 @@ public Builder mergeFrom(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -504,8 +452,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -513,17 +459,16 @@ public java.lang.String getName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -531,8 +476,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -540,25 +483,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -566,10 +503,7 @@ public Builder setName(java.lang.String value) {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -579,8 +513,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -588,26 +520,22 @@ public Builder clearName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,43 +545,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTransferRunRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTransferRunRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -665,8 +591,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java similarity index 51% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java index 2bce0e154615..d6920d2f3fa5 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * 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; -public interface DeleteTransferRunRequestOrBuilder - extends +public interface DeleteTransferRunRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -34,16 +16,11 @@ public interface DeleteTransferRunRequestOrBuilder
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -51,11 +28,9 @@ public interface DeleteTransferRunRequestOrBuilder
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java similarity index 66% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java index f2dbd56720bf..48bd73cfd171 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Represents preferences for sending email notifications for transfer run
  * events.
@@ -29,50 +12,46 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EmailPreferences}
  */
-public final class EmailPreferences extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class EmailPreferences extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.EmailPreferences)
     EmailPreferencesOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EmailPreferences.newBuilder() to construct.
   private EmailPreferences(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private EmailPreferences() {}
+  private EmailPreferences() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EmailPreferences();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class,
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
   }
 
   public static final int ENABLE_FAILURE_EMAIL_FIELD_NUMBER = 1;
   private boolean enableFailureEmail_ = false;
   /**
-   *
-   *
    * 
    * If true, email notifications will be sent on transfer run failures.
    * 
* * bool enable_failure_email = 1; - * * @return The enableFailureEmail. */ @java.lang.Override @@ -81,7 +60,6 @@ public boolean getEnableFailureEmail() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -93,7 +71,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enableFailureEmail_ != false) { output.writeBool(1, enableFailureEmail_); } @@ -107,7 +86,8 @@ public int getSerializedSize() { size = 0; if (enableFailureEmail_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableFailureEmail_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enableFailureEmail_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -117,15 +97,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.EmailPreferences)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences other = - (com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) obj; + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences other = (com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) obj; - if (getEnableFailureEmail() != other.getEnableFailureEmail()) return false; + if (getEnableFailureEmail() + != other.getEnableFailureEmail()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -138,111 +118,106 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_FAILURE_EMAIL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableFailureEmail()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableFailureEmail()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EmailPreferences parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences 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.EmailPreferences parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EmailPreferences 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.EmailPreferences 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.EmailPreferences parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences 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.EmailPreferences 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.EmailPreferences parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.EmailPreferences parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents preferences for sending email notifications for transfer run
    * events.
@@ -250,32 +225,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EmailPreferences}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.EmailPreferences)
       com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class,
-              com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -285,9 +261,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
     }
 
     @java.lang.Override
@@ -306,11 +282,8 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.EmailPreferences result =
-          new com.google.cloud.bigquery.datatransfer.v1.EmailPreferences(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.datatransfer.v1.EmailPreferences result = new com.google.cloud.bigquery.datatransfer.v1.EmailPreferences(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -326,39 +299,38 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EmailPrefer
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EmailPreferences)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -366,8 +338,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()) return this;
       if (other.getEnableFailureEmail() != false) {
         setEnableFailureEmail(other.getEnableFailureEmail());
       }
@@ -397,19 +368,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enableFailureEmail_ = input.readBool();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enableFailureEmail_ = input.readBool();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -419,19 +388,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean enableFailureEmail_;
+    private boolean enableFailureEmail_ ;
     /**
-     *
-     *
      * 
      * If true, email notifications will be sent on transfer run failures.
      * 
* * bool enable_failure_email = 1; - * * @return The enableFailureEmail. */ @java.lang.Override @@ -439,14 +404,11 @@ public boolean getEnableFailureEmail() { return enableFailureEmail_; } /** - * - * *
      * If true, email notifications will be sent on transfer run failures.
      * 
* * bool enable_failure_email = 1; - * * @param value The enableFailureEmail to set. * @return This builder for chaining. */ @@ -458,14 +420,11 @@ public Builder setEnableFailureEmail(boolean value) { return this; } /** - * - * *
      * If true, email notifications will be sent on transfer run failures.
      * 
* * bool enable_failure_email = 1; - * * @return This builder for chaining. */ public Builder clearEnableFailureEmail() { @@ -474,9 +433,9 @@ public Builder clearEnableFailureEmail() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -486,12 +445,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.EmailPreferences) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.EmailPreferences) private static final com.google.cloud.bigquery.datatransfer.v1.EmailPreferences DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.EmailPreferences(); } @@ -500,27 +459,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EmailPreferences parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EmailPreferences parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -535,4 +494,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java new file mode 100644 index 000000000000..66aaa7ee4a05 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java @@ -0,0 +1,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/datatransfer/v1/transfer.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.datatransfer.v1; + +public interface EmailPreferencesOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EmailPreferences) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * If true, email notifications will be sent on transfer run failures.
+   * 
+ * + * bool enable_failure_email = 1; + * @return The enableFailureEmail. + */ + boolean getEnableFailureEmail(); +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java similarity index 64% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java index bc0631101be4..03fd8a26aaf4 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,59 +5,53 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Represents the encryption configuration for a transfer.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration} */ -public final class EncryptionConfiguration extends com.google.protobuf.GeneratedMessageV3 - implements +public final class EncryptionConfiguration extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) EncryptionConfigurationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use EncryptionConfiguration.newBuilder() to construct. private EncryptionConfiguration(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private EncryptionConfiguration() {} + private EncryptionConfiguration() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EncryptionConfiguration(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); } private int bitField0_; public static final int KMS_KEY_NAME_FIELD_NUMBER = 1; private com.google.protobuf.StringValue kmsKeyName_; /** - * - * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; - * * @return Whether the kmsKeyName field is set. */ @java.lang.Override @@ -80,14 +59,11 @@ public boolean hasKmsKeyName() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; - * * @return The kmsKeyName. */ @java.lang.Override @@ -95,8 +71,6 @@ public com.google.protobuf.StringValue getKmsKeyName() { return kmsKeyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : kmsKeyName_; } /** - * - * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
@@ -109,7 +83,6 @@ public com.google.protobuf.StringValueOrBuilder getKmsKeyNameOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,7 +94,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getKmsKeyName()); } @@ -135,7 +109,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getKmsKeyName()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getKmsKeyName()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -145,17 +120,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other = - (com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) obj; + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other = (com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) obj; if (hasKmsKeyName() != other.hasKmsKeyName()) return false; if (hasKmsKeyName()) { - if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -178,147 +153,137 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EncryptionConfiguration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration 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.EncryptionConfiguration parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EncryptionConfiguration 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.EncryptionConfiguration 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.EncryptionConfiguration parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - 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.EncryptionConfiguration 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.EncryptionConfiguration - 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.EncryptionConfiguration 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.EncryptionConfiguration parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.EncryptionConfiguration parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the encryption configuration for a transfer.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.newBuilder() + // Construct using com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getKmsKeyNameFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -332,14 +297,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance(); } @@ -354,21 +318,19 @@ public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result = - new com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result = new com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.kmsKeyName_ = kmsKeyNameBuilder_ == null ? kmsKeyName_ : kmsKeyNameBuilder_.build(); + result.kmsKeyName_ = kmsKeyNameBuilder_ == null + ? kmsKeyName_ + : kmsKeyNameBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -378,50 +340,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance()) return this; if (other.hasKmsKeyName()) { mergeKmsKeyName(other.getKmsKeyName()); } @@ -451,19 +409,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getKmsKeyNameFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getKmsKeyNameFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -473,52 +431,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.StringValue kmsKeyName_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.StringValue, - com.google.protobuf.StringValue.Builder, - com.google.protobuf.StringValueOrBuilder> - kmsKeyNameBuilder_; + com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> kmsKeyNameBuilder_; /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
* * .google.protobuf.StringValue kms_key_name = 1; - * * @return Whether the kmsKeyName field is set. */ public boolean hasKmsKeyName() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
* * .google.protobuf.StringValue kms_key_name = 1; - * * @return The kmsKeyName. */ public com.google.protobuf.StringValue getKmsKeyName() { if (kmsKeyNameBuilder_ == null) { - return kmsKeyName_ == null - ? com.google.protobuf.StringValue.getDefaultInstance() - : kmsKeyName_; + return kmsKeyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : kmsKeyName_; } else { return kmsKeyNameBuilder_.getMessage(); } } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -539,15 +483,14 @@ public Builder setKmsKeyName(com.google.protobuf.StringValue value) { return this; } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
* * .google.protobuf.StringValue kms_key_name = 1; */ - public Builder setKmsKeyName(com.google.protobuf.StringValue.Builder builderForValue) { + public Builder setKmsKeyName( + com.google.protobuf.StringValue.Builder builderForValue) { if (kmsKeyNameBuilder_ == null) { kmsKeyName_ = builderForValue.build(); } else { @@ -558,8 +501,6 @@ public Builder setKmsKeyName(com.google.protobuf.StringValue.Builder builderForV return this; } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -568,9 +509,9 @@ public Builder setKmsKeyName(com.google.protobuf.StringValue.Builder builderForV */ public Builder mergeKmsKeyName(com.google.protobuf.StringValue value) { if (kmsKeyNameBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && kmsKeyName_ != null - && kmsKeyName_ != com.google.protobuf.StringValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + kmsKeyName_ != null && + kmsKeyName_ != com.google.protobuf.StringValue.getDefaultInstance()) { getKmsKeyNameBuilder().mergeFrom(value); } else { kmsKeyName_ = value; @@ -585,8 +526,6 @@ public Builder mergeKmsKeyName(com.google.protobuf.StringValue value) { return this; } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -604,8 +543,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -618,8 +555,6 @@ public com.google.protobuf.StringValue.Builder getKmsKeyNameBuilder() { return getKmsKeyNameFieldBuilder().getBuilder(); } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -630,14 +565,11 @@ public com.google.protobuf.StringValueOrBuilder getKmsKeyNameOrBuilder() { if (kmsKeyNameBuilder_ != null) { return kmsKeyNameBuilder_.getMessageOrBuilder(); } else { - return kmsKeyName_ == null - ? com.google.protobuf.StringValue.getDefaultInstance() - : kmsKeyName_; + return kmsKeyName_ == null ? + com.google.protobuf.StringValue.getDefaultInstance() : kmsKeyName_; } } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -645,24 +577,21 @@ public com.google.protobuf.StringValueOrBuilder getKmsKeyNameOrBuilder() { * .google.protobuf.StringValue kms_key_name = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.StringValue, - com.google.protobuf.StringValue.Builder, - com.google.protobuf.StringValueOrBuilder> + com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> getKmsKeyNameFieldBuilder() { if (kmsKeyNameBuilder_ == null) { - kmsKeyNameBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.StringValue, - com.google.protobuf.StringValue.Builder, - com.google.protobuf.StringValueOrBuilder>( - getKmsKeyName(), getParentForChildren(), isClean()); + kmsKeyNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>( + getKmsKeyName(), + getParentForChildren(), + isClean()); kmsKeyName_ = null; } return kmsKeyNameBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -672,43 +601,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) - private static final com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration(); } - public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionConfiguration parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionConfiguration parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -720,8 +647,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java similarity index 61% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java index 59dc206a9a64..09bfa86b2408 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java @@ -1,56 +1,32 @@ -/* - * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface EncryptionConfigurationOrBuilder - extends +public interface EncryptionConfigurationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; - * * @return Whether the kmsKeyName field is set. */ boolean hasKmsKeyName(); /** - * - * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; - * * @return The kmsKeyName. */ com.google.protobuf.StringValue getKmsKeyName(); /** - * - * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java similarity index 67% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java index ec9b739dcc7b..0adf88874651 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to enroll a set of data sources so they are visible in the
  * BigQuery UI's `Transfer` tab.
@@ -29,55 +12,50 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest}
  */
-public final class EnrollDataSourcesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class EnrollDataSourcesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)
     EnrollDataSourcesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EnrollDataSourcesRequest.newBuilder() to construct.
   private EnrollDataSourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private EnrollDataSourcesRequest() {
     name_ = "";
-    dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    dataSourceIds_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EnrollDataSourcesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_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_EnrollDataSourcesRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class,
-            com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.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 @@ -86,29 +64,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -117,50 +95,41 @@ public com.google.protobuf.ByteString getNameBytes() { } 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 enrolled. 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() { + public com.google.protobuf.ProtocolStringList + getDataSourceIdsList() { return dataSourceIds_; } /** - * - * *
    * Data sources that are enrolled. 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 enrolled. 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. */ @@ -168,24 +137,21 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** - * - * *
    * Data sources that are enrolled. 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) { + 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; @@ -197,7 +163,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -232,16 +199,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other = - (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other = (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getDataSourceIdsList().equals(other.getDataSourceIdsList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDataSourceIdsList() + .equals(other.getDataSourceIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -265,105 +233,98 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EnrollDataSourcesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest - 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.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest - 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.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.EnrollDataSourcesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to enroll a set of data sources so they are visible in the
    * BigQuery UI's `Transfer` tab.
@@ -371,53 +332,52 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)
       com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_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_EnrollDataSourcesRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class,
-              com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       name_ = "";
-      dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      dataSourceIds_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest
-          .getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -431,17 +391,13 @@ public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest build(
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result =
-          new com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result = new com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result) {
+    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -456,51 +412,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) {
-        return mergeFrom(
-            (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other) {
-      if (other
-          == com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other) {
+      if (other == com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -542,26 +493,23 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureDataSourceIdsIsMutable();
-                dataSourceIds_.add(s);
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureDataSourceIdsIsMutable();
+              dataSourceIds_.add(s);
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -571,25 +519,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -598,21 +543,20 @@ public java.lang.String getName() { } } /** - * - * *
      * 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -620,35 +564,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -658,21 +595,17 @@ public Builder clearName() { 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -682,7 +615,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureDataSourceIdsIsMutable() { if (!dataSourceIds_.isModifiable()) { dataSourceIds_ = new com.google.protobuf.LazyStringArrayList(dataSourceIds_); @@ -690,46 +622,38 @@ private void ensureDataSourceIdsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Data sources that are enrolled. 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() { + public com.google.protobuf.ProtocolStringList + getDataSourceIdsList() { dataSourceIds_.makeImmutable(); return dataSourceIds_; } /** - * - * *
      * Data sources that are enrolled. 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 enrolled. 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. */ @@ -737,39 +661,33 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** - * - * *
      * Data sources that are enrolled. 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) { + public com.google.protobuf.ByteString + getDataSourceIdsBytes(int index) { return dataSourceIds_.getByteString(index); } /** - * - * *
      * Data sources that are enrolled. 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(); - } + public Builder setDataSourceIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDataSourceIdsIsMutable(); dataSourceIds_.set(index, value); bitField0_ |= 0x00000002; @@ -777,22 +695,18 @@ public Builder setDataSourceIds(int index, java.lang.String value) { return this; } /** - * - * *
      * Data sources that are enrolled. 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(); - } + public Builder addDataSourceIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); bitField0_ |= 0x00000002; @@ -800,61 +714,53 @@ public Builder addDataSourceIds(java.lang.String value) { return this; } /** - * - * *
      * Data sources that are enrolled. 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 values) { + public Builder addAllDataSourceIds( + java.lang.Iterable values) { ensureDataSourceIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataSourceIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataSourceIds_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Data sources that are enrolled. 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); - ; + dataSourceIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Data sources that are enrolled. 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(); - } + public Builder addDataSourceIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); @@ -862,9 +768,9 @@ public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -874,43 +780,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnrollDataSourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnrollDataSourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,8 +826,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java similarity index 67% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java index fde47f99b1d4..99de948f5797 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java @@ -1,106 +1,75 @@ -/* - * 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; -public interface EnrollDataSourcesRequestOrBuilder - extends +public interface EnrollDataSourcesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * 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(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Data sources that are enrolled. 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 getDataSourceIdsList(); + java.util.List + getDataSourceIdsList(); /** - * - * *
    * Data sources that are enrolled. 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 enrolled. 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 enrolled. 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); + com.google.protobuf.ByteString + getDataSourceIdsBytes(int index); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java similarity index 63% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java index d4e3c81d326e..1f38d97d34f4 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,66 +5,56 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to get data source info.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest} */ -public final class GetDataSourceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDataSourceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) GetDataSourceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDataSourceRequest.newBuilder() to construct. private GetDataSourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDataSourceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDataSourceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_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_GetDataSourceRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest other = - (com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest other = (com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetDataSourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest 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.GetDataSourceRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetDataSourceRequest 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.GetDataSourceRequest 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.GetDataSourceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest 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.GetDataSourceRequest 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.GetDataSourceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.GetDataSourceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to get data source info.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_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_GetDataSourceRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,14 +294,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance(); } @@ -348,17 +315,13 @@ public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result = - new com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result = new com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -369,39 +332,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest)other); } else { super.mergeFrom(other); return this; @@ -409,9 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -443,19 +403,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -465,29 +423,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -496,25 +449,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -522,43 +472,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -568,34 +507,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -605,43 +538,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataSourceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataSourceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,8 +584,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java new file mode 100644 index 000000000000..069d54757e3b --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java @@ -0,0 +1,34 @@ +// 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; + +public interface GetDataSourceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java similarity index 61% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java index 23cae7d3abe4..633b84105904 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,66 +5,56 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to get data transfer information.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest} */ -public final class GetTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTransferConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) GetTransferConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTransferConfigRequest.newBuilder() to construct. private GetTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTransferConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTransferConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_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_GetTransferConfigRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other = - (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,138 +160,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest 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.GetTransferConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferConfigRequest 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.GetTransferConfigRequest 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.GetTransferConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - 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.GetTransferConfigRequest 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.GetTransferConfigRequest - 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.GetTransferConfigRequest 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.GetTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.GetTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to get data transfer information.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_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_GetTransferConfigRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,16 +294,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.getDefaultInstance(); } @java.lang.Override @@ -351,17 +315,13 @@ public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result = - new com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -372,51 +332,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -448,19 +403,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -470,29 +423,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -501,25 +449,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -527,43 +472,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -573,34 +507,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -610,43 +538,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,8 +584,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java new file mode 100644 index 000000000000..9e179140acb7 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java @@ -0,0 +1,34 @@ +// 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; + +public interface GetTransferConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java similarity index 63% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java index 93a5d2636a4c..616ae2bf475a 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,56 +5,49 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to get data transfer run information.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest} */ -public final class GetTransferRunRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTransferRunRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) GetTransferRunRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTransferRunRequest.newBuilder() to construct. private GetTransferRunRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTransferRunRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTransferRunRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_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_GetTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -77,10 +55,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,15 +64,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -105,18 +79,17 @@ public java.lang.String getName() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other = - (com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other = (com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferRunRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest 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.GetTransferRunRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferRunRequest 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.GetTransferRunRequest 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.GetTransferRunRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest 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.GetTransferRunRequest 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.GetTransferRunRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.GetTransferRunRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to get data transfer run information.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_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_GetTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,14 +296,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance(); } @@ -350,17 +317,13 @@ public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result = - new com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result = new com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -371,50 +334,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,19 +405,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -468,13 +425,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -482,16 +436,14 @@ public Builder mergeFrom(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -500,8 +452,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -509,17 +459,16 @@ public java.lang.String getName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -527,8 +476,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -536,25 +483,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -562,10 +503,7 @@ public Builder setName(java.lang.String value) {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -575,8 +513,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -584,26 +520,22 @@ public Builder clearName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -613,43 +545,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTransferRunRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTransferRunRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,8 +591,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java similarity index 51% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java index a0ea3524be87..e7f3b36de58d 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * 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; -public interface GetTransferRunRequestOrBuilder - extends +public interface GetTransferRunRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -34,16 +16,11 @@ public interface GetTransferRunRequestOrBuilder
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -51,11 +28,9 @@ public interface GetTransferRunRequestOrBuilder
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java similarity index 67% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java index a085c10a6771..60c14fa4b8c0 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Request to list supported data sources and their data transfer settings.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest} */ -public final class ListDataSourcesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataSourcesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) ListDataSourcesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataSourcesRequest.newBuilder() to construct. private ListDataSourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataSourcesRequest() { parent_ = ""; pageToken_ = ""; @@ -45,42 +27,35 @@ private ListDataSourcesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataSourcesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_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_ListDataSourcesRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -124,12 +97,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -139,7 +109,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -148,15 +117,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -166,15 +134,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -185,14 +154,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -201,7 +167,6 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -239,7 +205,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -249,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other = - (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,136 +252,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest 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.ListDataSourcesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesRequest 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.ListDataSourcesRequest 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.ListDataSourcesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest 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.ListDataSourcesRequest 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.ListDataSourcesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListDataSourcesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to list supported data sources and their data transfer settings.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_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_ListDataSourcesRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -424,14 +388,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance(); } @@ -446,17 +409,13 @@ public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result = - new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -473,50 +432,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -556,31 +511,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -590,29 +541,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -621,25 +567,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -647,43 +590,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -693,25 +625,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -721,8 +647,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -732,13 +656,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -747,8 +671,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -758,14 +680,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -773,8 +696,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -784,22 +705,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -809,7 +726,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -819,8 +735,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -830,14 +744,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; @@ -845,16 +757,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -862,14 +771,11 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -881,14 +787,11 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -897,9 +800,9 @@ public Builder clearPageSize() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -909,43 +812,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataSourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataSourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -957,8 +858,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java similarity index 64% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java index 4a0b6f865c99..6e0c5e34db84 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java @@ -1,65 +1,38 @@ -/* - * 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; -public interface ListDataSourcesRequestOrBuilder - extends +public interface ListDataSourcesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -69,13 +42,10 @@ public interface ListDataSourcesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -85,20 +55,17 @@ public interface ListDataSourcesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java similarity index 72% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java index aa14f721ea6d..d2b144b020f1 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Returns list of supported data sources and their metadata.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse} */ -public final class ListDataSourcesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataSourcesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) ListDataSourcesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataSourcesResponse.newBuilder() to construct. private ListDataSourcesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataSourcesResponse() { dataSources_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,32 +27,28 @@ private ListDataSourcesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataSourcesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_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_ListDataSourcesResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); } public static final int DATA_SOURCES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List dataSources_; /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
@@ -82,8 +60,6 @@ public java.util.List getD return dataSources_; } /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
@@ -91,13 +67,11 @@ public java.util.List getD * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataSourcesOrBuilderList() { return dataSources_; } /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
@@ -109,8 +83,6 @@ public int getDataSourcesCount() { return dataSources_.size(); } /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
@@ -122,8 +94,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSources(int i return dataSources_.get(index); } /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
@@ -137,12 +107,9 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -151,7 +118,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -160,15 +126,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -177,15 +142,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dataSources_.size(); i++) { output.writeMessage(1, dataSources_.get(i)); } @@ -223,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataSources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataSources_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dataSources_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other = - (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) obj; - if (!getDataSourcesList().equals(other.getDataSourcesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDataSourcesList() + .equals(other.getDataSourcesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,138 +237,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse 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.ListDataSourcesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesResponse 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.ListDataSourcesResponse 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.ListDataSourcesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse - 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.ListDataSourcesResponse 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.ListDataSourcesResponse - 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.ListDataSourcesResponse 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.ListDataSourcesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListDataSourcesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Returns list of supported data sources and their metadata.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_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_ListDataSourcesResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -417,14 +378,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance(); } @@ -439,18 +399,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result = - new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { if (dataSourcesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataSources_ = java.util.Collections.unmodifiableList(dataSources_); @@ -462,8 +418,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -474,50 +429,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance()) return this; if (dataSourcesBuilder_ == null) { if (!other.dataSources_.isEmpty()) { if (dataSources_.isEmpty()) { @@ -536,10 +487,9 @@ public Builder mergeFrom( dataSourcesBuilder_ = null; dataSources_ = other.dataSources_; bitField0_ = (bitField0_ & ~0x00000001); - dataSourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDataSourcesFieldBuilder() - : null; + dataSourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDataSourcesFieldBuilder() : null; } else { dataSourcesBuilder_.addAllMessages(other.dataSources_); } @@ -576,33 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.datatransfer.v1.DataSource m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.DataSource.parser(), - extensionRegistry); - if (dataSourcesBuilder_ == null) { - ensureDataSourcesIsMutable(); - dataSources_.add(m); - } else { - dataSourcesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.bigquery.datatransfer.v1.DataSource m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.DataSource.parser(), + extensionRegistry); + if (dataSourcesBuilder_ == null) { + ensureDataSourcesIsMutable(); + dataSources_.add(m); + } else { + dataSourcesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -612,38 +559,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List dataSources_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDataSourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataSources_ = - new java.util.ArrayList( - dataSources_); + dataSources_ = new java.util.ArrayList(dataSources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSource, - com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> - dataSourcesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.DataSource, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> dataSourcesBuilder_; /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - public java.util.List - getDataSourcesList() { + public java.util.List getDataSourcesList() { if (dataSourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(dataSources_); } else { @@ -651,8 +588,6 @@ private void ensureDataSourcesIsMutable() { } } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -667,8 +602,6 @@ public int getDataSourcesCount() { } } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -683,8 +616,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSources(int i } } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -706,8 +637,6 @@ public Builder setDataSources( return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -726,8 +655,6 @@ public Builder setDataSources( return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -748,8 +675,6 @@ public Builder addDataSources(com.google.cloud.bigquery.datatransfer.v1.DataSour return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -771,8 +696,6 @@ public Builder addDataSources( return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -791,8 +714,6 @@ public Builder addDataSources( return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -811,8 +732,6 @@ public Builder addDataSources( return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -823,7 +742,8 @@ public Builder addAllDataSources( java.lang.Iterable values) { if (dataSourcesBuilder_ == null) { ensureDataSourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataSources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataSources_); onChanged(); } else { dataSourcesBuilder_.addAllMessages(values); @@ -831,8 +751,6 @@ public Builder addAllDataSources( return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -850,8 +768,6 @@ public Builder clearDataSources() { return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -869,8 +785,6 @@ public Builder removeDataSources(int index) { return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -882,8 +796,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder getDataSourc return getDataSourcesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -893,22 +805,19 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder getDataSourc public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBuilder( int index) { if (dataSourcesBuilder_ == null) { - return dataSources_.get(index); - } else { + return dataSources_.get(index); } else { return dataSourcesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - public java.util.List - getDataSourcesOrBuilderList() { + public java.util.List + getDataSourcesOrBuilderList() { if (dataSourcesBuilder_ != null) { return dataSourcesBuilder_.getMessageOrBuilderList(); } else { @@ -916,8 +825,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour } } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -925,12 +832,10 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourcesBuilder() { - return getDataSourcesFieldBuilder() - .addBuilder(com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); + return getDataSourcesFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -939,36 +844,30 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourc */ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourcesBuilder( int index) { - return getDataSourcesFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); + return getDataSourcesFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - public java.util.List - getDataSourcesBuilderList() { + public java.util.List + getDataSourcesBuilderList() { return getDataSourcesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSource, - com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.DataSource, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> getDataSourcesFieldBuilder() { if (dataSourcesBuilder_ == null) { - dataSourcesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSource, - com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder>( - dataSources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + dataSourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.DataSource, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder>( + dataSources_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); dataSources_ = null; } return dataSourcesBuilder_; @@ -976,8 +875,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourc private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -986,13 +883,13 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourc
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1001,8 +898,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1011,14 +906,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1026,8 +922,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1036,22 +930,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1060,7 +950,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1070,8 +959,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1080,23 +967,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,43 +991,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataSourcesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataSourcesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1154,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java similarity index 73% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java index 8d3b4d1ac5ad..34724b45911f 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * 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; -public interface ListDataSourcesResponseOrBuilder - extends +public interface ListDataSourcesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - java.util.List getDataSourcesList(); + java.util.List + getDataSourcesList(); /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
@@ -45,8 +26,6 @@ public interface ListDataSourcesResponseOrBuilder */ com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSources(int index); /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
@@ -55,30 +34,25 @@ public interface ListDataSourcesResponseOrBuilder */ int getDataSourcesCount(); /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - java.util.List + java.util.List getDataSourcesOrBuilderList(); /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBuilder(int index); + com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBuilder( + int index); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -87,13 +61,10 @@ public interface ListDataSourcesResponseOrBuilder
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -102,8 +73,8 @@ public interface ListDataSourcesResponseOrBuilder
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java similarity index 68% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java index a0b68db45243..b30b06196e19 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,68 +5,59 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to list data transfers configured for a BigQuery project.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest} */ -public final class ListTransferConfigsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferConfigsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) ListTransferConfigsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferConfigsRequest.newBuilder() to construct. private ListTransferConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferConfigsRequest() { parent_ = ""; - dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + dataSourceIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferConfigsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_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_ListTransferConfigsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,47 +99,38 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int DATA_SOURCE_IDS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; - * * @return A list containing the dataSourceIds. */ - public com.google.protobuf.ProtocolStringList getDataSourceIdsList() { + public com.google.protobuf.ProtocolStringList + getDataSourceIdsList() { return dataSourceIds_; } /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; - * * @return The count of dataSourceIds. */ public int getDataSourceIdsCount() { return dataSourceIds_.size(); } /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; - * * @param index The index of the element to return. * @return The dataSourceIds at the given index. */ @@ -173,28 +138,23 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * 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) { + public com.google.protobuf.ByteString + getDataSourceIdsBytes(int index) { return dataSourceIds_.getByteString(index); } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -204,7 +164,6 @@ public com.google.protobuf.ByteString getDataSourceIdsBytes(int index) {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -213,15 +172,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -231,15 +189,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -250,14 +209,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -266,7 +222,6 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,7 +233,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -315,7 +271,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -325,18 +282,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other = - (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getDataSourceIdsList().equals(other.getDataSourceIdsList())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getDataSourceIdsList() + .equals(other.getDataSourceIdsList())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -364,160 +324,152 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest 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.ListTransferConfigsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsRequest 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.ListTransferConfigsRequest 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.ListTransferConfigsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - 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.ListTransferConfigsRequest 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.ListTransferConfigsRequest - 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.ListTransferConfigsRequest 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.ListTransferConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListTransferConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to list data transfers configured for a BigQuery project.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_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_ListTransferConfigsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; parent_ = ""; - dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + dataSourceIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); pageToken_ = ""; pageSize_ = 0; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.getDefaultInstance(); } @java.lang.Override @@ -531,17 +483,13 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest buil @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result = - new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -562,51 +510,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -656,38 +599,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureDataSourceIdsIsMutable(); - dataSourceIds_.add(s); - break; - } // case 18 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureDataSourceIdsIsMutable(); + dataSourceIds_.add(s); + break; + } // case 18 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -697,29 +635,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -728,25 +661,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -754,43 +684,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -800,25 +719,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -828,7 +741,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureDataSourceIdsIsMutable() { if (!dataSourceIds_.isModifiable()) { dataSourceIds_ = new com.google.protobuf.LazyStringArrayList(dataSourceIds_); @@ -836,43 +748,35 @@ private void ensureDataSourceIdsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; - * * @return A list containing the dataSourceIds. */ - public com.google.protobuf.ProtocolStringList getDataSourceIdsList() { + public com.google.protobuf.ProtocolStringList + getDataSourceIdsList() { dataSourceIds_.makeImmutable(); return dataSourceIds_; } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; - * * @return The count of dataSourceIds. */ public int getDataSourceIdsCount() { return dataSourceIds_.size(); } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; - * * @param index The index of the element to return. * @return The dataSourceIds at the given index. */ @@ -880,37 +784,31 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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) { + public com.google.protobuf.ByteString + getDataSourceIdsBytes(int index) { return dataSourceIds_.getByteString(index); } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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(); - } + public Builder setDataSourceIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDataSourceIdsIsMutable(); dataSourceIds_.set(index, value); bitField0_ |= 0x00000002; @@ -918,21 +816,17 @@ public Builder setDataSourceIds(int index, java.lang.String value) { return this; } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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(); - } + public Builder addDataSourceIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); bitField0_ |= 0x00000002; @@ -940,58 +834,50 @@ public Builder addDataSourceIds(java.lang.String value) { return this; } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; - * * @param values The dataSourceIds to add. * @return This builder for chaining. */ - public Builder addAllDataSourceIds(java.lang.Iterable values) { + public Builder addAllDataSourceIds( + java.lang.Iterable values) { ensureDataSourceIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataSourceIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataSourceIds_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; - * * @return This builder for chaining. */ public Builder clearDataSourceIds() { - dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + dataSourceIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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(); - } + public Builder addDataSourceIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); @@ -1002,8 +888,6 @@ public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -1013,13 +897,13 @@ public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1028,8 +912,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -1039,14 +921,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1054,8 +937,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -1065,22 +946,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -1090,7 +967,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1100,8 +976,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -1111,14 +985,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1126,16 +998,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1143,14 +1012,11 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1162,14 +1028,11 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1178,9 +1041,9 @@ public Builder clearPageSize() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1190,43 +1053,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferConfigsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferConfigsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1238,8 +1099,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java similarity index 70% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java index 8dd0c1b478d1..d64042310a6c 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java @@ -1,116 +1,79 @@ -/* - * 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; -public interface ListTransferConfigsRequestOrBuilder - extends +public interface ListTransferConfigsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; - * * @return A list containing the dataSourceIds. */ - java.util.List getDataSourceIdsList(); + java.util.List + getDataSourceIdsList(); /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; - * * @return The count of dataSourceIds. */ int getDataSourceIdsCount(); /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * 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); /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * 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); + com.google.protobuf.ByteString + getDataSourceIdsBytes(int index); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -120,13 +83,10 @@ public interface ListTransferConfigsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -136,20 +96,17 @@ public interface ListTransferConfigsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java similarity index 62% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java index cd105c609638..d5d381e1b328 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * The returned list of pipelines in the project.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse} */ -public final class ListTransferConfigsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferConfigsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) ListTransferConfigsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferConfigsResponse.newBuilder() to construct. private ListTransferConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferConfigsResponse() { transferConfigs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,115 +27,89 @@ private ListTransferConfigsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferConfigsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_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_ListTransferConfigsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); } public static final int TRANSFER_CONFIGS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List transferConfigs_; /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getTransferConfigsList() { + public java.util.List getTransferConfigsList() { return transferConfigs_; } /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getTransferConfigsOrBuilderList() { return transferConfigs_; } /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getTransferConfigsCount() { return transferConfigs_.size(); } /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfigs(int index) { return transferConfigs_.get(index); } /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder - getTransferConfigsOrBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigsOrBuilder( + int index) { return transferConfigs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -162,7 +118,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -171,15 +126,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -188,15 +142,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -205,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < transferConfigs_.size(); i++) { output.writeMessage(1, transferConfigs_.get(i)); } @@ -234,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, transferConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -247,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other = - (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) obj; - if (!getTransferConfigsList().equals(other.getTransferConfigsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTransferConfigsList() + .equals(other.getTransferConfigsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -280,138 +237,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse 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.ListTransferConfigsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsResponse 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.ListTransferConfigsResponse 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.ListTransferConfigsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - 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.ListTransferConfigsResponse 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.ListTransferConfigsResponse - 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.ListTransferConfigsResponse 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.ListTransferConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListTransferConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The returned list of pipelines in the project.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_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_ListTransferConfigsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -428,16 +378,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.getDefaultInstance(); } @java.lang.Override @@ -451,18 +399,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse bui @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result = - new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { if (transferConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { transferConfigs_ = java.util.Collections.unmodifiableList(transferConfigs_); @@ -474,8 +418,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -486,51 +429,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.getDefaultInstance()) return this; if (transferConfigsBuilder_ == null) { if (!other.transferConfigs_.isEmpty()) { if (transferConfigs_.isEmpty()) { @@ -549,10 +487,9 @@ public Builder mergeFrom( transferConfigsBuilder_ = null; transferConfigs_ = other.transferConfigs_; bitField0_ = (bitField0_ & ~0x00000001); - transferConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTransferConfigsFieldBuilder() - : null; + transferConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTransferConfigsFieldBuilder() : null; } else { transferConfigsBuilder_.addAllMessages(other.transferConfigs_); } @@ -589,33 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.datatransfer.v1.TransferConfig m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.parser(), - extensionRegistry); - if (transferConfigsBuilder_ == null) { - ensureTransferConfigsIsMutable(); - transferConfigs_.add(m); - } else { - transferConfigsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.bigquery.datatransfer.v1.TransferConfig m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.parser(), + extensionRegistry); + if (transferConfigsBuilder_ == null) { + ensureTransferConfigsIsMutable(); + transferConfigs_.add(m); + } else { + transferConfigsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -625,40 +559,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - transferConfigs_ = java.util.Collections.emptyList(); - + private java.util.List transferConfigs_ = + java.util.Collections.emptyList(); private void ensureTransferConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferConfigs_ = - new java.util.ArrayList( - transferConfigs_); + transferConfigs_ = new java.util.ArrayList(transferConfigs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> - transferConfigsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> transferConfigsBuilder_; /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTransferConfigsList() { + public java.util.List getTransferConfigsList() { if (transferConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(transferConfigs_); } else { @@ -666,15 +588,11 @@ private void ensureTransferConfigsIsMutable() { } } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getTransferConfigsCount() { if (transferConfigsBuilder_ == null) { @@ -684,15 +602,11 @@ public int getTransferConfigsCount() { } } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfigs(int index) { if (transferConfigsBuilder_ == null) { @@ -702,15 +616,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi } } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTransferConfigs( int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { @@ -727,19 +637,14 @@ public Builder setTransferConfigs( return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTransferConfigs( - int index, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { if (transferConfigsBuilder_ == null) { ensureTransferConfigsIsMutable(); transferConfigs_.set(index, builderForValue.build()); @@ -750,18 +655,13 @@ public Builder setTransferConfigs( return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addTransferConfigs( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder addTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -775,15 +675,11 @@ public Builder addTransferConfigs( return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferConfigs( int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { @@ -800,15 +696,11 @@ public Builder addTransferConfigs( return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferConfigs( com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { @@ -822,19 +714,14 @@ public Builder addTransferConfigs( return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferConfigs( - int index, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { if (transferConfigsBuilder_ == null) { ensureTransferConfigsIsMutable(); transferConfigs_.add(index, builderForValue.build()); @@ -845,22 +732,18 @@ public Builder addTransferConfigs( return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllTransferConfigs( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (transferConfigsBuilder_ == null) { ensureTransferConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, transferConfigs_); onChanged(); } else { transferConfigsBuilder_.addAllMessages(values); @@ -868,15 +751,11 @@ public Builder addAllTransferConfigs( return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTransferConfigs() { if (transferConfigsBuilder_ == null) { @@ -889,15 +768,11 @@ public Builder clearTransferConfigs() { return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeTransferConfigs(int index) { if (transferConfigsBuilder_ == null) { @@ -910,53 +785,39 @@ public Builder removeTransferConfigs(int index) { return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder - getTransferConfigsBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder getTransferConfigsBuilder( + int index) { return getTransferConfigsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder - getTransferConfigsOrBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigsOrBuilder( + int index) { if (transferConfigsBuilder_ == null) { - return transferConfigs_.get(index); - } else { + return transferConfigs_.get(index); } else { return transferConfigsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - ? extends com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> - getTransferConfigsOrBuilderList() { + public java.util.List + getTransferConfigsOrBuilderList() { if (transferConfigsBuilder_ != null) { return transferConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -964,66 +825,45 @@ public Builder removeTransferConfigs(int index) { } } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder - addTransferConfigsBuilder() { - return getTransferConfigsFieldBuilder() - .addBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder addTransferConfigsBuilder() { + return getTransferConfigsFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder - addTransferConfigsBuilder(int index) { - return getTransferConfigsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder addTransferConfigsBuilder( + int index) { + return getTransferConfigsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTransferConfigsBuilderList() { + public java.util.List + getTransferConfigsBuilderList() { return getTransferConfigsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> getTransferConfigsFieldBuilder() { if (transferConfigsBuilder_ == null) { - transferConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( + transferConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( transferConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1035,8 +875,6 @@ public Builder removeTransferConfigs(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1045,13 +883,13 @@ public Builder removeTransferConfigs(int index) {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1060,8 +898,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1070,14 +906,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1085,8 +922,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1095,22 +930,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1119,7 +950,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1129,8 +959,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1139,23 +967,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1165,43 +991,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferConfigsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferConfigsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1213,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java similarity index 55% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java index e860a8617300..a5421827d475 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java @@ -1,95 +1,58 @@ -/* - * 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; -public interface ListTransferConfigsResponseOrBuilder - extends +public interface ListTransferConfigsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getTransferConfigsList(); + java.util.List + getTransferConfigsList(); /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfigs(int index); /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getTransferConfigsCount(); /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getTransferConfigsOrBuilderList(); /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigsOrBuilder( int index); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -98,13 +61,10 @@ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferCon
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -113,8 +73,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferCon
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java similarity index 65% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java index 6298b8237c29..551e5a547230 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to get user facing log messages associated with data transfer run.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest} */ -public final class ListTransferLogsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferLogsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) ListTransferLogsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferLogsRequest.newBuilder() to construct. private ListTransferLogsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferLogsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,42 +28,35 @@ private ListTransferLogsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferLogsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_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_ListTransferLogsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +65,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,12 +98,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -140,7 +110,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -149,15 +118,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -167,15 +135,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -186,14 +155,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_ = 0; /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -202,62 +168,38 @@ public int getPageSize() { } public static final int MESSAGE_TYPES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private java.util.List messageTypes_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity> - messageTypes_converter_ = + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity> messageTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>() { - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity - convert(java.lang.Integer from) { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity - .forNumber(from); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity - .UNRECOGNIZED - : result; + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>() { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity convert(java.lang.Integer from) { + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber(from); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED : result; } }; /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return A list containing the messageTypes. */ @java.lang.Override - public java.util.List - getMessageTypesList() { + public java.util.List getMessageTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>( - messageTypes_, messageTypes_converter_); + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>(messageTypes_, messageTypes_converter_); } /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return The count of messageTypes. */ @java.lang.Override @@ -265,55 +207,40 @@ public int getMessageTypesCount() { return messageTypes_.size(); } /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index of the element to return. * @return The messageTypes at the given index. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes(int index) { return messageTypes_converter_.convert(messageTypes_.get(index)); } /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return A list containing the enum numeric values on the wire for messageTypes. */ @java.lang.Override - public java.util.List getMessageTypesValueList() { + public java.util.List + getMessageTypesValueList() { return messageTypes_; } /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index of the value to return. * @return The enum numeric value on the wire of messageTypes at the given index. */ @@ -321,11 +248,9 @@ public java.util.List getMessageTypesValueList() { public int getMessageTypesValue(int index) { return messageTypes_.get(index); } - private int messageTypesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +262,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -371,20 +297,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, pageSize_); } { int dataSize = 0; for (int i = 0; i < messageTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(messageTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(messageTypes_.get(i)); } size += dataSize; - if (!getMessageTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - messageTypesMemoizedSerializedSize = dataSize; + if (!getMessageTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }messageTypesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -394,17 +320,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other = - (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (!messageTypes_.equals(other.messageTypes_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -433,138 +361,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest 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.ListTransferLogsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsRequest 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.ListTransferLogsRequest 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.ListTransferLogsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest - 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.ListTransferLogsRequest 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.ListTransferLogsRequest - 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.ListTransferLogsRequest 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.ListTransferLogsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListTransferLogsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to get user facing log messages associated with data transfer run.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_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_ListTransferLogsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -578,14 +499,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance(); } @@ -600,18 +520,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result = - new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { if (((bitField0_ & 0x00000008) != 0)) { messageTypes_ = java.util.Collections.unmodifiableList(messageTypes_); bitField0_ = (bitField0_ & ~0x00000008); @@ -619,8 +535,7 @@ private void buildPartialRepeatedFields( result.messageTypes_ = messageTypes_; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -637,50 +552,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -730,50 +641,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 34 - case 40: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 40 - case 48: - { + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 34: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 34 + case 40: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 40 + case 48: { + int tmpRaw = input.readEnum(); + ensureMessageTypesIsMutable(); + messageTypes_.add(tmpRaw); + break; + } // case 48 + case 50: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureMessageTypesIsMutable(); messageTypes_.add(tmpRaw); - break; - } // case 48 - case 50: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureMessageTypesIsMutable(); - messageTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -783,29 +688,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -814,25 +714,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -840,43 +737,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -886,25 +772,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -914,8 +794,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -925,13 +803,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -940,8 +818,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -951,14 +827,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -966,8 +843,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -977,22 +852,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -1002,7 +873,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1012,8 +882,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -1023,14 +891,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; @@ -1038,16 +904,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -1055,14 +918,11 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 5; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1074,14 +934,11 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 5; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1091,8 +948,8 @@ public Builder clearPageSize() { return this; } - private java.util.List messageTypes_ = java.util.Collections.emptyList(); - + private java.util.List messageTypes_ = + java.util.Collections.emptyList(); private void ensureMessageTypesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { messageTypes_ = new java.util.ArrayList(messageTypes_); @@ -1100,81 +957,56 @@ private void ensureMessageTypesIsMutable() { } } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return A list containing the messageTypes. */ - public java.util.List - getMessageTypesList() { + public java.util.List getMessageTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>( - messageTypes_, messageTypes_converter_); + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>(messageTypes_, messageTypes_converter_); } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return The count of messageTypes. */ public int getMessageTypesCount() { return messageTypes_.size(); } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index of the element to return. * @return The messageTypes at the given index. */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity - getMessageTypes(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes(int index) { return messageTypes_converter_.convert(messageTypes_.get(index)); } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index to set the value at. * @param value The messageTypes to set. * @return This builder for chaining. */ public Builder setMessageTypes( - int index, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { + int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { if (value == null) { throw new NullPointerException(); } @@ -1184,22 +1016,16 @@ public Builder setMessageTypes( return this; } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param value The messageTypes to add. * @return This builder for chaining. */ - public Builder addMessageTypes( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { + public Builder addMessageTypes(com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { if (value == null) { throw new NullPointerException(); } @@ -1209,44 +1035,31 @@ public Builder addMessageTypes( return this; } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param values The messageTypes to add. * @return This builder for chaining. */ public Builder addAllMessageTypes( - java.lang.Iterable< - ? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity> - values) { + java.lang.Iterable values) { ensureMessageTypesIsMutable(); - for (com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value : - values) { + for (com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value : values) { messageTypes_.add(value.getNumber()); } onChanged(); return this; } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return This builder for chaining. */ public Builder clearMessageTypes() { @@ -1256,34 +1069,25 @@ public Builder clearMessageTypes() { return this; } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return A list containing the enum numeric values on the wire for messageTypes. */ - public java.util.List getMessageTypesValueList() { + public java.util.List + getMessageTypesValueList() { return java.util.Collections.unmodifiableList(messageTypes_); } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index of the value to return. * @return The enum numeric value on the wire of messageTypes at the given index. */ @@ -1291,39 +1095,30 @@ public int getMessageTypesValue(int index) { return messageTypes_.get(index); } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index to set the value at. * @param value The enum numeric value on the wire for messageTypes to set. * @return This builder for chaining. */ - public Builder setMessageTypesValue(int index, int value) { + public Builder setMessageTypesValue( + int index, int value) { ensureMessageTypesIsMutable(); messageTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param value The enum numeric value on the wire for messageTypes to add. * @return This builder for chaining. */ @@ -1334,21 +1129,17 @@ public Builder addMessageTypesValue(int value) { return this; } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param values The enum numeric values on the wire for messageTypes to add. * @return This builder for chaining. */ - public Builder addAllMessageTypesValue(java.lang.Iterable values) { + public Builder addAllMessageTypesValue( + java.lang.Iterable values) { ensureMessageTypesIsMutable(); for (int value : values) { messageTypes_.add(value); @@ -1356,9 +1147,9 @@ public Builder addAllMessageTypesValue(java.lang.Iterable val onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1368,43 +1159,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferLogsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferLogsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1416,8 +1205,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java similarity index 62% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java index c1f81c9eca98..ac328bd5f25d 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java @@ -1,65 +1,38 @@ -/* - * 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; -public interface ListTransferLogsRequestOrBuilder - extends +public interface ListTransferLogsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -69,13 +42,10 @@ public interface ListTransferLogsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -85,99 +55,70 @@ public interface ListTransferLogsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return A list containing the messageTypes. */ - java.util.List - getMessageTypesList(); + java.util.List getMessageTypesList(); /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return The count of messageTypes. */ int getMessageTypesCount(); /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index of the element to return. * @return The messageTypes at the given index. */ - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes( - int index); + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes(int index); /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return A list containing the enum numeric values on the wire for messageTypes. */ - java.util.List getMessageTypesValueList(); + java.util.List + getMessageTypesValueList(); /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index of the value to return. * @return The enum numeric value on the wire of messageTypes at the given index. */ diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java similarity index 62% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java index e5c856f18b85..84ea5d2a7f55 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * The returned list transfer run messages.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse} */ -public final class ListTransferLogsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferLogsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) ListTransferLogsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferLogsResponse.newBuilder() to construct. private ListTransferLogsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferLogsResponse() { transferMessages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,117 +27,89 @@ private ListTransferLogsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferLogsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_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_ListTransferLogsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); } public static final int TRANSFER_MESSAGES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - transferMessages_; + private java.util.List transferMessages_; /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getTransferMessagesList() { + public java.util.List getTransferMessagesList() { return transferMessages_; } /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> + public java.util.List getTransferMessagesOrBuilderList() { return transferMessages_; } /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getTransferMessagesCount() { return transferMessages_.size(); } /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages(int index) { return transferMessages_.get(index); } /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder - getTransferMessagesOrBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMessagesOrBuilder( + int index) { return transferMessages_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -164,7 +118,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMess
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -173,15 +126,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -190,15 +142,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -207,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < transferMessages_.size(); i++) { output.writeMessage(1, transferMessages_.get(i)); } @@ -236,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferMessages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferMessages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, transferMessages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -249,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other = - (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) obj; - if (!getTransferMessagesList().equals(other.getTransferMessagesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTransferMessagesList() + .equals(other.getTransferMessagesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -282,138 +237,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse 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.ListTransferLogsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsResponse 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.ListTransferLogsResponse 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.ListTransferLogsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - 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.ListTransferLogsResponse 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.ListTransferLogsResponse - 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.ListTransferLogsResponse 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.ListTransferLogsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListTransferLogsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The returned list transfer run messages.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_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_ListTransferLogsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -430,16 +378,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.getDefaultInstance(); } @java.lang.Override @@ -453,18 +399,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result = - new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { if (transferMessagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { transferMessages_ = java.util.Collections.unmodifiableList(transferMessages_); @@ -476,8 +418,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -488,51 +429,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.getDefaultInstance()) return this; if (transferMessagesBuilder_ == null) { if (!other.transferMessages_.isEmpty()) { if (transferMessages_.isEmpty()) { @@ -551,10 +487,9 @@ public Builder mergeFrom( transferMessagesBuilder_ = null; transferMessages_ = other.transferMessages_; bitField0_ = (bitField0_ & ~0x00000001); - transferMessagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTransferMessagesFieldBuilder() - : null; + transferMessagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTransferMessagesFieldBuilder() : null; } else { transferMessagesBuilder_.addAllMessages(other.transferMessages_); } @@ -591,33 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.parser(), - extensionRegistry); - if (transferMessagesBuilder_ == null) { - ensureTransferMessagesIsMutable(); - transferMessages_.add(m); - } else { - transferMessagesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.bigquery.datatransfer.v1.TransferMessage m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.parser(), + extensionRegistry); + if (transferMessagesBuilder_ == null) { + ensureTransferMessagesIsMutable(); + transferMessages_.add(m); + } else { + transferMessagesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -627,40 +559,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - transferMessages_ = java.util.Collections.emptyList(); - + private java.util.List transferMessages_ = + java.util.Collections.emptyList(); private void ensureTransferMessagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferMessages_ = - new java.util.ArrayList( - transferMessages_); + transferMessages_ = new java.util.ArrayList(transferMessages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferMessage, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> - transferMessagesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferMessage, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> transferMessagesBuilder_; /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTransferMessagesList() { + public java.util.List getTransferMessagesList() { if (transferMessagesBuilder_ == null) { return java.util.Collections.unmodifiableList(transferMessages_); } else { @@ -668,15 +588,11 @@ private void ensureTransferMessagesIsMutable() { } } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getTransferMessagesCount() { if (transferMessagesBuilder_ == null) { @@ -686,18 +602,13 @@ public int getTransferMessagesCount() { } } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages(int index) { if (transferMessagesBuilder_ == null) { return transferMessages_.get(index); } else { @@ -705,15 +616,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMess } } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTransferMessages( int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { @@ -730,19 +637,14 @@ public Builder setTransferMessages( return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTransferMessages( - int index, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { if (transferMessagesBuilder_ == null) { ensureTransferMessagesIsMutable(); transferMessages_.set(index, builderForValue.build()); @@ -753,18 +655,13 @@ public Builder setTransferMessages( return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addTransferMessages( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { + public Builder addTransferMessages(com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { if (transferMessagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -778,15 +675,11 @@ public Builder addTransferMessages( return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferMessages( int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { @@ -803,15 +696,11 @@ public Builder addTransferMessages( return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferMessages( com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { @@ -825,19 +714,14 @@ public Builder addTransferMessages( return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferMessages( - int index, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { if (transferMessagesBuilder_ == null) { ensureTransferMessagesIsMutable(); transferMessages_.add(index, builderForValue.build()); @@ -848,22 +732,18 @@ public Builder addTransferMessages( return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllTransferMessages( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (transferMessagesBuilder_ == null) { ensureTransferMessagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferMessages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, transferMessages_); onChanged(); } else { transferMessagesBuilder_.addAllMessages(values); @@ -871,15 +751,11 @@ public Builder addAllTransferMessages( return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTransferMessages() { if (transferMessagesBuilder_ == null) { @@ -892,15 +768,11 @@ public Builder clearTransferMessages() { return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeTransferMessages(int index) { if (transferMessagesBuilder_ == null) { @@ -913,53 +785,39 @@ public Builder removeTransferMessages(int index) { return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder - getTransferMessagesBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder getTransferMessagesBuilder( + int index) { return getTransferMessagesFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder - getTransferMessagesOrBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMessagesOrBuilder( + int index) { if (transferMessagesBuilder_ == null) { - return transferMessages_.get(index); - } else { + return transferMessages_.get(index); } else { return transferMessagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - ? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> - getTransferMessagesOrBuilderList() { + public java.util.List + getTransferMessagesOrBuilderList() { if (transferMessagesBuilder_ != null) { return transferMessagesBuilder_.getMessageOrBuilderList(); } else { @@ -967,67 +825,45 @@ public Builder removeTransferMessages(int index) { } } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder - addTransferMessagesBuilder() { - return getTransferMessagesFieldBuilder() - .addBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder addTransferMessagesBuilder() { + return getTransferMessagesFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder - addTransferMessagesBuilder(int index) { - return getTransferMessagesFieldBuilder() - .addBuilder( - index, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder addTransferMessagesBuilder( + int index) { + return getTransferMessagesFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTransferMessagesBuilderList() { + public java.util.List + getTransferMessagesBuilderList() { return getTransferMessagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferMessage, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferMessage, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> getTransferMessagesFieldBuilder() { if (transferMessagesBuilder_ == null) { - transferMessagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferMessage, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder>( + transferMessagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferMessage, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder>( transferMessages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1039,8 +875,6 @@ public Builder removeTransferMessages(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1049,13 +883,13 @@ public Builder removeTransferMessages(int index) {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1064,8 +898,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1074,14 +906,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1089,8 +922,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1099,22 +930,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1123,7 +950,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1133,8 +959,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1143,23 +967,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1169,43 +991,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferLogsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferLogsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1217,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java similarity index 55% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java index b373aa1ef5fb..2e3c0bdb30d5 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java @@ -1,96 +1,58 @@ -/* - * 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; -public interface ListTransferLogsResponseOrBuilder - extends +public interface ListTransferLogsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getTransferMessagesList(); /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages(int index); /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getTransferMessagesCount(); /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getTransferMessagesOrBuilderList(); /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMessagesOrBuilder( int index); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -99,13 +61,10 @@ com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMe
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -114,8 +73,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMe
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java similarity index 69% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java index 99913d8a9223..fc8b3fafa007 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to list data transfer runs.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest} */ -public final class ListTransferRunsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferRunsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) ListTransferRunsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferRunsRequest.newBuilder() to construct. private ListTransferRunsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferRunsRequest() { parent_ = ""; states_ = java.util.Collections.emptyList(); @@ -47,38 +29,34 @@ private ListTransferRunsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferRunsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_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_ListTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); } /** - * - * *
    * Represents which runs should be pulled.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt} */ - public enum RunAttempt implements com.google.protobuf.ProtocolMessageEnum { + public enum RunAttempt + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * All runs should be returned.
      * 
@@ -87,8 +65,6 @@ public enum RunAttempt implements com.google.protobuf.ProtocolMessageEnum { */ RUN_ATTEMPT_UNSPECIFIED(0), /** - * - * *
      * Only latest run per day should be returned.
      * 
@@ -100,8 +76,6 @@ public enum RunAttempt implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * All runs should be returned.
      * 
@@ -110,8 +84,6 @@ public enum RunAttempt implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUN_ATTEMPT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Only latest run per day should be returned.
      * 
@@ -120,6 +92,7 @@ public enum RunAttempt implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LATEST_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -144,49 +117,48 @@ public static RunAttempt valueOf(int value) { */ public static RunAttempt forNumber(int value) { switch (value) { - case 0: - return RUN_ATTEMPT_UNSPECIFIED; - case 1: - return LATEST; - default: - return null; + case 0: return RUN_ATTEMPT_UNSPECIFIED; + case 1: return LATEST; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RunAttempt> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RunAttempt findValueByNumber(int number) { + return RunAttempt.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RunAttempt findValueByNumber(int number) { - return RunAttempt.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDescriptor().getEnumTypes().get(0); } private static final RunAttempt[] VALUES = values(); - public static RunAttempt valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RunAttempt valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -204,12 +176,9 @@ private RunAttempt(int value) { } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -217,10 +186,7 @@ private RunAttempt(int value) {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -229,15 +195,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -245,18 +210,17 @@ public java.lang.String getParent() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -265,50 +229,36 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int STATES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List states_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState> - states_converter_ = + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState> states_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>() { - public com.google.cloud.bigquery.datatransfer.v1.TransferState convert( - java.lang.Integer from) { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = - com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(from); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED - : result; + public com.google.cloud.bigquery.datatransfer.v1.TransferState convert(java.lang.Integer from) { + com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(from); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; } }; /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return A list containing the states. */ @java.lang.Override public java.util.List getStatesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>( - states_, states_converter_); + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>(states_, states_converter_); } /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return The count of states. */ @java.lang.Override @@ -316,14 +266,11 @@ public int getStatesCount() { return states_.size(); } /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index of the element to return. * @return The states at the given index. */ @@ -332,29 +279,24 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int ind return states_converter_.convert(states_.get(index)); } /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return A list containing the enum numeric values on the wire for states. */ @java.lang.Override - public java.util.List getStatesValueList() { + public java.util.List + getStatesValueList() { return states_; } /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of states at the given index. */ @@ -362,16 +304,12 @@ public java.util.List getStatesValueList() { public int getStatesValue(int index) { return states_.get(index); } - private int statesMemoizedSerializedSize; public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -381,7 +319,6 @@ public int getStatesValue(int index) {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -390,15 +327,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -408,15 +344,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -427,14 +364,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -445,48 +379,30 @@ public int getPageSize() { public static final int RUN_ATTEMPT_FIELD_NUMBER = 5; private int runAttempt_ = 0; /** - * - * *
    * Indicates how run attempts are to be pulled.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @return The enum numeric value on the wire for runAttempt. */ - @java.lang.Override - public int getRunAttemptValue() { + @java.lang.Override public int getRunAttemptValue() { return runAttempt_; } /** - * - * *
    * Indicates how run attempts are to be pulled.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @return The runAttempt. */ - @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt - getRunAttempt() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber( - runAttempt_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt getRunAttempt() { + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber(runAttempt_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -498,7 +414,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -516,10 +433,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (pageSize_ != 0) { output.writeInt32(4, pageSize_); } - if (runAttempt_ - != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt - .RUN_ATTEMPT_UNSPECIFIED - .getNumber()) { + if (runAttempt_ != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.RUN_ATTEMPT_UNSPECIFIED.getNumber()) { output.writeEnum(5, runAttempt_); } getUnknownFields().writeTo(output); @@ -537,26 +451,25 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < states_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(states_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(states_.get(i)); } size += dataSize; - if (!getStatesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - statesMemoizedSerializedSize = dataSize; + if (!getStatesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }statesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } - if (runAttempt_ - != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt - .RUN_ATTEMPT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, runAttempt_); + if (runAttempt_ != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.RUN_ATTEMPT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, runAttempt_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -566,18 +479,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other = - (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!states_.equals(other.states_)) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (runAttempt_ != other.runAttempt_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -608,138 +523,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest 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.ListTransferRunsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsRequest 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.ListTransferRunsRequest 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.ListTransferRunsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest - 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.ListTransferRunsRequest 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.ListTransferRunsRequest - 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.ListTransferRunsRequest 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.ListTransferRunsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListTransferRunsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to list data transfer runs.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_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_ListTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -754,14 +662,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance(); } @@ -776,18 +683,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result = - new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { if (((bitField0_ & 0x00000002) != 0)) { states_ = java.util.Collections.unmodifiableList(states_); bitField0_ = (bitField0_ & ~0x00000002); @@ -795,8 +698,7 @@ private void buildPartialRepeatedFields( result.states_ = states_; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -816,50 +718,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -912,56 +810,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + int tmpRaw = input.readEnum(); + ensureStatesIsMutable(); + states_.add(tmpRaw); + break; + } // case 16 + case 18: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureStatesIsMutable(); states_.add(tmpRaw); - break; - } // case 16 - case 18: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureStatesIsMutable(); - states_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 18 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - runAttempt_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 18 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + runAttempt_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -971,13 +862,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -985,16 +873,14 @@ public Builder mergeFrom(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1003,8 +889,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -1012,17 +896,16 @@ public java.lang.String getParent() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1030,8 +913,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -1039,25 +920,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -1065,10 +940,7 @@ public Builder setParent(java.lang.String value) {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -1078,8 +950,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -1087,17 +957,13 @@ public Builder clearParent() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1105,8 +971,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List states_ = java.util.Collections.emptyList(); - + private java.util.List states_ = + java.util.Collections.emptyList(); private void ensureStatesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { states_ = new java.util.ArrayList(states_); @@ -1114,44 +980,34 @@ private void ensureStatesIsMutable() { } } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return A list containing the states. */ public java.util.List getStatesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>( - states_, states_converter_); + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>(states_, states_converter_); } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return The count of states. */ public int getStatesCount() { return states_.size(); } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index of the element to return. * @return The states at the given index. */ @@ -1159,14 +1015,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int ind return states_converter_.convert(states_.get(index)); } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index to set the value at. * @param value The states to set. * @return This builder for chaining. @@ -1182,14 +1035,11 @@ public Builder setStates( return this; } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param value The states to add. * @return This builder for chaining. */ @@ -1203,20 +1053,16 @@ public Builder addStates(com.google.cloud.bigquery.datatransfer.v1.TransferState return this; } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param values The states to add. * @return This builder for chaining. */ public Builder addAllStates( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureStatesIsMutable(); for (com.google.cloud.bigquery.datatransfer.v1.TransferState value : values) { states_.add(value.getNumber()); @@ -1225,14 +1071,11 @@ public Builder addAllStates( return this; } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return This builder for chaining. */ public Builder clearStates() { @@ -1242,28 +1085,23 @@ public Builder clearStates() { return this; } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return A list containing the enum numeric values on the wire for states. */ - public java.util.List getStatesValueList() { + public java.util.List + getStatesValueList() { return java.util.Collections.unmodifiableList(states_); } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of states at the given index. */ @@ -1271,33 +1109,28 @@ public int getStatesValue(int index) { return states_.get(index); } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for states to set. * @return This builder for chaining. */ - public Builder setStatesValue(int index, int value) { + public Builder setStatesValue( + int index, int value) { ensureStatesIsMutable(); states_.set(index, value); onChanged(); return this; } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param value The enum numeric value on the wire for states to add. * @return This builder for chaining. */ @@ -1308,18 +1141,16 @@ public Builder addStatesValue(int value) { return this; } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param values The enum numeric values on the wire for states to add. * @return This builder for chaining. */ - public Builder addAllStatesValue(java.lang.Iterable values) { + public Builder addAllStatesValue( + java.lang.Iterable values) { ensureStatesIsMutable(); for (int value : values) { states_.add(value); @@ -1330,8 +1161,6 @@ public Builder addAllStatesValue(java.lang.Iterable values) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1341,13 +1170,13 @@ public Builder addAllStatesValue(java.lang.Iterable values) {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1356,8 +1185,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1367,14 +1194,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1382,8 +1210,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1393,22 +1219,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1418,7 +1240,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1428,8 +1249,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1439,14 +1258,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1454,16 +1271,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1471,14 +1285,11 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1490,14 +1301,11 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1509,33 +1317,22 @@ public Builder clearPageSize() { private int runAttempt_ = 0; /** - * - * *
      * Indicates how run attempts are to be pulled.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @return The enum numeric value on the wire for runAttempt. */ - @java.lang.Override - public int getRunAttemptValue() { + @java.lang.Override public int getRunAttemptValue() { return runAttempt_; } /** - * - * *
      * Indicates how run attempts are to be pulled.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @param value The enum numeric value on the wire for runAttempt to set. * @return This builder for chaining. */ @@ -1546,45 +1343,28 @@ public Builder setRunAttemptValue(int value) { return this; } /** - * - * *
      * Indicates how run attempts are to be pulled.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @return The runAttempt. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt - getRunAttempt() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber( - runAttempt_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt - .UNRECOGNIZED - : result; + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt getRunAttempt() { + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber(runAttempt_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.UNRECOGNIZED : result; } /** - * - * *
      * Indicates how run attempts are to be pulled.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @param value The runAttempt to set. * @return This builder for chaining. */ - public Builder setRunAttempt( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt value) { + public Builder setRunAttempt(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt value) { if (value == null) { throw new NullPointerException(); } @@ -1594,16 +1374,11 @@ public Builder setRunAttempt( return this; } /** - * - * *
      * Indicates how run attempts are to be pulled.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @return This builder for chaining. */ public Builder clearRunAttempt() { @@ -1612,9 +1387,9 @@ public Builder clearRunAttempt() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1624,43 +1399,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferRunsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferRunsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1672,8 +1445,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java similarity index 73% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java index 86f082b0c7b0..fc167c71853b 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * 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; -public interface ListTransferRunsRequestOrBuilder - extends +public interface ListTransferRunsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -34,16 +16,11 @@ public interface ListTransferRunsRequestOrBuilder
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -51,80 +28,62 @@ public interface ListTransferRunsRequestOrBuilder
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return A list containing the states. */ java.util.List getStatesList(); /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return The count of states. */ int getStatesCount(); /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index of the element to return. * @return The states at the given index. */ com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int index); /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return A list containing the enum numeric values on the wire for states. */ - java.util.List getStatesValueList(); + java.util.List + getStatesValueList(); /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of states at the given index. */ int getStatesValue(int index); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -134,13 +93,10 @@ public interface ListTransferRunsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -150,49 +106,36 @@ public interface ListTransferRunsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Indicates how run attempts are to be pulled.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @return The enum numeric value on the wire for runAttempt. */ int getRunAttemptValue(); /** - * - * *
    * Indicates how run attempts are to be pulled.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @return The runAttempt. */ com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt getRunAttempt(); diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java similarity index 63% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java index 32bacfa64182..446cf8bf1248 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * The returned list of pipelines in the project.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse} */ -public final class ListTransferRunsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferRunsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) ListTransferRunsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferRunsResponse.newBuilder() to construct. private ListTransferRunsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferRunsResponse() { transferRuns_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,101 +27,78 @@ private ListTransferRunsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferRunsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_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_ListTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); } public static final int TRANSFER_RUNS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List transferRuns_; /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getTransferRunsList() { + public java.util.List getTransferRunsList() { return transferRuns_; } /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getTransferRunsOrBuilderList() { return transferRuns_; } /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getTransferRunsCount() { return transferRuns_.size(); } /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int index) { return transferRuns_.get(index); } /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOrBuilder( @@ -148,12 +107,9 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransfe } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -162,7 +118,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransfe
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -171,15 +126,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -188,15 +142,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -205,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < transferRuns_.size(); i++) { output.writeMessage(1, transferRuns_.get(i)); } @@ -234,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferRuns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferRuns_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, transferRuns_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -247,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other = - (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) obj; - if (!getTransferRunsList().equals(other.getTransferRunsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTransferRunsList() + .equals(other.getTransferRunsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -280,138 +237,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse 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.ListTransferRunsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsResponse 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.ListTransferRunsResponse 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.ListTransferRunsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - 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.ListTransferRunsResponse 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.ListTransferRunsResponse - 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.ListTransferRunsResponse 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.ListTransferRunsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListTransferRunsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The returned list of pipelines in the project.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_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_ListTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -428,16 +378,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.getDefaultInstance(); } @java.lang.Override @@ -451,18 +399,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result = - new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { if (transferRunsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { transferRuns_ = java.util.Collections.unmodifiableList(transferRuns_); @@ -474,8 +418,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -486,51 +429,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.getDefaultInstance()) return this; if (transferRunsBuilder_ == null) { if (!other.transferRuns_.isEmpty()) { if (transferRuns_.isEmpty()) { @@ -549,10 +487,9 @@ public Builder mergeFrom( transferRunsBuilder_ = null; transferRuns_ = other.transferRuns_; bitField0_ = (bitField0_ & ~0x00000001); - transferRunsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTransferRunsFieldBuilder() - : null; + transferRunsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTransferRunsFieldBuilder() : null; } else { transferRunsBuilder_.addAllMessages(other.transferRuns_); } @@ -589,33 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.datatransfer.v1.TransferRun m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), - extensionRegistry); - if (transferRunsBuilder_ == null) { - ensureTransferRunsIsMutable(); - transferRuns_.add(m); - } else { - transferRunsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.bigquery.datatransfer.v1.TransferRun m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), + extensionRegistry); + if (transferRunsBuilder_ == null) { + ensureTransferRunsIsMutable(); + transferRuns_.add(m); + } else { + transferRunsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -625,40 +559,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List transferRuns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTransferRunsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferRuns_ = - new java.util.ArrayList( - transferRuns_); + transferRuns_ = new java.util.ArrayList(transferRuns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> - transferRunsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> transferRunsBuilder_; /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTransferRunsList() { + public java.util.List getTransferRunsList() { if (transferRunsBuilder_ == null) { return java.util.Collections.unmodifiableList(transferRuns_); } else { @@ -666,15 +588,11 @@ private void ensureTransferRunsIsMutable() { } } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getTransferRunsCount() { if (transferRunsBuilder_ == null) { @@ -684,15 +602,11 @@ public int getTransferRunsCount() { } } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int index) { if (transferRunsBuilder_ == null) { @@ -702,15 +616,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int } } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { @@ -727,15 +637,11 @@ public Builder setTransferRuns( return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder builderForValue) { @@ -749,15 +655,11 @@ public Builder setTransferRuns( return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferRuns(com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (transferRunsBuilder_ == null) { @@ -773,15 +675,11 @@ public Builder addTransferRuns(com.google.cloud.bigquery.datatransfer.v1.Transfe return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { @@ -798,15 +696,11 @@ public Builder addTransferRuns( return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferRuns( com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder builderForValue) { @@ -820,15 +714,11 @@ public Builder addTransferRuns( return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder builderForValue) { @@ -842,22 +732,18 @@ public Builder addTransferRuns( return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllTransferRuns( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (transferRunsBuilder_ == null) { ensureTransferRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferRuns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, transferRuns_); onChanged(); } else { transferRunsBuilder_.addAllMessages(values); @@ -865,15 +751,11 @@ public Builder addAllTransferRuns( return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTransferRuns() { if (transferRunsBuilder_ == null) { @@ -886,15 +768,11 @@ public Builder clearTransferRuns() { return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeTransferRuns(int index) { if (transferRunsBuilder_ == null) { @@ -907,52 +785,39 @@ public Builder removeTransferRuns(int index) { return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getTransferRunsBuilder( int index) { return getTransferRunsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOrBuilder( int index) { if (transferRunsBuilder_ == null) { - return transferRuns_.get(index); - } else { + return transferRuns_.get(index); } else { return transferRunsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTransferRunsOrBuilderList() { + public java.util.List + getTransferRunsOrBuilderList() { if (transferRunsBuilder_ != null) { return transferRunsBuilder_.getMessageOrBuilderList(); } else { @@ -960,65 +825,49 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransfe } } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransferRunsBuilder() { - return getTransferRunsFieldBuilder() - .addBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getTransferRunsFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransferRunsBuilder( int index) { - return getTransferRunsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getTransferRunsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTransferRunsBuilderList() { + public java.util.List + getTransferRunsBuilderList() { return getTransferRunsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> getTransferRunsFieldBuilder() { if (transferRunsBuilder_ == null) { - transferRunsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( - transferRuns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + transferRunsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( + transferRuns_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); transferRuns_ = null; } return transferRunsBuilder_; @@ -1026,8 +875,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransfer private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1036,13 +883,13 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransfer
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1051,8 +898,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1061,14 +906,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1076,8 +922,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1086,22 +930,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1110,7 +950,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1120,8 +959,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1130,23 +967,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1156,43 +991,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferRunsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferRunsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1204,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java similarity index 55% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java index 441f7eb074c7..a3ebd3673892 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java @@ -1,95 +1,58 @@ -/* - * 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; -public interface ListTransferRunsResponseOrBuilder - extends +public interface ListTransferRunsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getTransferRunsList(); + java.util.List + getTransferRunsList(); /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int index); /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getTransferRunsCount(); /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getTransferRunsOrBuilderList(); /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOrBuilder( int index); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -98,13 +61,10 @@ com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOr
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -113,8 +73,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOr
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java similarity index 100% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java similarity index 100% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java new file mode 100644 index 000000000000..cb06624c0c40 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java @@ -0,0 +1,371 @@ +/* + * Copyright 2023 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; + +import com.google.api.core.BetaApi; +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.pathtemplate.ValidationException; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class RunName implements ResourceName { + private static final PathTemplate PROJECT_TRANSFER_CONFIG_RUN = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/transferConfigs/{transfer_config}/runs/{run}"); + private static final PathTemplate PROJECT_LOCATION_TRANSFER_CONFIG_RUN = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/transferConfigs/{transfer_config}/runs/{run}"); + private volatile Map fieldValuesMap; + private PathTemplate pathTemplate; + private String fixedValue; + private final String project; + private final String transferConfig; + private final String run; + private final String location; + + @Deprecated + protected RunName() { + project = null; + transferConfig = null; + run = null; + location = null; + } + + private RunName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); + run = Preconditions.checkNotNull(builder.getRun()); + location = null; + pathTemplate = PROJECT_TRANSFER_CONFIG_RUN; + } + + private RunName(ProjectLocationTransferConfigRunBuilder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); + run = Preconditions.checkNotNull(builder.getRun()); + pathTemplate = PROJECT_LOCATION_TRANSFER_CONFIG_RUN; + } + + public String getProject() { + return project; + } + + public String getTransferConfig() { + return transferConfig; + } + + public String getRun() { + return run; + } + + public String getLocation() { + return location; + } + + public static Builder newBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static Builder newProjectTransferConfigRunBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static ProjectLocationTransferConfigRunBuilder + newProjectLocationTransferConfigRunBuilder() { + return new ProjectLocationTransferConfigRunBuilder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static RunName of(String project, String transferConfig, String run) { + return newBuilder().setProject(project).setTransferConfig(transferConfig).setRun(run).build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static RunName ofProjectTransferConfigRunName( + String project, String transferConfig, String run) { + return newBuilder().setProject(project).setTransferConfig(transferConfig).setRun(run).build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static RunName ofProjectLocationTransferConfigRunName( + String project, String location, String transferConfig, String run) { + return newProjectLocationTransferConfigRunBuilder() + .setProject(project) + .setLocation(location) + .setTransferConfig(transferConfig) + .setRun(run) + .build(); + } + + public static String format(String project, String transferConfig, String run) { + return newBuilder() + .setProject(project) + .setTransferConfig(transferConfig) + .setRun(run) + .build() + .toString(); + } + + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectTransferConfigRunName( + String project, String transferConfig, String run) { + return newBuilder() + .setProject(project) + .setTransferConfig(transferConfig) + .setRun(run) + .build() + .toString(); + } + + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectLocationTransferConfigRunName( + String project, String location, String transferConfig, String run) { + return newProjectLocationTransferConfigRunBuilder() + .setProject(project) + .setLocation(location) + .setTransferConfig(transferConfig) + .setRun(run) + .build() + .toString(); + } + + public static RunName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + if (PROJECT_TRANSFER_CONFIG_RUN.matches(formattedString)) { + Map matchMap = PROJECT_TRANSFER_CONFIG_RUN.match(formattedString); + return ofProjectTransferConfigRunName( + matchMap.get("project"), matchMap.get("transfer_config"), matchMap.get("run")); + } else if (PROJECT_LOCATION_TRANSFER_CONFIG_RUN.matches(formattedString)) { + Map matchMap = PROJECT_LOCATION_TRANSFER_CONFIG_RUN.match(formattedString); + return ofProjectLocationTransferConfigRunName( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("transfer_config"), + matchMap.get("run")); + } + throw new ValidationException("RunName.parse: formattedString not in valid format"); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (RunName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_TRANSFER_CONFIG_RUN.matches(formattedString) + || PROJECT_LOCATION_TRANSFER_CONFIG_RUN.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (transferConfig != null) { + fieldMapBuilder.put("transfer_config", transferConfig); + } + if (run != null) { + fieldMapBuilder.put("run", run); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return fixedValue != null ? fixedValue : pathTemplate.instantiate(getFieldValuesMap()); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + RunName that = ((RunName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.transferConfig, that.transferConfig) + && Objects.equals(this.run, that.run) + && Objects.equals(this.location, that.location); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(fixedValue); + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(transferConfig); + h *= 1000003; + h ^= Objects.hashCode(run); + h *= 1000003; + h ^= Objects.hashCode(location); + return h; + } + + /** Builder for projects/{project}/transferConfigs/{transfer_config}/runs/{run}. */ + public static class Builder { + private String project; + private String transferConfig; + private String run; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getTransferConfig() { + return transferConfig; + } + + public String getRun() { + return run; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setTransferConfig(String transferConfig) { + this.transferConfig = transferConfig; + return this; + } + + public Builder setRun(String run) { + this.run = run; + return this; + } + + private Builder(RunName runName) { + Preconditions.checkArgument( + Objects.equals(runName.pathTemplate, PROJECT_TRANSFER_CONFIG_RUN), + "toBuilder is only supported when RunName has the pattern of projects/{project}/transferConfigs/{transfer_config}/runs/{run}"); + this.project = runName.project; + this.transferConfig = runName.transferConfig; + this.run = runName.run; + } + + public RunName build() { + return new RunName(this); + } + } + + /** + * Builder for + * projects/{project}/locations/{location}/transferConfigs/{transfer_config}/runs/{run}. + */ + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static class ProjectLocationTransferConfigRunBuilder { + private String project; + private String location; + private String transferConfig; + private String run; + + protected ProjectLocationTransferConfigRunBuilder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getTransferConfig() { + return transferConfig; + } + + public String getRun() { + return run; + } + + public ProjectLocationTransferConfigRunBuilder setProject(String project) { + this.project = project; + return this; + } + + public ProjectLocationTransferConfigRunBuilder setLocation(String location) { + this.location = location; + return this; + } + + public ProjectLocationTransferConfigRunBuilder setTransferConfig(String transferConfig) { + this.transferConfig = transferConfig; + return this; + } + + public ProjectLocationTransferConfigRunBuilder setRun(String run) { + this.run = run; + return this; + } + + public RunName build() { + return new RunName(this); + } + } +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java similarity index 76% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java index e1a4c80d4b90..68a2e3729f98 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,53 +5,48 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Options customizing the data transfer schedule.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleOptions} */ -public final class ScheduleOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ScheduleOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ScheduleOptions) ScheduleOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ScheduleOptions.newBuilder() to construct. private ScheduleOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ScheduleOptions() {} + private ScheduleOptions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ScheduleOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); } private int bitField0_; public static final int DISABLE_AUTO_SCHEDULING_FIELD_NUMBER = 3; private boolean disableAutoScheduling_ = false; /** - * - * *
    * If true, automatic scheduling of data transfer runs for this configuration
    * will be disabled. The runs can be started on ad-hoc basis using
@@ -75,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool disable_auto_scheduling = 3; - * * @return The disableAutoScheduling. */ @java.lang.Override @@ -86,8 +65,6 @@ public boolean getDisableAutoScheduling() { public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -97,7 +74,6 @@ public boolean getDisableAutoScheduling() {
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -105,8 +81,6 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -116,7 +90,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -124,8 +97,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -144,8 +115,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -154,7 +123,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -162,8 +130,6 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -172,7 +138,6 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -180,8 +145,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -197,7 +160,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -209,7 +171,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getStartTime());
     }
@@ -229,13 +192,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getStartTime());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEndTime());
     }
     if (disableAutoScheduling_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, disableAutoScheduling_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(3, disableAutoScheduling_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -245,22 +211,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions other =
-        (com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) obj;
+    com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions other = (com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) obj;
 
-    if (getDisableAutoScheduling() != other.getDisableAutoScheduling()) return false;
+    if (getDisableAutoScheduling()
+        != other.getDisableAutoScheduling()) return false;
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime().equals(other.getStartTime())) return false;
+      if (!getStartTime()
+          .equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -274,7 +242,8 @@ public int hashCode() {
     int hash = 41;
     hash = (19 * hash) + getDescriptor().hashCode();
     hash = (37 * hash) + DISABLE_AUTO_SCHEDULING_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableAutoScheduling());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getDisableAutoScheduling());
     if (hasStartTime()) {
       hash = (37 * hash) + START_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getStartTime().hashCode();
@@ -289,127 +258,119 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleOptions parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions 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.ScheduleOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleOptions 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.ScheduleOptions 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.ScheduleOptions parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions 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.ScheduleOptions 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.ScheduleOptions parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      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.ScheduleOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions prototype) {
+  public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Options customizing the data transfer schedule.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ScheduleOptions) com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.newBuilder() @@ -417,18 +378,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -448,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; } @java.lang.Override @@ -469,11 +430,8 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions result = - new com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions result = new com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -485,11 +443,15 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleOpt } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -499,39 +461,38 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleOpt public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions)other); } else { super.mergeFrom(other); return this; @@ -539,8 +500,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) return this; if (other.getDisableAutoScheduling() != false) { setDisableAutoScheduling(other.getDisableAutoScheduling()); } @@ -576,31 +536,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 24: - { - disableAutoScheduling_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 24: { + disableAutoScheduling_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -610,13 +570,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean disableAutoScheduling_; + private boolean disableAutoScheduling_ ; /** - * - * *
      * If true, automatic scheduling of data transfer runs for this configuration
      * will be disabled. The runs can be started on ad-hoc basis using
@@ -625,7 +582,6 @@ public Builder mergeFrom(
      * 
* * bool disable_auto_scheduling = 3; - * * @return The disableAutoScheduling. */ @java.lang.Override @@ -633,8 +589,6 @@ public boolean getDisableAutoScheduling() { return disableAutoScheduling_; } /** - * - * *
      * If true, automatic scheduling of data transfer runs for this configuration
      * will be disabled. The runs can be started on ad-hoc basis using
@@ -643,7 +597,6 @@ public boolean getDisableAutoScheduling() {
      * 
* * bool disable_auto_scheduling = 3; - * * @param value The disableAutoScheduling to set. * @return This builder for chaining. */ @@ -655,8 +608,6 @@ public Builder setDisableAutoScheduling(boolean value) { return this; } /** - * - * *
      * If true, automatic scheduling of data transfer runs for this configuration
      * will be disabled. The runs can be started on ad-hoc basis using
@@ -665,7 +616,6 @@ public Builder setDisableAutoScheduling(boolean value) {
      * 
* * bool disable_auto_scheduling = 3; - * * @return This builder for chaining. */ public Builder clearDisableAutoScheduling() { @@ -677,13 +627,8 @@ public Builder clearDisableAutoScheduling() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -693,15 +638,12 @@ public Builder clearDisableAutoScheduling() {
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -711,7 +653,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -722,8 +663,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -748,8 +687,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -760,7 +697,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 1;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
       } else {
@@ -771,8 +709,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -785,9 +721,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && startTime_ != null
-            && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          startTime_ != null &&
+          startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getStartTimeBuilder().mergeFrom(value);
         } else {
           startTime_ = value;
@@ -802,8 +738,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -825,8 +759,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -843,8 +775,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -859,12 +789,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -876,17 +805,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getStartTime(), getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getStartTime(),
+                getParentForChildren(),
+                isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -894,13 +820,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -909,15 +830,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -926,7 +844,6 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -937,8 +854,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -962,8 +877,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -973,7 +886,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -984,8 +898,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -997,9 +909,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -1014,8 +926,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -1036,8 +946,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -1053,8 +961,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -1068,12 +974,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -1084,24 +989,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1111,12 +1013,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ScheduleOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ScheduleOptions)
   private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions();
   }
@@ -1125,27 +1027,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ScheduleOptions parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ScheduleOptions parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1160,4 +1062,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
similarity index 82%
rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
index 994416368412..ad59e6b42933 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
+++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * 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/transfer.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.cloud.bigquery.datatransfer.v1;
 
-public interface ScheduleOptionsOrBuilder
-    extends
+public interface ScheduleOptionsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ScheduleOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * If true, automatic scheduling of data transfer runs for this configuration
    * will be disabled. The runs can be started on ad-hoc basis using
@@ -35,14 +17,11 @@ public interface ScheduleOptionsOrBuilder
    * 
* * bool disable_auto_scheduling = 3; - * * @return The disableAutoScheduling. */ boolean getDisableAutoScheduling(); /** - * - * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -52,13 +31,10 @@ public interface ScheduleOptionsOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -68,13 +44,10 @@ public interface ScheduleOptionsOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -88,8 +61,6 @@ public interface ScheduleOptionsOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -98,13 +69,10 @@ public interface ScheduleOptionsOrBuilder
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -113,13 +81,10 @@ public interface ScheduleOptionsOrBuilder
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
similarity index 67%
rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
index ee86a8894747..f49fb4abe6d8 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
+++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
@@ -1,18 +1,3 @@
-/*
- * 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
 
@@ -20,67 +5,57 @@
 package com.google.cloud.bigquery.datatransfer.v1;
 
 /**
- *
- *
  * 
  * A request to schedule transfer runs for a time range.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest} */ -public final class ScheduleTransferRunsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ScheduleTransferRunsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) ScheduleTransferRunsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ScheduleTransferRunsRequest.newBuilder() to construct. private ScheduleTransferRunsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ScheduleTransferRunsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ScheduleTransferRunsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_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_ScheduleTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,16 +99,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -143,16 +112,12 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startTime. */ @java.lang.Override @@ -160,15 +125,12 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -178,15 +140,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -194,15 +153,12 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The endTime. */ @java.lang.Override @@ -210,8 +166,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
@@ -225,7 +179,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -237,7 +190,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -260,10 +214,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStartTime());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -273,22 +229,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other =
-        (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) obj;
+    com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime().equals(other.getStartTime())) return false;
+      if (!getStartTime()
+          .equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -317,148 +275,138 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleTransferRunsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest
-      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.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest
-      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.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      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.ScheduleTransferRunsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A request to schedule transfer runs for a time range.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_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_ScheduleTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.newBuilder() + // Construct using com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,16 +426,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.getDefaultInstance(); } @java.lang.Override @@ -501,28 +447,28 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest bui @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result = - new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -532,51 +478,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -614,31 +555,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,29 +589,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -679,25 +615,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -705,43 +638,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -751,25 +673,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -779,37 +695,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -820,15 +725,12 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -844,17 +746,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -865,21 +765,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -894,15 +791,12 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -915,15 +809,12 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000002; @@ -931,46 +822,38 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -978,37 +861,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1019,15 +891,12 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1043,17 +912,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1064,21 +931,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1093,15 +957,12 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1114,15 +975,12 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -1130,53 +988,45 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1186,43 +1036,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ScheduleTransferRunsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ScheduleTransferRunsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1234,8 +1082,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java similarity index 69% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java index 906f4741dbce..75d3a40539d3 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java @@ -1,132 +1,88 @@ -/* - * 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; -public interface ScheduleTransferRunsRequestOrBuilder - extends +public interface ScheduleTransferRunsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
similarity index 67%
rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
index 399505372a18..a82b174e6108 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
+++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
@@ -1,18 +1,3 @@
-/*
- * 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
 
@@ -20,56 +5,49 @@
 package com.google.cloud.bigquery.datatransfer.v1;
 
 /**
- *
- *
  * 
  * A response to schedule transfer runs for a time range.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse} */ -public final class ScheduleTransferRunsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ScheduleTransferRunsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) ScheduleTransferRunsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ScheduleTransferRunsResponse.newBuilder() to construct. private ScheduleTransferRunsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ScheduleTransferRunsResponse() { runs_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ScheduleTransferRunsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_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_ScheduleTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); } public static final int RUNS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List runs_; /** - * - * *
    * The transfer runs that were scheduled.
    * 
@@ -81,8 +59,6 @@ public java.util.List get return runs_; } /** - * - * *
    * The transfer runs that were scheduled.
    * 
@@ -90,13 +66,11 @@ public java.util.List get * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRunsOrBuilderList() { return runs_; } /** - * - * *
    * The transfer runs that were scheduled.
    * 
@@ -108,8 +82,6 @@ public int getRunsCount() { return runs_.size(); } /** - * - * *
    * The transfer runs that were scheduled.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) return runs_.get(index); } /** - * - * *
    * The transfer runs that were scheduled.
    * 
@@ -136,7 +106,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,7 +117,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < runs_.size(); i++) { output.writeMessage(1, runs_.get(i)); } @@ -162,7 +132,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < runs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, runs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, runs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -172,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other = - (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) obj; - if (!getRunsList().equals(other.getRunsList())) return false; + if (!getRunsList() + .equals(other.getRunsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -202,138 +173,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ScheduleTransferRunsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - 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.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse - 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.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ScheduleTransferRunsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response to schedule transfer runs for a time range.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_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_ScheduleTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -349,22 +313,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse build() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = - buildPartial(); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -373,18 +334,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse bu @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = - new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { if (runsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { runs_ = java.util.Collections.unmodifiableList(runs_); @@ -396,8 +353,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { int from_bitField0_ = bitField0_; } @@ -405,51 +361,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.getDefaultInstance()) return this; if (runsBuilder_ == null) { if (!other.runs_.isEmpty()) { if (runs_.isEmpty()) { @@ -468,10 +419,9 @@ public Builder mergeFrom( runsBuilder_ = null; runs_ = other.runs_; bitField0_ = (bitField0_ & ~0x00000001); - runsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRunsFieldBuilder() - : null; + runsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRunsFieldBuilder() : null; } else { runsBuilder_.addAllMessages(other.runs_); } @@ -503,27 +453,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.datatransfer.v1.TransferRun m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), - extensionRegistry); - if (runsBuilder_ == null) { - ensureRunsIsMutable(); - runs_.add(m); - } else { - runsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.bigquery.datatransfer.v1.TransferRun m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), + extensionRegistry); + if (runsBuilder_ == null) { + ensureRunsIsMutable(); + runs_.add(m); + } else { + runsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -533,29 +481,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List runs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRunsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - runs_ = - new java.util.ArrayList(runs_); + runs_ = new java.util.ArrayList(runs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> - runsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> runsBuilder_; /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -570,8 +510,6 @@ public java.util.List get } } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -586,8 +524,6 @@ public int getRunsCount() { } } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -602,15 +538,14 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) } } /** - * - * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder setRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder setRuns( + int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,8 +559,6 @@ public Builder setRuns(int index, com.google.cloud.bigquery.datatransfer.v1.Tran return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -644,8 +577,6 @@ public Builder setRuns( return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -666,15 +597,14 @@ public Builder addRuns(com.google.cloud.bigquery.datatransfer.v1.TransferRun val return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder addRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder addRuns( + int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -688,8 +618,6 @@ public Builder addRuns(int index, com.google.cloud.bigquery.datatransfer.v1.Tran return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -708,8 +636,6 @@ public Builder addRuns( return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -728,8 +654,6 @@ public Builder addRuns( return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -737,11 +661,11 @@ public Builder addRuns( * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public Builder addAllRuns( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (runsBuilder_ == null) { ensureRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, runs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, runs_); onChanged(); } else { runsBuilder_.addAllMessages(values); @@ -749,8 +673,6 @@ public Builder addAllRuns( return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -768,8 +690,6 @@ public Builder clearRuns() { return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -787,20 +707,17 @@ public Builder removeRuns(int index) { return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder( + int index) { return getRunsFieldBuilder().getBuilder(index); } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -810,22 +727,19 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuil public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( int index) { if (runsBuilder_ == null) { - return runs_.get(index); - } else { + return runs_.get(index); } else { return runsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsOrBuilderList() { + public java.util.List + getRunsOrBuilderList() { if (runsBuilder_ != null) { return runsBuilder_.getMessageOrBuilderList(); } else { @@ -833,8 +747,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -842,56 +754,49 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder() { - return getRunsFieldBuilder() - .addBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getRunsFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** - * - * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder(int index) { - return getRunsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder( + int index) { + return getRunsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** - * - * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsBuilderList() { + public java.util.List + getRunsBuilderList() { return getRunsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> getRunsFieldBuilder() { if (runsBuilder_ == null) { - runsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( - runs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + runsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( + runs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); runs_ = null; } return runsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -901,43 +806,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ScheduleTransferRunsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ScheduleTransferRunsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -949,8 +852,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java similarity index 66% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java index 3b45c2406542..db8b4d18ddad 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * 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; -public interface ScheduleTransferRunsResponseOrBuilder - extends +public interface ScheduleTransferRunsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The transfer runs that were scheduled.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List getRunsList(); + java.util.List + getRunsList(); /** - * - * *
    * The transfer runs that were scheduled.
    * 
@@ -45,8 +26,6 @@ public interface ScheduleTransferRunsResponseOrBuilder */ com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index); /** - * - * *
    * The transfer runs that were scheduled.
    * 
@@ -55,24 +34,21 @@ public interface ScheduleTransferRunsResponseOrBuilder */ int getRunsCount(); /** - * - * *
    * The transfer runs that were scheduled.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List + java.util.List getRunsOrBuilderList(); /** - * - * *
    * The transfer runs that were scheduled.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder(int index); + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( + int index); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java similarity index 67% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java index 2e0a4f3a5646..e634118f3248 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,58 +5,50 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to start manual transfer runs.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest} */ -public final class StartManualTransferRunsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StartManualTransferRunsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) StartManualTransferRunsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StartManualTransferRunsRequest.newBuilder() to construct. - private StartManualTransferRunsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StartManualTransferRunsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StartManualTransferRunsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StartManualTransferRunsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_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_StartManualTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder.class); } - public interface TimeRangeOrBuilder - extends + public interface TimeRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -80,13 +57,10 @@ public interface TimeRangeOrBuilder
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -95,13 +69,10 @@ public interface TimeRangeOrBuilder
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -114,8 +85,6 @@ public interface TimeRangeOrBuilder
     com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
     /**
-     *
-     *
      * 
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -124,13 +93,10 @@ public interface TimeRangeOrBuilder
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -139,13 +105,10 @@ public interface TimeRangeOrBuilder
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -158,57 +121,49 @@ public interface TimeRangeOrBuilder
     com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A specification for a time range, this will request transfer runs with
    * run_time between start_time (inclusive) and end_time (exclusive).
    * 
* - * Protobuf type {@code - * google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} + * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} */ - public static final class TimeRange extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TimeRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) TimeRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimeRange.newBuilder() to construct. private TimeRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TimeRange() {} + private TimeRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimeRange(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_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_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .class, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder.class); } private int bitField0_; public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -217,7 +172,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -225,8 +179,6 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -235,7 +187,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -243,8 +194,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -262,8 +211,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
     public static final int END_TIME_FIELD_NUMBER = 2;
     private com.google.protobuf.Timestamp endTime_;
     /**
-     *
-     *
      * 
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -272,7 +219,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -280,8 +226,6 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -290,7 +234,6 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -298,8 +241,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -315,7 +256,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -327,7 +267,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (((bitField0_ & 0x00000001) != 0)) {
         output.writeMessage(1, getStartTime());
       }
@@ -344,10 +285,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getStartTime());
       }
       if (((bitField0_ & 0x00000002) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getEndTime());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -357,23 +300,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
-      if (!(obj
-          instanceof
-          com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)) {
+      if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)) {
         return super.equals(obj);
       }
-      com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange other =
-          (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) obj;
+      com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange other = (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) obj;
 
       if (hasStartTime() != other.hasStartTime()) return false;
       if (hasStartTime()) {
-        if (!getStartTime().equals(other.getStartTime())) return false;
+        if (!getStartTime()
+            .equals(other.getStartTime())) return false;
       }
       if (hasEndTime() != other.hasEndTime()) return false;
       if (hasEndTime()) {
-        if (!getEndTime().equals(other.getEndTime())) return false;
+        if (!getEndTime()
+            .equals(other.getEndTime())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -399,102 +341,90 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
-        parseFrom(java.nio.ByteBuffer data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange parseFrom(
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
-        parseFrom(
-            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        parseFrom(com.google.protobuf.ByteString data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
-        parseFrom(
-            com.google.protobuf.ByteString data,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
-        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        parseFrom(
-            com.google.protobuf.CodedInputStream 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.StartManualTransferRunsRequest.TimeRange 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 Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
-            prototype) {
+    public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -504,57 +434,47 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A specification for a time range, this will request transfer runs with
      * run_time between start_time (inclusive) and end_time (exclusive).
      * 
* - * Protobuf type {@code - * google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} + * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_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_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .class, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.newBuilder() + // Construct using com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -573,23 +493,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - build() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = - buildPartial(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange build() { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -597,29 +513,26 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = - new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange buildPartial() { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -629,57 +542,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) - other); + if (other instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) { + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance()) return this; if (other.hasStartTime()) { mergeStartTime(other.getStartTime()); } @@ -712,25 +614,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -740,18 +643,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -760,15 +657,12 @@ public Builder mergeFrom(
        * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -777,21 +671,16 @@ public boolean hasStartTime() {
        * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { - return startTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** - * - * *
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -815,8 +704,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -826,7 +713,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp start_time = 1;
        */
-      public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setStartTime(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (startTimeBuilder_ == null) {
           startTime_ = builderForValue.build();
         } else {
@@ -837,8 +725,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
         return this;
       }
       /**
-       *
-       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -850,9 +736,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
        */
       public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
         if (startTimeBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0)
-              && startTime_ != null
-              && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0) &&
+            startTime_ != null &&
+            startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getStartTimeBuilder().mergeFrom(value);
           } else {
             startTime_ = value;
@@ -867,8 +753,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -889,8 +773,6 @@ public Builder clearStartTime() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -906,8 +788,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
         return getStartTimeFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -921,14 +801,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
         if (startTimeBuilder_ != null) {
           return startTimeBuilder_.getMessageOrBuilder();
         } else {
-          return startTime_ == null
-              ? com.google.protobuf.Timestamp.getDefaultInstance()
-              : startTime_;
+          return startTime_ == null ?
+              com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
         }
       }
       /**
-       *
-       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -939,17 +816,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
        * .google.protobuf.Timestamp start_time = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
           getStartTimeFieldBuilder() {
         if (startTimeBuilder_ == null) {
-          startTimeBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
-                  getStartTime(), getParentForChildren(), isClean());
+          startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                  getStartTime(),
+                  getParentForChildren(),
+                  isClean());
           startTime_ = null;
         }
         return startTimeBuilder_;
@@ -957,13 +831,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
       private com.google.protobuf.Timestamp endTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
-          endTimeBuilder_;
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
       /**
-       *
-       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -972,15 +841,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
        * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -989,7 +855,6 @@ public boolean hasEndTime() {
        * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1000,8 +865,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1025,8 +888,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1036,7 +897,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp end_time = 2;
        */
-      public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setEndTime(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (endTimeBuilder_ == null) {
           endTime_ = builderForValue.build();
         } else {
@@ -1047,8 +909,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1060,9 +920,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
        */
       public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
         if (endTimeBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && endTime_ != null
-              && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            endTime_ != null &&
+            endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getEndTimeBuilder().mergeFrom(value);
           } else {
             endTime_ = value;
@@ -1077,8 +937,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1099,8 +957,6 @@ public Builder clearEndTime() {
         return this;
       }
       /**
-       *
-       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1116,8 +972,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
         return getEndTimeFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1131,12 +985,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
         if (endTimeBuilder_ != null) {
           return endTimeBuilder_.getMessageOrBuilder();
         } else {
-          return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+          return endTime_ == null ?
+              com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
         }
       }
       /**
-       *
-       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1147,22 +1000,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
        * .google.protobuf.Timestamp end_time = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
           getEndTimeFieldBuilder() {
         if (endTimeBuilder_ == null) {
-          endTimeBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
-                  getEndTime(), getParentForChildren(), isClean());
+          endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                  getEndTime(),
+                  getParentForChildren(),
+                  isClean());
           endTime_ = null;
         }
         return endTimeBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1175,46 +1024,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
-    private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
-            .TimeRange
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE =
-          new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange();
+      DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange();
     }
 
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
-        getDefaultInstance() {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public TimeRange parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public TimeRange parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1226,26 +1070,22 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
-        getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int timeCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object time_;
-
   public enum TimeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     REQUESTED_TIME_RANGE(3),
     REQUESTED_RUN_TIME(4),
     TIME_NOT_SET(0);
     private final int value;
-
     private TimeCase(int value) {
       this.value = value;
     }
@@ -1261,33 +1101,27 @@ public static TimeCase valueOf(int value) {
 
     public static TimeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return REQUESTED_TIME_RANGE;
-        case 4:
-          return REQUESTED_RUN_TIME;
-        case 0:
-          return TIME_NOT_SET;
-        default:
-          return null;
+        case 3: return REQUESTED_TIME_RANGE;
+        case 4: return REQUESTED_RUN_TIME;
+        case 0: return TIME_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TimeCase getTimeCase() {
-    return TimeCase.forNumber(timeCase_);
+  public TimeCase
+  getTimeCase() {
+    return TimeCase.forNumber(
+        timeCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1295,7 +1129,6 @@ public TimeCase getTimeCase() {
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The parent. */ @java.lang.Override @@ -1304,15 +1137,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1320,15 +1152,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1338,8 +1171,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REQUESTED_TIME_RANGE_FIELD_NUMBER = 3; /** - * - * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1347,10 +1178,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    * values.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; * @return Whether the requestedTimeRange field is set. */ @java.lang.Override @@ -1358,8 +1186,6 @@ public boolean hasRequestedTimeRange() { return timeCase_ == 3; } /** - * - * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1367,25 +1193,17 @@ public boolean hasRequestedTimeRange() {
    * values.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; * @return The requestedTimeRange. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - getRequestedTimeRange() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getRequestedTimeRange() { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) - time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); } /** - * - * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1393,25 +1211,18 @@ public boolean hasRequestedTimeRange() {
    * values.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder - getRequestedTimeRangeOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder getRequestedTimeRangeOrBuilder() { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) - time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); } public static final int REQUESTED_RUN_TIME_FIELD_NUMBER = 4; /** - * - * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1420,7 +1231,6 @@ public boolean hasRequestedTimeRange() {
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; - * * @return Whether the requestedRunTime field is set. */ @java.lang.Override @@ -1428,8 +1238,6 @@ public boolean hasRequestedRunTime() { return timeCase_ == 4; } /** - * - * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1438,19 +1246,16 @@ public boolean hasRequestedRunTime() {
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; - * * @return The requestedRunTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRequestedRunTime() { if (timeCase_ == 4) { - return (com.google.protobuf.Timestamp) time_; + return (com.google.protobuf.Timestamp) time_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1463,13 +1268,12 @@ public com.google.protobuf.Timestamp getRequestedRunTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getRequestedRunTimeOrBuilder() {
     if (timeCase_ == 4) {
-      return (com.google.protobuf.Timestamp) time_;
+       return (com.google.protobuf.Timestamp) time_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1481,15 +1285,13 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
     if (timeCase_ == 3) {
-      output.writeMessage(
-          3,
-          (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
-              time_);
+      output.writeMessage(3, (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_);
     }
     if (timeCase_ == 4) {
       output.writeMessage(4, (com.google.protobuf.Timestamp) time_);
@@ -1507,16 +1309,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (timeCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3,
-              (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
-                  time_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_);
     }
     if (timeCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.protobuf.Timestamp) time_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.protobuf.Timestamp) time_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1526,23 +1324,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
-    if (!(obj
-        instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)) {
+    if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other =
-        (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) obj;
+    com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other = (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
     if (!getTimeCase().equals(other.getTimeCase())) return false;
     switch (timeCase_) {
       case 3:
-        if (!getRequestedTimeRange().equals(other.getRequestedTimeRange())) return false;
+        if (!getRequestedTimeRange()
+            .equals(other.getRequestedTimeRange())) return false;
         break;
       case 4:
-        if (!getRequestedRunTime().equals(other.getRequestedRunTime())) return false;
+        if (!getRequestedRunTime()
+            .equals(other.getRequestedRunTime())) return false;
         break;
       case 0:
       default:
@@ -1578,139 +1377,131 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.StartManualTransferRunsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
-      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.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest
-      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.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      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.StartManualTransferRunsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A request to start manual transfer runs.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_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_StartManualTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder - .class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1728,22 +1519,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest build() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = - buildPartial(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1752,32 +1540,29 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = - new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } } - private void buildPartialOneofs( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { + private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { result.timeCase_ = timeCase_; result.time_ = this.time_; - if (timeCase_ == 3 && requestedTimeRangeBuilder_ != null) { + if (timeCase_ == 3 && + requestedTimeRangeBuilder_ != null) { result.time_ = requestedTimeRangeBuilder_.build(); } - if (timeCase_ == 4 && requestedRunTimeBuilder_ != null) { + if (timeCase_ == 4 && + requestedRunTimeBuilder_ != null) { result.time_ = requestedRunTimeBuilder_.build(); } } @@ -1786,72 +1571,63 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) other); + if (other instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) { + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; onChanged(); } switch (other.getTimeCase()) { - case REQUESTED_TIME_RANGE: - { - mergeRequestedTimeRange(other.getRequestedTimeRange()); - break; - } - case REQUESTED_RUN_TIME: - { - mergeRequestedRunTime(other.getRequestedRunTime()); - break; - } - case TIME_NOT_SET: - { - break; - } + case REQUESTED_TIME_RANGE: { + mergeRequestedTimeRange(other.getRequestedTimeRange()); + break; + } + case REQUESTED_RUN_TIME: { + mergeRequestedRunTime(other.getRequestedRunTime()); + break; + } + case TIME_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1879,33 +1655,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: - { - input.readMessage( - getRequestedTimeRangeFieldBuilder().getBuilder(), extensionRegistry); - timeCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage( - getRequestedRunTimeFieldBuilder().getBuilder(), extensionRegistry); - timeCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: { + input.readMessage( + getRequestedTimeRangeFieldBuilder().getBuilder(), + extensionRegistry); + timeCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getRequestedRunTimeFieldBuilder().getBuilder(), + extensionRegistry); + timeCase_ = 4; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1915,12 +1689,12 @@ public Builder mergeFrom( } // finally return this; } - private int timeCase_ = 0; private java.lang.Object time_; - - public TimeCase getTimeCase() { - return TimeCase.forNumber(timeCase_); + public TimeCase + getTimeCase() { + return TimeCase.forNumber( + timeCase_); } public Builder clearTime() { @@ -1934,8 +1708,6 @@ public Builder clearTime() { private java.lang.Object parent_ = ""; /** - * - * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1943,13 +1715,13 @@ public Builder clearTime() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1958,8 +1730,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1967,14 +1737,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1982,8 +1753,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1991,22 +1760,18 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -2014,7 +1779,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearParent() { @@ -2024,8 +1788,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -2033,14 +1795,12 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -2049,15 +1809,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .Builder, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRangeOrBuilder> - requestedTimeRangeBuilder_; + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder> requestedTimeRangeBuilder_; /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2065,10 +1818,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; * @return Whether the requestedTimeRange field is set. */ @java.lang.Override @@ -2076,8 +1826,6 @@ public boolean hasRequestedTimeRange() { return timeCase_ == 3; } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2085,34 +1833,24 @@ public boolean hasRequestedTimeRange() {
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; * @return The requestedTimeRange. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - getRequestedTimeRange() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getRequestedTimeRange() { if (requestedTimeRangeBuilder_ == null) { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRange) - time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); } else { if (timeCase_ == 3) { return requestedTimeRangeBuilder_.getMessage(); } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); } } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2120,12 +1858,9 @@ public boolean hasRequestedTimeRange() {
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ - public Builder setRequestedTimeRange( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { + public Builder setRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { if (requestedTimeRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2139,8 +1874,6 @@ public Builder setRequestedTimeRange( return this; } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2148,13 +1881,10 @@ public Builder setRequestedTimeRange(
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ public Builder setRequestedTimeRange( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder - builderForValue) { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder builderForValue) { if (requestedTimeRangeBuilder_ == null) { time_ = builderForValue.build(); onChanged(); @@ -2165,8 +1895,6 @@ public Builder setRequestedTimeRange( return this; } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2174,25 +1902,14 @@ public Builder setRequestedTimeRange(
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ - public Builder mergeRequestedTimeRange( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { + public Builder mergeRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { if (requestedTimeRangeBuilder_ == null) { - if (timeCase_ == 3 - && time_ - != com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRange.getDefaultInstance()) { - time_ = - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .newBuilder( - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRange) - time_) - .mergeFrom(value) - .buildPartial(); + if (timeCase_ == 3 && + time_ != com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance()) { + time_ = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.newBuilder((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_) + .mergeFrom(value).buildPartial(); } else { time_ = value; } @@ -2208,8 +1925,6 @@ public Builder mergeRequestedTimeRange( return this; } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2217,9 +1932,7 @@ public Builder mergeRequestedTimeRange(
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ public Builder clearRequestedTimeRange() { if (requestedTimeRangeBuilder_ == null) { @@ -2238,8 +1951,6 @@ public Builder clearRequestedTimeRange() { return this; } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2247,18 +1958,12 @@ public Builder clearRequestedTimeRange() {
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .Builder - getRequestedTimeRangeBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder getRequestedTimeRangeBuilder() { return getRequestedTimeRangeFieldBuilder().getBuilder(); } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2266,29 +1971,20 @@ public Builder clearRequestedTimeRange() {
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRangeOrBuilder - getRequestedTimeRangeOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder getRequestedTimeRangeOrBuilder() { if ((timeCase_ == 3) && (requestedTimeRangeBuilder_ != null)) { return requestedTimeRangeBuilder_.getMessageOrBuilder(); } else { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRange) - time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); } } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2296,32 +1992,18 @@ public Builder clearRequestedTimeRange() {
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .Builder, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRangeOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder> getRequestedTimeRangeFieldBuilder() { if (requestedTimeRangeBuilder_ == null) { if (!(timeCase_ == 3)) { - time_ = - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance(); + time_ = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); } - requestedTimeRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .Builder, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRangeOrBuilder>( - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) - time_, + requestedTimeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder>( + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_, getParentForChildren(), isClean()); time_ = null; @@ -2332,13 +2014,8 @@ public Builder clearRequestedTimeRange() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestedRunTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestedRunTimeBuilder_; /** - * - * *
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2347,7 +2024,6 @@ public Builder clearRequestedTimeRange() {
      * 
* * .google.protobuf.Timestamp requested_run_time = 4; - * * @return Whether the requestedRunTime field is set. */ @java.lang.Override @@ -2355,8 +2031,6 @@ public boolean hasRequestedRunTime() { return timeCase_ == 4; } /** - * - * *
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2365,7 +2039,6 @@ public boolean hasRequestedRunTime() {
      * 
* * .google.protobuf.Timestamp requested_run_time = 4; - * * @return The requestedRunTime. */ @java.lang.Override @@ -2383,8 +2056,6 @@ public com.google.protobuf.Timestamp getRequestedRunTime() { } } /** - * - * *
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2408,8 +2079,6 @@ public Builder setRequestedRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2419,7 +2088,8 @@ public Builder setRequestedRunTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp requested_run_time = 4;
      */
-    public Builder setRequestedRunTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setRequestedRunTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (requestedRunTimeBuilder_ == null) {
         time_ = builderForValue.build();
         onChanged();
@@ -2430,8 +2100,6 @@ public Builder setRequestedRunTime(com.google.protobuf.Timestamp.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2443,11 +2111,10 @@ public Builder setRequestedRunTime(com.google.protobuf.Timestamp.Builder builder
      */
     public Builder mergeRequestedRunTime(com.google.protobuf.Timestamp value) {
       if (requestedRunTimeBuilder_ == null) {
-        if (timeCase_ == 4 && time_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          time_ =
-              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) time_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (timeCase_ == 4 &&
+            time_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          time_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) time_)
+              .mergeFrom(value).buildPartial();
         } else {
           time_ = value;
         }
@@ -2463,8 +2130,6 @@ public Builder mergeRequestedRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2491,8 +2156,6 @@ public Builder clearRequestedRunTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2506,8 +2169,6 @@ public com.google.protobuf.Timestamp.Builder getRequestedRunTimeBuilder() {
       return getRequestedRunTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2529,8 +2190,6 @@ public com.google.protobuf.TimestampOrBuilder getRequestedRunTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2541,29 +2200,26 @@ public com.google.protobuf.TimestampOrBuilder getRequestedRunTimeOrBuilder() {
      * .google.protobuf.Timestamp requested_run_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getRequestedRunTimeFieldBuilder() {
       if (requestedRunTimeBuilder_ == null) {
         if (!(timeCase_ == 4)) {
           time_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        requestedRunTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) time_, getParentForChildren(), isClean());
+        requestedRunTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) time_,
+                getParentForChildren(),
+                isClean());
         time_ = null;
       }
       timeCase_ = 4;
       onChanged();
       return requestedRunTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2573,44 +2229,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)
-  private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest DEFAULT_INSTANCE;
   static {
-    DEFAULT_INSTANCE =
-        new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest();
+    DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest();
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
-      getDefaultInstance() {
+  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public StartManualTransferRunsRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public StartManualTransferRunsRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2622,8 +2275,9 @@ public com.google.protobuf.Parser getParserForTy
   }
 
   @java.lang.Override
-  public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
-      getDefaultInstanceForType() {
+  public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
similarity index 72%
rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
index e80292f89be9..5012792d35e7 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
+++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * 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;
 
-public interface StartManualTransferRunsRequestOrBuilder
-    extends
+public interface StartManualTransferRunsRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -34,13 +16,10 @@ public interface StartManualTransferRunsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -48,14 +27,12 @@ public interface StartManualTransferRunsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -63,16 +40,11 @@ public interface StartManualTransferRunsRequestOrBuilder
    * values.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; * @return Whether the requestedTimeRange field is set. */ boolean hasRequestedTimeRange(); /** - * - * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -80,17 +52,11 @@ public interface StartManualTransferRunsRequestOrBuilder
    * values.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; * @return The requestedTimeRange. */ - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - getRequestedTimeRange(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getRequestedTimeRange(); /** - * - * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -98,16 +64,11 @@ public interface StartManualTransferRunsRequestOrBuilder
    * values.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder - getRequestedTimeRangeOrBuilder(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder getRequestedTimeRangeOrBuilder(); /** - * - * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -116,13 +77,10 @@ public interface StartManualTransferRunsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; - * * @return Whether the requestedRunTime field is set. */ boolean hasRequestedRunTime(); /** - * - * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -131,13 +89,10 @@ public interface StartManualTransferRunsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; - * * @return The requestedRunTime. */ com.google.protobuf.Timestamp getRequestedRunTime(); /** - * - * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
similarity index 66%
rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
index 95947e599cbf..32f8c99911f2 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
+++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
@@ -1,18 +1,3 @@
-/*
- * 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
 
@@ -20,58 +5,49 @@
 package com.google.cloud.bigquery.datatransfer.v1;
 
 /**
- *
- *
  * 
  * A response to start manual transfer runs.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse} */ -public final class StartManualTransferRunsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StartManualTransferRunsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) StartManualTransferRunsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StartManualTransferRunsResponse.newBuilder() to construct. - private StartManualTransferRunsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StartManualTransferRunsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StartManualTransferRunsResponse() { runs_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StartManualTransferRunsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_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_StartManualTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder - .class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder.class); } public static final int RUNS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List runs_; /** - * - * *
    * The transfer runs that were created.
    * 
@@ -83,8 +59,6 @@ public java.util.List get return runs_; } /** - * - * *
    * The transfer runs that were created.
    * 
@@ -92,13 +66,11 @@ public java.util.List get * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRunsOrBuilderList() { return runs_; } /** - * - * *
    * The transfer runs that were created.
    * 
@@ -110,8 +82,6 @@ public int getRunsCount() { return runs_.size(); } /** - * - * *
    * The transfer runs that were created.
    * 
@@ -123,8 +93,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) return runs_.get(index); } /** - * - * *
    * The transfer runs that were created.
    * 
@@ -138,7 +106,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,7 +117,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < runs_.size(); i++) { output.writeMessage(1, runs_.get(i)); } @@ -164,7 +132,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < runs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, runs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, runs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,16 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse)) { + if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other = - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other = (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) obj; - if (!getRunsList().equals(other.getRunsList())) return false; + if (!getRunsList() + .equals(other.getRunsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,139 +173,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StartManualTransferRunsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - 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.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse - 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.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.StartManualTransferRunsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response to start manual transfer runs.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_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_StartManualTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder - .class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -353,22 +313,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse build() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = - buildPartial(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -376,20 +333,15 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = - new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(this); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse buildPartial() { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { if (runsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { runs_ = java.util.Collections.unmodifiableList(runs_); @@ -401,8 +353,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { int from_bitField0_ = bitField0_; } @@ -410,52 +361,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) other); + if (other instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) { + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.getDefaultInstance()) return this; if (runsBuilder_ == null) { if (!other.runs_.isEmpty()) { if (runs_.isEmpty()) { @@ -474,10 +419,9 @@ public Builder mergeFrom( runsBuilder_ = null; runs_ = other.runs_; bitField0_ = (bitField0_ & ~0x00000001); - runsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRunsFieldBuilder() - : null; + runsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRunsFieldBuilder() : null; } else { runsBuilder_.addAllMessages(other.runs_); } @@ -509,27 +453,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.datatransfer.v1.TransferRun m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), - extensionRegistry); - if (runsBuilder_ == null) { - ensureRunsIsMutable(); - runs_.add(m); - } else { - runsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.bigquery.datatransfer.v1.TransferRun m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), + extensionRegistry); + if (runsBuilder_ == null) { + ensureRunsIsMutable(); + runs_.add(m); + } else { + runsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -539,29 +481,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List runs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRunsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - runs_ = - new java.util.ArrayList(runs_); + runs_ = new java.util.ArrayList(runs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> - runsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> runsBuilder_; /** - * - * *
      * The transfer runs that were created.
      * 
@@ -576,8 +510,6 @@ public java.util.List get } } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -592,8 +524,6 @@ public int getRunsCount() { } } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -608,15 +538,14 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) } } /** - * - * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder setRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder setRuns( + int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -630,8 +559,6 @@ public Builder setRuns(int index, com.google.cloud.bigquery.datatransfer.v1.Tran return this; } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -650,8 +577,6 @@ public Builder setRuns( return this; } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -672,15 +597,14 @@ public Builder addRuns(com.google.cloud.bigquery.datatransfer.v1.TransferRun val return this; } /** - * - * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder addRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder addRuns( + int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,8 +618,6 @@ public Builder addRuns(int index, com.google.cloud.bigquery.datatransfer.v1.Tran return this; } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -714,8 +636,6 @@ public Builder addRuns( return this; } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -734,8 +654,6 @@ public Builder addRuns( return this; } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -743,11 +661,11 @@ public Builder addRuns( * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public Builder addAllRuns( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (runsBuilder_ == null) { ensureRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, runs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, runs_); onChanged(); } else { runsBuilder_.addAllMessages(values); @@ -755,8 +673,6 @@ public Builder addAllRuns( return this; } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -774,8 +690,6 @@ public Builder clearRuns() { return this; } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -793,20 +707,17 @@ public Builder removeRuns(int index) { return this; } /** - * - * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder( + int index) { return getRunsFieldBuilder().getBuilder(index); } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -816,22 +727,19 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuil public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( int index) { if (runsBuilder_ == null) { - return runs_.get(index); - } else { + return runs_.get(index); } else { return runsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsOrBuilderList() { + public java.util.List + getRunsOrBuilderList() { if (runsBuilder_ != null) { return runsBuilder_.getMessageOrBuilderList(); } else { @@ -839,8 +747,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -848,56 +754,49 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder() { - return getRunsFieldBuilder() - .addBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getRunsFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** - * - * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder(int index) { - return getRunsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder( + int index) { + return getRunsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** - * - * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsBuilderList() { + public java.util.List + getRunsBuilderList() { return getRunsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> getRunsFieldBuilder() { if (runsBuilder_ == null) { - runsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( - runs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + runsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( + runs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); runs_ = null; } return runsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -907,44 +806,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartManualTransferRunsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartManualTransferRunsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -956,8 +852,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java similarity index 66% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java index 4d7fe4adfe1f..eccac85e79d5 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * 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; -public interface StartManualTransferRunsResponseOrBuilder - extends +public interface StartManualTransferRunsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The transfer runs that were created.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List getRunsList(); + java.util.List + getRunsList(); /** - * - * *
    * The transfer runs that were created.
    * 
@@ -45,8 +26,6 @@ public interface StartManualTransferRunsResponseOrBuilder */ com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index); /** - * - * *
    * The transfer runs that were created.
    * 
@@ -55,24 +34,21 @@ public interface StartManualTransferRunsResponseOrBuilder */ int getRunsCount(); /** - * - * *
    * The transfer runs that were created.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List + java.util.List getRunsOrBuilderList(); /** - * - * *
    * The transfer runs that were created.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder(int index); + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( + int index); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java similarity index 72% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java index cb1cfa4e9c63..6aa44fac9487 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Represents a data transfer configuration. A transfer configuration
  * contains all metadata needed to perform a data transfer. For example,
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferConfig}
  */
-public final class TransferConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TransferConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.TransferConfig)
     TransferConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TransferConfig.newBuilder() to construct.
   private TransferConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TransferConfig() {
     name_ = "";
     displayName_ = "";
@@ -55,39 +37,34 @@ private TransferConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TransferConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class,
-            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
   }
 
   private int bitField0_;
   private int destinationCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object destination_;
-
   public enum DestinationCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     DESTINATION_DATASET_ID(2),
     DESTINATION_NOT_SET(0);
     private final int value;
-
     private DestinationCase(int value) {
       this.value = value;
     }
@@ -103,31 +80,26 @@ public static DestinationCase valueOf(int value) {
 
     public static DestinationCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return DESTINATION_DATASET_ID;
-        case 0:
-          return DESTINATION_NOT_SET;
-        default:
-          return null;
+        case 2: return DESTINATION_DATASET_ID;
+        case 0: return DESTINATION_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DestinationCase getDestinationCase() {
-    return DestinationCase.forNumber(destinationCase_);
+  public DestinationCase
+  getDestinationCase() {
+    return DestinationCase.forNumber(
+        destinationCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -139,7 +111,6 @@ public DestinationCase getDestinationCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -148,15 +119,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -168,15 +138,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -186,28 +157,22 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESTINATION_DATASET_ID_FIELD_NUMBER = 2; /** - * - * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; - * * @return Whether the destinationDatasetId field is set. */ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** - * - * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; - * * @return The destinationDatasetId. */ public java.lang.String getDestinationDatasetId() { @@ -218,7 +183,8 @@ public java.lang.String getDestinationDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -227,24 +193,23 @@ public java.lang.String getDestinationDatasetId() { } } /** - * - * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; - * * @return The bytes for destinationDatasetId. */ - public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString + getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -255,18 +220,14 @@ public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -275,29 +236,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -306,12 +267,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DATA_SOURCE_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object dataSourceId_ = ""; /** - * - * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -319,7 +277,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string data_source_id = 5; - * * @return The dataSourceId. */ @java.lang.Override @@ -328,15 +285,14 @@ public java.lang.String getDataSourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; } } /** - * - * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -344,15 +300,16 @@ public java.lang.String getDataSourceId() {
    * 
* * string data_source_id = 5; - * * @return The bytes for dataSourceId. */ @java.lang.Override - public com.google.protobuf.ByteString getDataSourceIdBytes() { + public com.google.protobuf.ByteString + getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -363,8 +320,6 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() { public static final int PARAMS_FIELD_NUMBER = 9; private com.google.protobuf.Struct params_; /** - * - * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -373,7 +328,6 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() {
    * 
* * .google.protobuf.Struct params = 9; - * * @return Whether the params field is set. */ @java.lang.Override @@ -381,8 +335,6 @@ public boolean hasParams() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -391,7 +343,6 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 9; - * * @return The params. */ @java.lang.Override @@ -399,8 +350,6 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** - * - * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -416,12 +365,9 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
   }
 
   public static final int SCHEDULE_FIELD_NUMBER = 7;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object schedule_ = "";
   /**
-   *
-   *
    * 
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -440,7 +386,6 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
    * 
* * string schedule = 7; - * * @return The schedule. */ @java.lang.Override @@ -449,15 +394,14 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; } } /** - * - * *
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -476,15 +420,16 @@ public java.lang.String getSchedule() {
    * 
* * string schedule = 7; - * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schedule_ = b; return b; } else { @@ -495,14 +440,11 @@ public com.google.protobuf.ByteString getScheduleBytes() { public static final int SCHEDULE_OPTIONS_FIELD_NUMBER = 24; private com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions scheduleOptions_; /** - * - * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; - * * @return Whether the scheduleOptions field is set. */ @java.lang.Override @@ -510,25 +452,18 @@ public boolean hasScheduleOptions() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; - * * @return The scheduleOptions. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOptions() { - return scheduleOptions_ == null - ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() - : scheduleOptions_; + return scheduleOptions_ == null ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; } /** - * - * *
    * Options customizing the data transfer schedule.
    * 
@@ -536,18 +471,13 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOpti * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder - getScheduleOptionsOrBuilder() { - return scheduleOptions_ == null - ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() - : scheduleOptions_; + public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getScheduleOptionsOrBuilder() { + return scheduleOptions_ == null ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; } public static final int DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER = 12; private int dataRefreshWindowDays_ = 0; /** - * - * *
    * The number of days to look back to automatically refresh the data.
    * For example, if `data_refresh_window_days = 10`, then every day
@@ -558,7 +488,6 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOpti
    * 
* * int32 data_refresh_window_days = 12; - * * @return The dataRefreshWindowDays. */ @java.lang.Override @@ -569,15 +498,12 @@ public int getDataRefreshWindowDays() { public static final int DISABLED_FIELD_NUMBER = 13; private boolean disabled_ = false; /** - * - * *
    * Is this config disabled. When set to true, no runs are scheduled
    * for a given transfer.
    * 
* * bool disabled = 13; - * * @return The disabled. */ @java.lang.Override @@ -588,15 +514,11 @@ public boolean getDisabled() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -604,15 +526,11 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -620,14 +538,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -637,16 +552,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int NEXT_RUN_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp nextRunTime_; /** - * - * *
    * Output only. Next time when data transfer will run.
    * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the nextRunTime field is set. */ @java.lang.Override @@ -654,16 +564,11 @@ public boolean hasNextRunTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * Output only. Next time when data transfer will run.
    * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The nextRunTime. */ @java.lang.Override @@ -671,15 +576,11 @@ public com.google.protobuf.Timestamp getNextRunTime() { return nextRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextRunTime_; } /** - * - * *
    * Output only. Next time when data transfer will run.
    * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { @@ -689,55 +590,37 @@ public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 10; private int state_ = 0; /** - * - * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = - com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { + com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; } public static final int USER_ID_FIELD_NUMBER = 11; private long userId_ = 0L; /** - * - * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; - * * @return The userId. */ @java.lang.Override @@ -746,18 +629,14 @@ public long getUserId() { } public static final int DATASET_REGION_FIELD_NUMBER = 14; - @SuppressWarnings("serial") private volatile java.lang.Object datasetRegion_ = ""; /** - * - * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The datasetRegion. */ @java.lang.Override @@ -766,29 +645,29 @@ public java.lang.String getDatasetRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetRegion_ = s; return s; } } /** - * - * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for datasetRegion. */ @java.lang.Override - public com.google.protobuf.ByteString getDatasetRegionBytes() { + public com.google.protobuf.ByteString + getDatasetRegionBytes() { java.lang.Object ref = datasetRegion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetRegion_ = b; return b; } else { @@ -797,12 +676,9 @@ public com.google.protobuf.ByteString getDatasetRegionBytes() { } public static final int NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER = 15; - @SuppressWarnings("serial") private volatile java.lang.Object notificationPubsubTopic_ = ""; /** - * - * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -812,7 +688,6 @@ public com.google.protobuf.ByteString getDatasetRegionBytes() {
    * 
* * string notification_pubsub_topic = 15; - * * @return The notificationPubsubTopic. */ @java.lang.Override @@ -821,15 +696,14 @@ public java.lang.String getNotificationPubsubTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; } } /** - * - * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -839,15 +713,16 @@ public java.lang.String getNotificationPubsubTopic() {
    * 
* * string notification_pubsub_topic = 15; - * * @return The bytes for notificationPubsubTopic. */ @java.lang.Override - public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString + getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -858,15 +733,12 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { public static final int EMAIL_PREFERENCES_FIELD_NUMBER = 18; private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; /** - * - * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; - * * @return Whether the emailPreferences field is set. */ @java.lang.Override @@ -874,26 +746,19 @@ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; - * * @return The emailPreferences. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { - return emailPreferences_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() - : emailPreferences_; + return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; } /** - * - * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
@@ -902,28 +767,20 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPrefer
    * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
    */
   @java.lang.Override
-  public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder
-      getEmailPreferencesOrBuilder() {
-    return emailPreferences_ == null
-        ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()
-        : emailPreferences_;
+  public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() {
+    return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_;
   }
 
   public static final int OWNER_INFO_FIELD_NUMBER = 27;
   private com.google.cloud.bigquery.datatransfer.v1.UserInfo ownerInfo_;
   /**
-   *
-   *
    * 
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the ownerInfo field is set. */ @java.lang.Override @@ -931,52 +788,36 @@ public boolean hasOwnerInfo() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The ownerInfo. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.UserInfo getOwnerInfo() { - return ownerInfo_ == null - ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() - : ownerInfo_; + return ownerInfo_ == null ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; } /** - * - * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoOrBuilder() { - return ownerInfo_ == null - ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() - : ownerInfo_; + return ownerInfo_ == null ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; } public static final int ENCRYPTION_CONFIGURATION_FIELD_NUMBER = 28; - private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - encryptionConfiguration_; + private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryptionConfiguration_; /** - * - * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -985,10 +826,7 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoO
    * otherwise try to apply project default keys if it is absent.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; * @return Whether the encryptionConfiguration field is set. */ @java.lang.Override @@ -996,8 +834,6 @@ public boolean hasEncryptionConfiguration() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -1006,22 +842,14 @@ public boolean hasEncryptionConfiguration() {
    * otherwise try to apply project default keys if it is absent.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; * @return The encryptionConfiguration. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - getEncryptionConfiguration() { - return encryptionConfiguration_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() - : encryptionConfiguration_; + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncryptionConfiguration() { + return encryptionConfiguration_ == null ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; } /** - * - * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -1030,20 +858,14 @@ public boolean hasEncryptionConfiguration() {
    * otherwise try to apply project default keys if it is absent.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder - getEncryptionConfigurationOrBuilder() { - return encryptionConfiguration_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() - : encryptionConfiguration_; + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder getEncryptionConfigurationOrBuilder() { + return encryptionConfiguration_ == null ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1055,7 +877,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -1080,9 +903,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(9, getParams()); } - if (state_ - != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(10, state_); } if (userId_ != 0L) { @@ -1131,7 +952,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataSourceId_); @@ -1140,45 +962,50 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, schedule_); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getNextRunTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getNextRunTime()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getParams()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getParams()); } - if (state_ - != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, state_); + if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, state_); } if (userId_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, userId_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(11, userId_); } if (dataRefreshWindowDays_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(12, dataRefreshWindowDays_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(12, dataRefreshWindowDays_); } if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(13, disabled_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetRegion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, datasetRegion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(notificationPubsubTopic_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(15, notificationPubsubTopic_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, notificationPubsubTopic_); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getEmailPreferences()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getEmailPreferences()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getScheduleOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, getScheduleOptions()); } if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getOwnerInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, getOwnerInfo()); } if (((bitField0_ & 0x00000040) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 28, getEncryptionConfiguration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, getEncryptionConfiguration()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1188,56 +1015,72 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.TransferConfig)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.TransferConfig other = - (com.google.cloud.bigquery.datatransfer.v1.TransferConfig) obj; + com.google.cloud.bigquery.datatransfer.v1.TransferConfig other = (com.google.cloud.bigquery.datatransfer.v1.TransferConfig) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDataSourceId().equals(other.getDataSourceId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDataSourceId() + .equals(other.getDataSourceId())) return false; if (hasParams() != other.hasParams()) return false; if (hasParams()) { - if (!getParams().equals(other.getParams())) return false; + if (!getParams() + .equals(other.getParams())) return false; } - if (!getSchedule().equals(other.getSchedule())) return false; + if (!getSchedule() + .equals(other.getSchedule())) return false; if (hasScheduleOptions() != other.hasScheduleOptions()) return false; if (hasScheduleOptions()) { - if (!getScheduleOptions().equals(other.getScheduleOptions())) return false; + if (!getScheduleOptions() + .equals(other.getScheduleOptions())) return false; } - if (getDataRefreshWindowDays() != other.getDataRefreshWindowDays()) return false; - if (getDisabled() != other.getDisabled()) return false; + if (getDataRefreshWindowDays() + != other.getDataRefreshWindowDays()) return false; + if (getDisabled() + != other.getDisabled()) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasNextRunTime() != other.hasNextRunTime()) return false; if (hasNextRunTime()) { - if (!getNextRunTime().equals(other.getNextRunTime())) return false; + if (!getNextRunTime() + .equals(other.getNextRunTime())) return false; } if (state_ != other.state_) return false; - if (getUserId() != other.getUserId()) return false; - if (!getDatasetRegion().equals(other.getDatasetRegion())) return false; - if (!getNotificationPubsubTopic().equals(other.getNotificationPubsubTopic())) return false; + if (getUserId() + != other.getUserId()) return false; + if (!getDatasetRegion() + .equals(other.getDatasetRegion())) return false; + if (!getNotificationPubsubTopic() + .equals(other.getNotificationPubsubTopic())) return false; if (hasEmailPreferences() != other.hasEmailPreferences()) return false; if (hasEmailPreferences()) { - if (!getEmailPreferences().equals(other.getEmailPreferences())) return false; + if (!getEmailPreferences() + .equals(other.getEmailPreferences())) return false; } if (hasOwnerInfo() != other.hasOwnerInfo()) return false; if (hasOwnerInfo()) { - if (!getOwnerInfo().equals(other.getOwnerInfo())) return false; + if (!getOwnerInfo() + .equals(other.getOwnerInfo())) return false; } if (hasEncryptionConfiguration() != other.hasEncryptionConfiguration()) return false; if (hasEncryptionConfiguration()) { - if (!getEncryptionConfiguration().equals(other.getEncryptionConfiguration())) return false; + if (!getEncryptionConfiguration() + .equals(other.getEncryptionConfiguration())) return false; } if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 2: - if (!getDestinationDatasetId().equals(other.getDestinationDatasetId())) return false; + if (!getDestinationDatasetId() + .equals(other.getDestinationDatasetId())) return false; break; case 0: default: @@ -1272,7 +1115,8 @@ public int hashCode() { hash = (37 * hash) + DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER; hash = (53 * hash) + getDataRefreshWindowDays(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); if (hasUpdateTime()) { hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getUpdateTime().hashCode(); @@ -1284,7 +1128,8 @@ public int hashCode() { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + USER_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getUserId()); hash = (37 * hash) + DATASET_REGION_FIELD_NUMBER; hash = (53 * hash) + getDatasetRegion().hashCode(); hash = (37 * hash) + NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER; @@ -1315,104 +1160,98 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig 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.TransferConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferConfig 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.TransferConfig 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.TransferConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig 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.TransferConfig 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.TransferConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.TransferConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a data transfer configuration. A transfer configuration
    * contains all metadata needed to perform a data transfer. For example,
@@ -1424,23 +1263,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.TransferConfig)
       com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class,
-              com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.datatransfer.v1.TransferConfig.newBuilder()
@@ -1448,13 +1285,14 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getParamsFieldBuilder();
         getScheduleOptionsFieldBuilder();
         getUpdateTimeFieldBuilder();
@@ -1464,7 +1302,6 @@ private void maybeForceBuilderInitialization() {
         getEncryptionConfigurationFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1520,9 +1357,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1541,11 +1378,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.TransferConfig buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.TransferConfig result =
-          new com.google.cloud.bigquery.datatransfer.v1.TransferConfig(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.datatransfer.v1.TransferConfig result = new com.google.cloud.bigquery.datatransfer.v1.TransferConfig(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1564,15 +1398,18 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferCon
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build();
+        result.params_ = paramsBuilder_ == null
+            ? params_
+            : paramsBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.schedule_ = schedule_;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.scheduleOptions_ =
-            scheduleOptionsBuilder_ == null ? scheduleOptions_ : scheduleOptionsBuilder_.build();
+        result.scheduleOptions_ = scheduleOptionsBuilder_ == null
+            ? scheduleOptions_
+            : scheduleOptionsBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
@@ -1582,12 +1419,15 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferCon
         result.disabled_ = disabled_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.nextRunTime_ =
-            nextRunTimeBuilder_ == null ? nextRunTime_ : nextRunTimeBuilder_.build();
+        result.nextRunTime_ = nextRunTimeBuilder_ == null
+            ? nextRunTime_
+            : nextRunTimeBuilder_.build();
         to_bitField0_ |= 0x00000008;
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
@@ -1603,26 +1443,27 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferCon
         result.notificationPubsubTopic_ = notificationPubsubTopic_;
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
-        result.emailPreferences_ =
-            emailPreferencesBuilder_ == null ? emailPreferences_ : emailPreferencesBuilder_.build();
+        result.emailPreferences_ = emailPreferencesBuilder_ == null
+            ? emailPreferences_
+            : emailPreferencesBuilder_.build();
         to_bitField0_ |= 0x00000010;
       }
       if (((from_bitField0_ & 0x00010000) != 0)) {
-        result.ownerInfo_ = ownerInfoBuilder_ == null ? ownerInfo_ : ownerInfoBuilder_.build();
+        result.ownerInfo_ = ownerInfoBuilder_ == null
+            ? ownerInfo_
+            : ownerInfoBuilder_.build();
         to_bitField0_ |= 0x00000020;
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
-        result.encryptionConfiguration_ =
-            encryptionConfigurationBuilder_ == null
-                ? encryptionConfiguration_
-                : encryptionConfigurationBuilder_.build();
+        result.encryptionConfiguration_ = encryptionConfigurationBuilder_ == null
+            ? encryptionConfiguration_
+            : encryptionConfigurationBuilder_.build();
         to_bitField0_ |= 0x00000040;
       }
       result.bitField0_ |= to_bitField0_;
     }
 
-    private void buildPartialOneofs(
-        com.google.cloud.bigquery.datatransfer.v1.TransferConfig result) {
+    private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.TransferConfig result) {
       result.destinationCase_ = destinationCase_;
       result.destination_ = this.destination_;
     }
@@ -1631,39 +1472,38 @@ private void buildPartialOneofs(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.TransferConfig) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferConfig) other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1671,8 +1511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferConfig other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -1737,17 +1576,15 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferConfi
         mergeEncryptionConfiguration(other.getEncryptionConfiguration());
       }
       switch (other.getDestinationCase()) {
-        case DESTINATION_DATASET_ID:
-          {
-            destinationCase_ = 2;
-            destination_ = other.destination_;
-            onChanged();
-            break;
-          }
-        case DESTINATION_NOT_SET:
-          {
-            break;
-          }
+        case DESTINATION_DATASET_ID: {
+          destinationCase_ = 2;
+          destination_ = other.destination_;
+          onChanged();
+          break;
+        }
+        case DESTINATION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1775,124 +1612,117 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                destinationCase_ = 2;
-                destination_ = s;
-                break;
-              } // case 18
-            case 26:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 34
-            case 42:
-              {
-                dataSourceId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 42
-            case 58:
-              {
-                schedule_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getNextRunTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 74
-            case 80:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 80
-            case 88:
-              {
-                userId_ = input.readInt64();
-                bitField0_ |= 0x00001000;
-                break;
-              } // case 88
-            case 96:
-              {
-                dataRefreshWindowDays_ = input.readInt32();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 96
-            case 104:
-              {
-                disabled_ = input.readBool();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 104
-            case 114:
-              {
-                datasetRegion_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00002000;
-                break;
-              } // case 114
-            case 122:
-              {
-                notificationPubsubTopic_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00004000;
-                break;
-              } // case 122
-            case 146:
-              {
-                input.readMessage(
-                    getEmailPreferencesFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00008000;
-                break;
-              } // case 146
-            case 194:
-              {
-                input.readMessage(getScheduleOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 194
-            case 218:
-              {
-                input.readMessage(getOwnerInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00010000;
-                break;
-              } // case 218
-            case 226:
-              {
-                input.readMessage(
-                    getEncryptionConfigurationFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00020000;
-                break;
-              } // case 226
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              destinationCase_ = 2;
+              destination_ = s;
+              break;
+            } // case 18
+            case 26: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 34
+            case 42: {
+              dataSourceId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 42
+            case 58: {
+              schedule_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getNextRunTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getParamsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 74
+            case 80: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 80
+            case 88: {
+              userId_ = input.readInt64();
+              bitField0_ |= 0x00001000;
+              break;
+            } // case 88
+            case 96: {
+              dataRefreshWindowDays_ = input.readInt32();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 96
+            case 104: {
+              disabled_ = input.readBool();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 104
+            case 114: {
+              datasetRegion_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00002000;
+              break;
+            } // case 114
+            case 122: {
+              notificationPubsubTopic_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00004000;
+              break;
+            } // case 122
+            case 146: {
+              input.readMessage(
+                  getEmailPreferencesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00008000;
+              break;
+            } // case 146
+            case 194: {
+              input.readMessage(
+                  getScheduleOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 194
+            case 218: {
+              input.readMessage(
+                  getOwnerInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00010000;
+              break;
+            } // case 218
+            case 226: {
+              input.readMessage(
+                  getEncryptionConfigurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00020000;
+              break;
+            } // case 226
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1902,12 +1732,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int destinationCase_ = 0;
     private java.lang.Object destination_;
-
-    public DestinationCase getDestinationCase() {
-      return DestinationCase.forNumber(destinationCase_);
+    public DestinationCase
+        getDestinationCase() {
+      return DestinationCase.forNumber(
+          destinationCase_);
     }
 
     public Builder clearDestination() {
@@ -1921,8 +1751,6 @@ public Builder clearDestination() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1934,13 +1762,13 @@ public Builder clearDestination() {
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1949,8 +1777,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1962,14 +1788,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1977,8 +1804,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1990,22 +1815,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -2017,7 +1838,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2027,8 +1847,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -2040,14 +1858,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2056,14 +1872,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; - * * @return Whether the destinationDatasetId field is set. */ @java.lang.Override @@ -2071,14 +1884,11 @@ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** - * - * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; - * * @return The destinationDatasetId. */ @java.lang.Override @@ -2088,7 +1898,8 @@ public java.lang.String getDestinationDatasetId() { ref = destination_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -2099,25 +1910,24 @@ public java.lang.String getDestinationDatasetId() { } } /** - * - * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; - * * @return The bytes for destinationDatasetId. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString + getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -2127,35 +1937,28 @@ public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { } } /** - * - * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; - * * @param value The destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationDatasetId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } destinationCase_ = 2; destination_ = value; onChanged(); return this; } /** - * - * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; - * * @return This builder for chaining. */ public Builder clearDestinationDatasetId() { @@ -2167,21 +1970,17 @@ public Builder clearDestinationDatasetId() { return this; } /** - * - * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; - * * @param value The bytes for destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationDatasetIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationCase_ = 2; destination_ = value; @@ -2191,20 +1990,18 @@ public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value private java.lang.Object displayName_ = ""; /** - * - * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2213,21 +2010,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2235,35 +2031,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2273,21 +2062,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -2297,8 +2082,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataSourceId_ = ""; /** - * - * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2306,13 +2089,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string data_source_id = 5; - * * @return The dataSourceId. */ public java.lang.String getDataSourceId() { java.lang.Object ref = dataSourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; @@ -2321,8 +2104,6 @@ public java.lang.String getDataSourceId() { } } /** - * - * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2330,14 +2111,15 @@ public java.lang.String getDataSourceId() {
      * 
* * string data_source_id = 5; - * * @return The bytes for dataSourceId. */ - public com.google.protobuf.ByteString getDataSourceIdBytes() { + public com.google.protobuf.ByteString + getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -2345,8 +2127,6 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() { } } /** - * - * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2354,22 +2134,18 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() {
      * 
* * string data_source_id = 5; - * * @param value The dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSourceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataSourceId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2377,7 +2153,6 @@ public Builder setDataSourceId(java.lang.String value) {
      * 
* * string data_source_id = 5; - * * @return This builder for chaining. */ public Builder clearDataSourceId() { @@ -2387,8 +2162,6 @@ public Builder clearDataSourceId() { return this; } /** - * - * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2396,14 +2169,12 @@ public Builder clearDataSourceId() {
      * 
* * string data_source_id = 5; - * * @param value The bytes for dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSourceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataSourceId_ = value; bitField0_ |= 0x00000008; @@ -2413,13 +2184,8 @@ public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - paramsBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; /** - * - * *
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2428,15 +2194,12 @@ public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Struct params = 9; - * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2445,7 +2208,6 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 9; - * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -2456,8 +2218,6 @@ public com.google.protobuf.Struct getParams() { } } /** - * - * *
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2481,8 +2241,6 @@ public Builder setParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2492,7 +2250,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct params = 9;
      */
-    public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setParams(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (paramsBuilder_ == null) {
         params_ = builderForValue.build();
       } else {
@@ -2503,8 +2262,6 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2516,9 +2273,9 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
      */
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && params_ != null
-            && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          params_ != null &&
+          params_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getParamsBuilder().mergeFrom(value);
         } else {
           params_ = value;
@@ -2533,8 +2290,6 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2555,8 +2310,6 @@ public Builder clearParams() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2572,8 +2325,6 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
       return getParamsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2587,12 +2338,11 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       if (paramsBuilder_ != null) {
         return paramsBuilder_.getMessageOrBuilder();
       } else {
-        return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
+        return params_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : params_;
       }
     }
     /**
-     *
-     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2603,17 +2353,14 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * .google.protobuf.Struct params = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getParamsFieldBuilder() {
       if (paramsBuilder_ == null) {
-        paramsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getParams(), getParentForChildren(), isClean());
+        paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getParams(),
+                getParentForChildren(),
+                isClean());
         params_ = null;
       }
       return paramsBuilder_;
@@ -2621,8 +2368,6 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
 
     private java.lang.Object schedule_ = "";
     /**
-     *
-     *
      * 
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2641,13 +2386,13 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * 
* * string schedule = 7; - * * @return The schedule. */ public java.lang.String getSchedule() { java.lang.Object ref = schedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; @@ -2656,8 +2401,6 @@ public java.lang.String getSchedule() { } } /** - * - * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2676,14 +2419,15 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 7; - * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schedule_ = b; return b; } else { @@ -2691,8 +2435,6 @@ public com.google.protobuf.ByteString getScheduleBytes() { } } /** - * - * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2711,22 +2453,18 @@ public com.google.protobuf.ByteString getScheduleBytes() {
      * 
* * string schedule = 7; - * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSchedule( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } schedule_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2745,7 +2483,6 @@ public Builder setSchedule(java.lang.String value) {
      * 
* * string schedule = 7; - * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -2755,8 +2492,6 @@ public Builder clearSchedule() { return this; } /** - * - * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2775,14 +2510,12 @@ public Builder clearSchedule() {
      * 
* * string schedule = 7; - * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScheduleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); schedule_ = value; bitField0_ |= 0x00000020; @@ -2792,55 +2525,41 @@ public Builder setScheduleBytes(com.google.protobuf.ByteString value) { private com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions scheduleOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> - scheduleOptionsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> scheduleOptionsBuilder_; /** - * - * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; - * * @return Whether the scheduleOptions field is set. */ public boolean hasScheduleOptions() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; - * * @return The scheduleOptions. */ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOptions() { if (scheduleOptionsBuilder_ == null) { - return scheduleOptions_ == null - ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() - : scheduleOptions_; + return scheduleOptions_ == null ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; } else { return scheduleOptionsBuilder_.getMessage(); } } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public Builder setScheduleOptions( - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { + public Builder setScheduleOptions(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { if (scheduleOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2854,8 +2573,6 @@ public Builder setScheduleOptions( return this; } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
@@ -2874,21 +2591,17 @@ public Builder setScheduleOptions( return this; } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public Builder mergeScheduleOptions( - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { + public Builder mergeScheduleOptions(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { if (scheduleOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && scheduleOptions_ != null - && scheduleOptions_ - != com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + scheduleOptions_ != null && + scheduleOptions_ != com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) { getScheduleOptionsBuilder().mergeFrom(value); } else { scheduleOptions_ = value; @@ -2903,8 +2616,6 @@ public Builder mergeScheduleOptions( return this; } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
@@ -2922,42 +2633,33 @@ public Builder clearScheduleOptions() { return this; } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder - getScheduleOptionsBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder getScheduleOptionsBuilder() { bitField0_ |= 0x00000040; onChanged(); return getScheduleOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder - getScheduleOptionsOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getScheduleOptionsOrBuilder() { if (scheduleOptionsBuilder_ != null) { return scheduleOptionsBuilder_.getMessageOrBuilder(); } else { - return scheduleOptions_ == null - ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() - : scheduleOptions_; + return scheduleOptions_ == null ? + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; } } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
@@ -2965,26 +2667,21 @@ public Builder clearScheduleOptions() { * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> getScheduleOptionsFieldBuilder() { if (scheduleOptionsBuilder_ == null) { - scheduleOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder>( - getScheduleOptions(), getParentForChildren(), isClean()); + scheduleOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder>( + getScheduleOptions(), + getParentForChildren(), + isClean()); scheduleOptions_ = null; } return scheduleOptionsBuilder_; } - private int dataRefreshWindowDays_; + private int dataRefreshWindowDays_ ; /** - * - * *
      * The number of days to look back to automatically refresh the data.
      * For example, if `data_refresh_window_days = 10`, then every day
@@ -2995,7 +2692,6 @@ public Builder clearScheduleOptions() {
      * 
* * int32 data_refresh_window_days = 12; - * * @return The dataRefreshWindowDays. */ @java.lang.Override @@ -3003,8 +2699,6 @@ public int getDataRefreshWindowDays() { return dataRefreshWindowDays_; } /** - * - * *
      * The number of days to look back to automatically refresh the data.
      * For example, if `data_refresh_window_days = 10`, then every day
@@ -3015,7 +2709,6 @@ public int getDataRefreshWindowDays() {
      * 
* * int32 data_refresh_window_days = 12; - * * @param value The dataRefreshWindowDays to set. * @return This builder for chaining. */ @@ -3027,8 +2720,6 @@ public Builder setDataRefreshWindowDays(int value) { return this; } /** - * - * *
      * The number of days to look back to automatically refresh the data.
      * For example, if `data_refresh_window_days = 10`, then every day
@@ -3039,7 +2730,6 @@ public Builder setDataRefreshWindowDays(int value) {
      * 
* * int32 data_refresh_window_days = 12; - * * @return This builder for chaining. */ public Builder clearDataRefreshWindowDays() { @@ -3049,17 +2739,14 @@ public Builder clearDataRefreshWindowDays() { return this; } - private boolean disabled_; + private boolean disabled_ ; /** - * - * *
      * Is this config disabled. When set to true, no runs are scheduled
      * for a given transfer.
      * 
* * bool disabled = 13; - * * @return The disabled. */ @java.lang.Override @@ -3067,15 +2754,12 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
      * Is this config disabled. When set to true, no runs are scheduled
      * for a given transfer.
      * 
* * bool disabled = 13; - * * @param value The disabled to set. * @return This builder for chaining. */ @@ -3087,15 +2771,12 @@ public Builder setDisabled(boolean value) { return this; } /** - * - * *
      * Is this config disabled. When set to true, no runs are scheduled
      * for a given transfer.
      * 
* * bool disabled = 13; - * * @return This builder for chaining. */ public Builder clearDisabled() { @@ -3107,58 +2788,39 @@ public Builder clearDisabled() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3174,17 +2836,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3195,21 +2854,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3224,15 +2879,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3245,15 +2896,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000200; @@ -3261,48 +2908,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3310,58 +2945,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp nextRunTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - nextRunTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> nextRunTimeBuilder_; /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the nextRunTime field is set. */ public boolean hasNextRunTime() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The nextRunTime. */ public com.google.protobuf.Timestamp getNextRunTime() { if (nextRunTimeBuilder_ == null) { - return nextRunTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : nextRunTime_; + return nextRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextRunTime_; } else { return nextRunTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setNextRunTime(com.google.protobuf.Timestamp value) { if (nextRunTimeBuilder_ == null) { @@ -3377,17 +2993,14 @@ public Builder setNextRunTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setNextRunTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setNextRunTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (nextRunTimeBuilder_ == null) { nextRunTime_ = builderForValue.build(); } else { @@ -3398,21 +3011,17 @@ public Builder setNextRunTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeNextRunTime(com.google.protobuf.Timestamp value) { if (nextRunTimeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && nextRunTime_ != null - && nextRunTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + nextRunTime_ != null && + nextRunTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getNextRunTimeBuilder().mergeFrom(value); } else { nextRunTime_ = value; @@ -3427,15 +3036,11 @@ public Builder mergeNextRunTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearNextRunTime() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3448,15 +3053,11 @@ public Builder clearNextRunTime() { return this; } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getNextRunTimeBuilder() { bitField0_ |= 0x00000400; @@ -3464,48 +3065,36 @@ public com.google.protobuf.Timestamp.Builder getNextRunTimeBuilder() { return getNextRunTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { if (nextRunTimeBuilder_ != null) { return nextRunTimeBuilder_.getMessageOrBuilder(); } else { - return nextRunTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : nextRunTime_; + return nextRunTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : nextRunTime_; } } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getNextRunTimeFieldBuilder() { if (nextRunTimeBuilder_ == null) { - nextRunTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getNextRunTime(), getParentForChildren(), isClean()); + nextRunTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getNextRunTime(), + getParentForChildren(), + isClean()); nextRunTime_ = null; } return nextRunTimeBuilder_; @@ -3513,33 +3102,22 @@ public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { private int state_ = 0; /** - * - * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3550,37 +3128,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = - com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED - : result; + com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; } /** - * - * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -3594,16 +3159,11 @@ public Builder setState(com.google.cloud.bigquery.datatransfer.v1.TransferState return this; } /** - * - * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -3613,16 +3173,13 @@ public Builder clearState() { return this; } - private long userId_; + private long userId_ ; /** - * - * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; - * * @return The userId. */ @java.lang.Override @@ -3630,14 +3187,11 @@ public long getUserId() { return userId_; } /** - * - * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; - * * @param value The userId to set. * @return This builder for chaining. */ @@ -3649,14 +3203,11 @@ public Builder setUserId(long value) { return this; } /** - * - * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; - * * @return This builder for chaining. */ public Builder clearUserId() { @@ -3668,20 +3219,18 @@ public Builder clearUserId() { private java.lang.Object datasetRegion_ = ""; /** - * - * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The datasetRegion. */ public java.lang.String getDatasetRegion() { java.lang.Object ref = datasetRegion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetRegion_ = s; return s; @@ -3690,21 +3239,20 @@ public java.lang.String getDatasetRegion() { } } /** - * - * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for datasetRegion. */ - public com.google.protobuf.ByteString getDatasetRegionBytes() { + public com.google.protobuf.ByteString + getDatasetRegionBytes() { java.lang.Object ref = datasetRegion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetRegion_ = b; return b; } else { @@ -3712,35 +3260,28 @@ public com.google.protobuf.ByteString getDatasetRegionBytes() { } } /** - * - * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The datasetRegion to set. * @return This builder for chaining. */ - public Builder setDatasetRegion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatasetRegion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } datasetRegion_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** - * - * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDatasetRegion() { @@ -3750,21 +3291,17 @@ public Builder clearDatasetRegion() { return this; } /** - * - * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for datasetRegion to set. * @return This builder for chaining. */ - public Builder setDatasetRegionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatasetRegionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); datasetRegion_ = value; bitField0_ |= 0x00002000; @@ -3774,8 +3311,6 @@ public Builder setDatasetRegionBytes(com.google.protobuf.ByteString value) { private java.lang.Object notificationPubsubTopic_ = ""; /** - * - * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3785,13 +3320,13 @@ public Builder setDatasetRegionBytes(com.google.protobuf.ByteString value) {
      * 
* * string notification_pubsub_topic = 15; - * * @return The notificationPubsubTopic. */ public java.lang.String getNotificationPubsubTopic() { java.lang.Object ref = notificationPubsubTopic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; @@ -3800,8 +3335,6 @@ public java.lang.String getNotificationPubsubTopic() { } } /** - * - * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3811,14 +3344,15 @@ public java.lang.String getNotificationPubsubTopic() {
      * 
* * string notification_pubsub_topic = 15; - * * @return The bytes for notificationPubsubTopic. */ - public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString + getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -3826,8 +3360,6 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { } } /** - * - * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3837,22 +3369,18 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() {
      * 
* * string notification_pubsub_topic = 15; - * * @param value The notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopic(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNotificationPubsubTopic( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } notificationPubsubTopic_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** - * - * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3862,7 +3390,6 @@ public Builder setNotificationPubsubTopic(java.lang.String value) {
      * 
* * string notification_pubsub_topic = 15; - * * @return This builder for chaining. */ public Builder clearNotificationPubsubTopic() { @@ -3872,8 +3399,6 @@ public Builder clearNotificationPubsubTopic() { return this; } /** - * - * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3883,14 +3408,12 @@ public Builder clearNotificationPubsubTopic() {
      * 
* * string notification_pubsub_topic = 15; - * * @param value The bytes for notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNotificationPubsubTopicBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); notificationPubsubTopic_ = value; bitField0_ |= 0x00004000; @@ -3900,49 +3423,36 @@ public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString va private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> - emailPreferencesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> emailPreferencesBuilder_; /** - * - * *
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
      * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; - * * @return Whether the emailPreferences field is set. */ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00008000) != 0); } /** - * - * *
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
      * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; - * * @return The emailPreferences. */ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { if (emailPreferencesBuilder_ == null) { - return emailPreferences_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() - : emailPreferences_; + return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; } else { return emailPreferencesBuilder_.getMessage(); } } /** - * - * *
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3950,8 +3460,7 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPrefer
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public Builder setEmailPreferences(
-        com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
+    public Builder setEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
       if (emailPreferencesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3965,8 +3474,6 @@ public Builder setEmailPreferences(
       return this;
     }
     /**
-     *
-     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3986,8 +3493,6 @@ public Builder setEmailPreferences(
       return this;
     }
     /**
-     *
-     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3995,14 +3500,11 @@ public Builder setEmailPreferences(
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public Builder mergeEmailPreferences(
-        com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
+    public Builder mergeEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
       if (emailPreferencesBuilder_ == null) {
-        if (((bitField0_ & 0x00008000) != 0)
-            && emailPreferences_ != null
-            && emailPreferences_
-                != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences
-                    .getDefaultInstance()) {
+        if (((bitField0_ & 0x00008000) != 0) &&
+          emailPreferences_ != null &&
+          emailPreferences_ != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()) {
           getEmailPreferencesBuilder().mergeFrom(value);
         } else {
           emailPreferences_ = value;
@@ -4017,8 +3519,6 @@ public Builder mergeEmailPreferences(
       return this;
     }
     /**
-     *
-     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -4037,8 +3537,6 @@ public Builder clearEmailPreferences() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -4046,15 +3544,12 @@ public Builder clearEmailPreferences() {
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder
-        getEmailPreferencesBuilder() {
+    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder getEmailPreferencesBuilder() {
       bitField0_ |= 0x00008000;
       onChanged();
       return getEmailPreferencesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -4062,19 +3557,15 @@ public Builder clearEmailPreferences() {
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder
-        getEmailPreferencesOrBuilder() {
+    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() {
       if (emailPreferencesBuilder_ != null) {
         return emailPreferencesBuilder_.getMessageOrBuilder();
       } else {
-        return emailPreferences_ == null
-            ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()
-            : emailPreferences_;
+        return emailPreferences_ == null ?
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_;
       }
     }
     /**
-     *
-     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -4083,17 +3574,14 @@ public Builder clearEmailPreferences() {
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences,
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder,
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>
+        com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> 
         getEmailPreferencesFieldBuilder() {
       if (emailPreferencesBuilder_ == null) {
-        emailPreferencesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.bigquery.datatransfer.v1.EmailPreferences,
-                com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder,
-                com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>(
-                getEmailPreferences(), getParentForChildren(), isClean());
+        emailPreferencesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>(
+                getEmailPreferences(),
+                getParentForChildren(),
+                isClean());
         emailPreferences_ = null;
       }
       return emailPreferencesBuilder_;
@@ -4101,64 +3589,45 @@ public Builder clearEmailPreferences() {
 
     private com.google.cloud.bigquery.datatransfer.v1.UserInfo ownerInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.datatransfer.v1.UserInfo,
-            com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder,
-            com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder>
-        ownerInfoBuilder_;
+        com.google.cloud.bigquery.datatransfer.v1.UserInfo, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder> ownerInfoBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the ownerInfo field is set. */ public boolean hasOwnerInfo() { return ((bitField0_ & 0x00010000) != 0); } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The ownerInfo. */ public com.google.cloud.bigquery.datatransfer.v1.UserInfo getOwnerInfo() { if (ownerInfoBuilder_ == null) { - return ownerInfo_ == null - ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() - : ownerInfo_; + return ownerInfo_ == null ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; } else { return ownerInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo value) { if (ownerInfoBuilder_ == null) { @@ -4174,17 +3643,13 @@ public Builder setOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo v return this; } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOwnerInfo( com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder builderForValue) { @@ -4198,24 +3663,19 @@ public Builder setOwnerInfo( return this; } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo value) { if (ownerInfoBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) - && ownerInfo_ != null - && ownerInfo_ - != com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00010000) != 0) && + ownerInfo_ != null && + ownerInfo_ != com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) { getOwnerInfoBuilder().mergeFrom(value); } else { ownerInfo_ = value; @@ -4230,17 +3690,13 @@ public Builder mergeOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo return this; } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearOwnerInfo() { bitField0_ = (bitField0_ & ~0x00010000); @@ -4253,17 +3709,13 @@ public Builder clearOwnerInfo() { return this; } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder getOwnerInfoBuilder() { bitField0_ |= 0x00010000; @@ -4271,67 +3723,49 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder getOwnerInfoBu return getOwnerInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoOrBuilder() { if (ownerInfoBuilder_ != null) { return ownerInfoBuilder_.getMessageOrBuilder(); } else { - return ownerInfo_ == null - ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() - : ownerInfo_; + return ownerInfo_ == null ? + com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; } } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.UserInfo, - com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, - com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.UserInfo, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder> getOwnerInfoFieldBuilder() { if (ownerInfoBuilder_ == null) { - ownerInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.UserInfo, - com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, - com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder>( - getOwnerInfo(), getParentForChildren(), isClean()); + ownerInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.UserInfo, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder>( + getOwnerInfo(), + getParentForChildren(), + isClean()); ownerInfo_ = null; } return ownerInfoBuilder_; } - private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - encryptionConfiguration_; + private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryptionConfiguration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> - encryptionConfigurationBuilder_; + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> encryptionConfigurationBuilder_; /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4340,18 +3774,13 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoO
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; * @return Whether the encryptionConfiguration field is set. */ public boolean hasEncryptionConfiguration() { return ((bitField0_ & 0x00020000) != 0); } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4360,25 +3789,17 @@ public boolean hasEncryptionConfiguration() {
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; * @return The encryptionConfiguration. */ - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - getEncryptionConfiguration() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncryptionConfiguration() { if (encryptionConfigurationBuilder_ == null) { - return encryptionConfiguration_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() - : encryptionConfiguration_; + return encryptionConfiguration_ == null ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; } else { return encryptionConfigurationBuilder_.getMessage(); } } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4387,12 +3808,9 @@ public boolean hasEncryptionConfiguration() {
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ - public Builder setEncryptionConfiguration( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { + public Builder setEncryptionConfiguration(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { if (encryptionConfigurationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4406,8 +3824,6 @@ public Builder setEncryptionConfiguration( return this; } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4416,9 +3832,7 @@ public Builder setEncryptionConfiguration(
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ public Builder setEncryptionConfiguration( com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder builderForValue) { @@ -4432,8 +3846,6 @@ public Builder setEncryptionConfiguration( return this; } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4442,18 +3854,13 @@ public Builder setEncryptionConfiguration(
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ - public Builder mergeEncryptionConfiguration( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { + public Builder mergeEncryptionConfiguration(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { if (encryptionConfigurationBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) - && encryptionConfiguration_ != null - && encryptionConfiguration_ - != com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - .getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) && + encryptionConfiguration_ != null && + encryptionConfiguration_ != com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance()) { getEncryptionConfigurationBuilder().mergeFrom(value); } else { encryptionConfiguration_ = value; @@ -4468,8 +3875,6 @@ public Builder mergeEncryptionConfiguration( return this; } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4478,9 +3883,7 @@ public Builder mergeEncryptionConfiguration(
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ public Builder clearEncryptionConfiguration() { bitField0_ = (bitField0_ & ~0x00020000); @@ -4493,8 +3896,6 @@ public Builder clearEncryptionConfiguration() { return this; } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4503,19 +3904,14 @@ public Builder clearEncryptionConfiguration() {
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder - getEncryptionConfigurationBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder getEncryptionConfigurationBuilder() { bitField0_ |= 0x00020000; onChanged(); return getEncryptionConfigurationFieldBuilder().getBuilder(); } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4524,23 +3920,17 @@ public Builder clearEncryptionConfiguration() {
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder - getEncryptionConfigurationOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder getEncryptionConfigurationOrBuilder() { if (encryptionConfigurationBuilder_ != null) { return encryptionConfigurationBuilder_.getMessageOrBuilder(); } else { - return encryptionConfiguration_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() - : encryptionConfiguration_; + return encryptionConfiguration_ == null ? + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; } } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4549,29 +3939,24 @@ public Builder clearEncryptionConfiguration() {
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> getEncryptionConfigurationFieldBuilder() { if (encryptionConfigurationBuilder_ == null) { - encryptionConfigurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder>( - getEncryptionConfiguration(), getParentForChildren(), isClean()); + encryptionConfigurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder>( + getEncryptionConfiguration(), + getParentForChildren(), + isClean()); encryptionConfiguration_ = null; } return encryptionConfigurationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4581,12 +3966,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.TransferConfig) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.TransferConfig) private static final com.google.cloud.bigquery.datatransfer.v1.TransferConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.TransferConfig(); } @@ -4595,27 +3980,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4630,4 +4015,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java new file mode 100644 index 000000000000..c5559f0eaa98 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java @@ -0,0 +1,314 @@ +/* + * Copyright 2023 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; + +import com.google.api.core.BetaApi; +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.pathtemplate.ValidationException; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class TransferConfigName implements ResourceName { + private static final PathTemplate PROJECT_TRANSFER_CONFIG = + PathTemplate.createWithoutUrlEncoding("projects/{project}/transferConfigs/{transfer_config}"); + private static final PathTemplate PROJECT_LOCATION_TRANSFER_CONFIG = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/transferConfigs/{transfer_config}"); + private volatile Map fieldValuesMap; + private PathTemplate pathTemplate; + private String fixedValue; + private final String project; + private final String transferConfig; + private final String location; + + @Deprecated + protected TransferConfigName() { + project = null; + transferConfig = null; + location = null; + } + + private TransferConfigName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); + location = null; + pathTemplate = PROJECT_TRANSFER_CONFIG; + } + + private TransferConfigName(ProjectLocationTransferConfigBuilder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); + pathTemplate = PROJECT_LOCATION_TRANSFER_CONFIG; + } + + public String getProject() { + return project; + } + + public String getTransferConfig() { + return transferConfig; + } + + public String getLocation() { + return location; + } + + public static Builder newBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static Builder newProjectTransferConfigBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static ProjectLocationTransferConfigBuilder newProjectLocationTransferConfigBuilder() { + return new ProjectLocationTransferConfigBuilder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static TransferConfigName of(String project, String transferConfig) { + return newBuilder().setProject(project).setTransferConfig(transferConfig).build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static TransferConfigName ofProjectTransferConfigName( + String project, String transferConfig) { + return newBuilder().setProject(project).setTransferConfig(transferConfig).build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static TransferConfigName ofProjectLocationTransferConfigName( + String project, String location, String transferConfig) { + return newProjectLocationTransferConfigBuilder() + .setProject(project) + .setLocation(location) + .setTransferConfig(transferConfig) + .build(); + } + + public static String format(String project, String transferConfig) { + return newBuilder().setProject(project).setTransferConfig(transferConfig).build().toString(); + } + + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectTransferConfigName(String project, String transferConfig) { + return newBuilder().setProject(project).setTransferConfig(transferConfig).build().toString(); + } + + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectLocationTransferConfigName( + String project, String location, String transferConfig) { + return newProjectLocationTransferConfigBuilder() + .setProject(project) + .setLocation(location) + .setTransferConfig(transferConfig) + .build() + .toString(); + } + + public static TransferConfigName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + if (PROJECT_TRANSFER_CONFIG.matches(formattedString)) { + Map matchMap = PROJECT_TRANSFER_CONFIG.match(formattedString); + return ofProjectTransferConfigName(matchMap.get("project"), matchMap.get("transfer_config")); + } else if (PROJECT_LOCATION_TRANSFER_CONFIG.matches(formattedString)) { + Map matchMap = PROJECT_LOCATION_TRANSFER_CONFIG.match(formattedString); + return ofProjectLocationTransferConfigName( + matchMap.get("project"), matchMap.get("location"), matchMap.get("transfer_config")); + } + throw new ValidationException("TransferConfigName.parse: formattedString not in valid format"); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (TransferConfigName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_TRANSFER_CONFIG.matches(formattedString) + || PROJECT_LOCATION_TRANSFER_CONFIG.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (transferConfig != null) { + fieldMapBuilder.put("transfer_config", transferConfig); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return fixedValue != null ? fixedValue : pathTemplate.instantiate(getFieldValuesMap()); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + TransferConfigName that = ((TransferConfigName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.transferConfig, that.transferConfig) + && Objects.equals(this.location, that.location); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(fixedValue); + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(transferConfig); + h *= 1000003; + h ^= Objects.hashCode(location); + return h; + } + + /** Builder for projects/{project}/transferConfigs/{transfer_config}. */ + public static class Builder { + private String project; + private String transferConfig; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getTransferConfig() { + return transferConfig; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setTransferConfig(String transferConfig) { + this.transferConfig = transferConfig; + return this; + } + + private Builder(TransferConfigName transferConfigName) { + Preconditions.checkArgument( + Objects.equals(transferConfigName.pathTemplate, PROJECT_TRANSFER_CONFIG), + "toBuilder is only supported when TransferConfigName has the pattern of projects/{project}/transferConfigs/{transfer_config}"); + this.project = transferConfigName.project; + this.transferConfig = transferConfigName.transferConfig; + } + + public TransferConfigName build() { + return new TransferConfigName(this); + } + } + + /** Builder for projects/{project}/locations/{location}/transferConfigs/{transfer_config}. */ + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static class ProjectLocationTransferConfigBuilder { + private String project; + private String location; + private String transferConfig; + + protected ProjectLocationTransferConfigBuilder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getTransferConfig() { + return transferConfig; + } + + public ProjectLocationTransferConfigBuilder setProject(String project) { + this.project = project; + return this; + } + + public ProjectLocationTransferConfigBuilder setLocation(String location) { + this.location = location; + return this; + } + + public ProjectLocationTransferConfigBuilder setTransferConfig(String transferConfig) { + this.transferConfig = transferConfig; + return this; + } + + public TransferConfigName build() { + return new TransferConfigName(this); + } + } +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java similarity index 81% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java index 99e48ae5df33..eb87cbb6c1d2 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java @@ -1,32 +1,14 @@ -/* - * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface TransferConfigOrBuilder - extends +public interface TransferConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.TransferConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -38,13 +20,10 @@ public interface TransferConfigOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -56,76 +35,61 @@ public interface TransferConfigOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; - * * @return Whether the destinationDatasetId field is set. */ boolean hasDestinationDatasetId(); /** - * - * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; - * * @return The destinationDatasetId. */ java.lang.String getDestinationDatasetId(); /** - * - * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; - * * @return The bytes for destinationDatasetId. */ - com.google.protobuf.ByteString getDestinationDatasetIdBytes(); + com.google.protobuf.ByteString + getDestinationDatasetIdBytes(); /** - * - * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -133,13 +97,10 @@ public interface TransferConfigOrBuilder
    * 
* * string data_source_id = 5; - * * @return The dataSourceId. */ java.lang.String getDataSourceId(); /** - * - * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -147,14 +108,12 @@ public interface TransferConfigOrBuilder
    * 
* * string data_source_id = 5; - * * @return The bytes for dataSourceId. */ - com.google.protobuf.ByteString getDataSourceIdBytes(); + com.google.protobuf.ByteString + getDataSourceIdBytes(); /** - * - * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -163,13 +122,10 @@ public interface TransferConfigOrBuilder
    * 
* * .google.protobuf.Struct params = 9; - * * @return Whether the params field is set. */ boolean hasParams(); /** - * - * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -178,13 +134,10 @@ public interface TransferConfigOrBuilder
    * 
* * .google.protobuf.Struct params = 9; - * * @return The params. */ com.google.protobuf.Struct getParams(); /** - * - * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -197,8 +150,6 @@ public interface TransferConfigOrBuilder
   com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -217,13 +168,10 @@ public interface TransferConfigOrBuilder
    * 
* * string schedule = 7; - * * @return The schedule. */ java.lang.String getSchedule(); /** - * - * *
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -242,38 +190,30 @@ public interface TransferConfigOrBuilder
    * 
* * string schedule = 7; - * * @return The bytes for schedule. */ - com.google.protobuf.ByteString getScheduleBytes(); + com.google.protobuf.ByteString + getScheduleBytes(); /** - * - * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; - * * @return Whether the scheduleOptions field is set. */ boolean hasScheduleOptions(); /** - * - * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; - * * @return The scheduleOptions. */ com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOptions(); /** - * - * *
    * Options customizing the data transfer schedule.
    * 
@@ -283,8 +223,6 @@ public interface TransferConfigOrBuilder com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getScheduleOptionsOrBuilder(); /** - * - * *
    * The number of days to look back to automatically refresh the data.
    * For example, if `data_refresh_window_days = 10`, then every day
@@ -295,174 +233,125 @@ public interface TransferConfigOrBuilder
    * 
* * int32 data_refresh_window_days = 12; - * * @return The dataRefreshWindowDays. */ int getDataRefreshWindowDays(); /** - * - * *
    * Is this config disabled. When set to true, no runs are scheduled
    * for a given transfer.
    * 
* * bool disabled = 13; - * * @return The disabled. */ boolean getDisabled(); /** - * - * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Next time when data transfer will run.
    * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the nextRunTime field is set. */ boolean hasNextRunTime(); /** - * - * *
    * Output only. Next time when data transfer will run.
    * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The nextRunTime. */ com.google.protobuf.Timestamp getNextRunTime(); /** - * - * *
    * Output only. Next time when data transfer will run.
    * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder(); /** - * - * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.bigquery.datatransfer.v1.TransferState getState(); /** - * - * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; - * * @return The userId. */ long getUserId(); /** - * - * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The datasetRegion. */ java.lang.String getDatasetRegion(); /** - * - * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for datasetRegion. */ - com.google.protobuf.ByteString getDatasetRegionBytes(); + com.google.protobuf.ByteString + getDatasetRegionBytes(); /** - * - * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -472,13 +361,10 @@ public interface TransferConfigOrBuilder
    * 
* * string notification_pubsub_topic = 15; - * * @return The notificationPubsubTopic. */ java.lang.String getNotificationPubsubTopic(); /** - * - * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -488,40 +374,32 @@ public interface TransferConfigOrBuilder
    * 
* * string notification_pubsub_topic = 15; - * * @return The bytes for notificationPubsubTopic. */ - com.google.protobuf.ByteString getNotificationPubsubTopicBytes(); + com.google.protobuf.ByteString + getNotificationPubsubTopicBytes(); /** - * - * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; - * * @return Whether the emailPreferences field is set. */ boolean hasEmailPreferences(); /** - * - * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; - * * @return The emailPreferences. */ com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences(); /** - * - * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
@@ -529,59 +407,42 @@ public interface TransferConfigOrBuilder
    *
    * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
    */
-  com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder
-      getEmailPreferencesOrBuilder();
+  com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the ownerInfo field is set. */ boolean hasOwnerInfo(); /** - * - * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The ownerInfo. */ com.google.cloud.bigquery.datatransfer.v1.UserInfo getOwnerInfo(); /** - * - * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoOrBuilder(); /** - * - * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -590,16 +451,11 @@ public interface TransferConfigOrBuilder
    * otherwise try to apply project default keys if it is absent.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; * @return Whether the encryptionConfiguration field is set. */ boolean hasEncryptionConfiguration(); /** - * - * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -608,16 +464,11 @@ public interface TransferConfigOrBuilder
    * otherwise try to apply project default keys if it is absent.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; * @return The encryptionConfiguration. */ com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncryptionConfiguration(); /** - * - * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -626,12 +477,9 @@ public interface TransferConfigOrBuilder
    * otherwise try to apply project default keys if it is absent.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder - getEncryptionConfigurationOrBuilder(); + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder getEncryptionConfigurationOrBuilder(); com.google.cloud.bigquery.datatransfer.v1.TransferConfig.DestinationCase getDestinationCase(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java similarity index 68% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java index 0d168c1d6df6..4ce63973e0e7 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Represents a user facing message for a particular data transfer run.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferMessage} */ -public final class TransferMessage extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransferMessage extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.TransferMessage) TransferMessageOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransferMessage.newBuilder() to construct. private TransferMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferMessage() { severity_ = 0; messageText_ = ""; @@ -45,38 +27,34 @@ private TransferMessage() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferMessage(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); } /** - * - * *
    * Represents data transfer user facing message severity.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity} */ - public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { + public enum MessageSeverity + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No severity specified.
      * 
@@ -85,8 +63,6 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { */ MESSAGE_SEVERITY_UNSPECIFIED(0), /** - * - * *
      * Informational message.
      * 
@@ -95,8 +71,6 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { */ INFO(1), /** - * - * *
      * Warning message.
      * 
@@ -105,8 +79,6 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { */ WARNING(2), /** - * - * *
      * Error message.
      * 
@@ -118,8 +90,6 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * No severity specified.
      * 
@@ -128,8 +98,6 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MESSAGE_SEVERITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Informational message.
      * 
@@ -138,8 +106,6 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INFO_VALUE = 1; /** - * - * *
      * Warning message.
      * 
@@ -148,8 +114,6 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WARNING_VALUE = 2; /** - * - * *
      * Error message.
      * 
@@ -158,6 +122,7 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ERROR_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -182,47 +147,41 @@ public static MessageSeverity valueOf(int value) { */ public static MessageSeverity forNumber(int value) { switch (value) { - case 0: - return MESSAGE_SEVERITY_UNSPECIFIED; - case 1: - return INFO; - case 2: - return WARNING; - case 3: - return ERROR; - default: - return null; + case 0: return MESSAGE_SEVERITY_UNSPECIFIED; + case 1: return INFO; + case 2: return WARNING; + case 3: return ERROR; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + MessageSeverity> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MessageSeverity findValueByNumber(int number) { + return MessageSeverity.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MessageSeverity findValueByNumber(int number) { - return MessageSeverity.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDescriptor().getEnumTypes().get(0); } private static final MessageSeverity[] VALUES = values(); @@ -230,7 +189,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static MessageSeverity valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -251,14 +211,11 @@ private MessageSeverity(int value) { public static final int MESSAGE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp messageTime_; /** - * - * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; - * * @return Whether the messageTime field is set. */ @java.lang.Override @@ -266,14 +223,11 @@ public boolean hasMessageTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; - * * @return The messageTime. */ @java.lang.Override @@ -281,8 +235,6 @@ public com.google.protobuf.Timestamp getMessageTime() { return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; } /** - * - * *
    * Time when message was logged.
    * 
@@ -297,56 +249,38 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { public static final int SEVERITY_FIELD_NUMBER = 2; private int severity_ = 0; /** - * - * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @return The enum numeric value on the wire for severity. */ - @java.lang.Override - public int getSeverityValue() { + @java.lang.Override public int getSeverityValue() { return severity_; } /** - * - * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @return The severity. */ - @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity() { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber( - severity_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity() { + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber(severity_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED : result; } public static final int MESSAGE_TEXT_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object messageText_ = ""; /** - * - * *
    * Message text.
    * 
* * string message_text = 3; - * * @return The messageText. */ @java.lang.Override @@ -355,29 +289,29 @@ public java.lang.String getMessageText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); messageText_ = s; return s; } } /** - * - * *
    * Message text.
    * 
* * string message_text = 3; - * * @return The bytes for messageText. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageTextBytes() { + public com.google.protobuf.ByteString + getMessageTextBytes() { java.lang.Object ref = messageText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); messageText_ = b; return b; } else { @@ -386,7 +320,6 @@ public com.google.protobuf.ByteString getMessageTextBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -398,14 +331,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getMessageTime()); } - if (severity_ - != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity - .MESSAGE_SEVERITY_UNSPECIFIED - .getNumber()) { + if (severity_ != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.MESSAGE_SEVERITY_UNSPECIFIED.getNumber()) { output.writeEnum(2, severity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(messageText_)) { @@ -421,13 +352,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMessageTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMessageTime()); } - if (severity_ - != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity - .MESSAGE_SEVERITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, severity_); + if (severity_ != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.MESSAGE_SEVERITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, severity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(messageText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, messageText_); @@ -440,20 +370,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.TransferMessage)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.TransferMessage other = - (com.google.cloud.bigquery.datatransfer.v1.TransferMessage) obj; + com.google.cloud.bigquery.datatransfer.v1.TransferMessage other = (com.google.cloud.bigquery.datatransfer.v1.TransferMessage) obj; if (hasMessageTime() != other.hasMessageTime()) return false; if (hasMessageTime()) { - if (!getMessageTime().equals(other.getMessageTime())) return false; + if (!getMessageTime() + .equals(other.getMessageTime())) return false; } if (severity_ != other.severity_) return false; - if (!getMessageText().equals(other.getMessageText())) return false; + if (!getMessageText() + .equals(other.getMessageText())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -479,127 +410,119 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage 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.TransferMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferMessage 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.TransferMessage 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.TransferMessage parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage 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.TransferMessage 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.TransferMessage parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.TransferMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferMessage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a user facing message for a particular data transfer run.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferMessage} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.TransferMessage) com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.TransferMessage.newBuilder() @@ -607,17 +530,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMessageTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -633,9 +556,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; } @java.lang.Override @@ -654,11 +577,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage result = - new com.google.cloud.bigquery.datatransfer.v1.TransferMessage(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.TransferMessage result = new com.google.cloud.bigquery.datatransfer.v1.TransferMessage(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -667,8 +587,9 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferMes int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.messageTime_ = - messageTimeBuilder_ == null ? messageTime_ : messageTimeBuilder_.build(); + result.messageTime_ = messageTimeBuilder_ == null + ? messageTime_ + : messageTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { @@ -684,39 +605,38 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferMes public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.TransferMessage) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferMessage) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferMessage)other); } else { super.mergeFrom(other); return this; @@ -724,8 +644,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferMessage other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()) return this; if (other.hasMessageTime()) { mergeMessageTime(other.getMessageTime()); } @@ -763,31 +682,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getMessageTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - severity_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - messageText_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getMessageTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + severity_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + messageText_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -797,52 +714,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp messageTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - messageTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> messageTimeBuilder_; /** - * - * *
      * Time when message was logged.
      * 
* * .google.protobuf.Timestamp message_time = 1; - * * @return Whether the messageTime field is set. */ public boolean hasMessageTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Time when message was logged.
      * 
* * .google.protobuf.Timestamp message_time = 1; - * * @return The messageTime. */ public com.google.protobuf.Timestamp getMessageTime() { if (messageTimeBuilder_ == null) { - return messageTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : messageTime_; + return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; } else { return messageTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when message was logged.
      * 
@@ -863,15 +766,14 @@ public Builder setMessageTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when message was logged.
      * 
* * .google.protobuf.Timestamp message_time = 1; */ - public Builder setMessageTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setMessageTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (messageTimeBuilder_ == null) { messageTime_ = builderForValue.build(); } else { @@ -882,8 +784,6 @@ public Builder setMessageTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * Time when message was logged.
      * 
@@ -892,9 +792,9 @@ public Builder setMessageTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { if (messageTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && messageTime_ != null - && messageTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + messageTime_ != null && + messageTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getMessageTimeBuilder().mergeFrom(value); } else { messageTime_ = value; @@ -909,8 +809,6 @@ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when message was logged.
      * 
@@ -928,8 +826,6 @@ public Builder clearMessageTime() { return this; } /** - * - * *
      * Time when message was logged.
      * 
@@ -942,8 +838,6 @@ public com.google.protobuf.Timestamp.Builder getMessageTimeBuilder() { return getMessageTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when message was logged.
      * 
@@ -954,14 +848,11 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { if (messageTimeBuilder_ != null) { return messageTimeBuilder_.getMessageOrBuilder(); } else { - return messageTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : messageTime_; + return messageTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; } } /** - * - * *
      * Time when message was logged.
      * 
@@ -969,17 +860,14 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { * .google.protobuf.Timestamp message_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getMessageTimeFieldBuilder() { if (messageTimeBuilder_ == null) { - messageTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getMessageTime(), getParentForChildren(), isClean()); + messageTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getMessageTime(), + getParentForChildren(), + isClean()); messageTime_ = null; } return messageTimeBuilder_; @@ -987,31 +875,22 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { private int severity_ = 0; /** - * - * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @return The enum numeric value on the wire for severity. */ - @java.lang.Override - public int getSeverityValue() { + @java.lang.Override public int getSeverityValue() { return severity_; } /** - * - * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @param value The enum numeric value on the wire for severity to set. * @return This builder for chaining. */ @@ -1022,41 +901,28 @@ public Builder setSeverityValue(int value) { return this; } /** - * - * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @return The severity. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity() { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber( - severity_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED - : result; + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber(severity_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED : result; } /** - * - * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { + public Builder setSeverity(com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { if (value == null) { throw new NullPointerException(); } @@ -1066,15 +932,11 @@ public Builder setSeverity( return this; } /** - * - * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @return This builder for chaining. */ public Builder clearSeverity() { @@ -1086,20 +948,18 @@ public Builder clearSeverity() { private java.lang.Object messageText_ = ""; /** - * - * *
      * Message text.
      * 
* * string message_text = 3; - * * @return The messageText. */ public java.lang.String getMessageText() { java.lang.Object ref = messageText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); messageText_ = s; return s; @@ -1108,21 +968,20 @@ public java.lang.String getMessageText() { } } /** - * - * *
      * Message text.
      * 
* * string message_text = 3; - * * @return The bytes for messageText. */ - public com.google.protobuf.ByteString getMessageTextBytes() { + public com.google.protobuf.ByteString + getMessageTextBytes() { java.lang.Object ref = messageText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); messageText_ = b; return b; } else { @@ -1130,35 +989,28 @@ public com.google.protobuf.ByteString getMessageTextBytes() { } } /** - * - * *
      * Message text.
      * 
* * string message_text = 3; - * * @param value The messageText to set. * @return This builder for chaining. */ - public Builder setMessageText(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageText( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } messageText_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Message text.
      * 
* * string message_text = 3; - * * @return This builder for chaining. */ public Builder clearMessageText() { @@ -1168,30 +1020,26 @@ public Builder clearMessageText() { return this; } /** - * - * *
      * Message text.
      * 
* * string message_text = 3; - * * @param value The bytes for messageText to set. * @return This builder for chaining. */ - public Builder setMessageTextBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageTextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); messageText_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1201,12 +1049,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.TransferMessage) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.TransferMessage) private static final com.google.cloud.bigquery.datatransfer.v1.TransferMessage DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.TransferMessage(); } @@ -1215,27 +1063,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1250,4 +1098,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java similarity index 66% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java index 0e9b4035b43e..467992092e26 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java @@ -1,56 +1,32 @@ -/* - * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface TransferMessageOrBuilder - extends +public interface TransferMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.TransferMessage) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; - * * @return Whether the messageTime field is set. */ boolean hasMessageTime(); /** - * - * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; - * * @return The messageTime. */ com.google.protobuf.Timestamp getMessageTime(); /** - * - * *
    * Time when message was logged.
    * 
@@ -60,54 +36,41 @@ public interface TransferMessageOrBuilder com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder(); /** - * - * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @return The enum numeric value on the wire for severity. */ int getSeverityValue(); /** - * - * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @return The severity. */ com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity(); /** - * - * *
    * Message text.
    * 
* * string message_text = 3; - * * @return The messageText. */ java.lang.String getMessageText(); /** - * - * *
    * Message text.
    * 
* * string message_text = 3; - * * @return The bytes for messageText. */ - com.google.protobuf.ByteString getMessageTextBytes(); + com.google.protobuf.ByteString + getMessageTextBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java new file mode 100644 index 000000000000..4328e12c1f77 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java @@ -0,0 +1,212 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/datatransfer/v1/transfer.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.datatransfer.v1; + +public final class TransferProto { + private TransferProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n4google/cloud/bigquery/datatransfer/v1/" + + "transfer.proto\022%google.cloud.bigquery.da" + + "tatransfer.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\034googl" + + "e/protobuf/struct.proto\032\037google/protobuf" + + "/timestamp.proto\032\036google/protobuf/wrappe" + + "rs.proto\032\027google/rpc/status.proto\"0\n\020Ema" + + "ilPreferences\022\034\n\024enable_failure_email\030\001 " + + "\001(\010\"\220\001\n\017ScheduleOptions\022\037\n\027disable_auto_" + + "scheduling\030\003 \001(\010\022.\n\nstart_time\030\001 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022,\n\010end_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\"(\n\010UserIn" + + "fo\022\022\n\005email\030\001 \001(\tH\000\210\001\001B\010\n\006_email\"\227\010\n\016Tra" + + "nsferConfig\022\014\n\004name\030\001 \001(\t\022 \n\026destination" + + "_dataset_id\030\002 \001(\tH\000\022\024\n\014display_name\030\003 \001(" + + "\t\022\026\n\016data_source_id\030\005 \001(\t\022\'\n\006params\030\t \001(" + + "\0132\027.google.protobuf.Struct\022\020\n\010schedule\030\007" + + " \001(\t\022P\n\020schedule_options\030\030 \001(\01326.google." + + "cloud.bigquery.datatransfer.v1.ScheduleO" + + "ptions\022 \n\030data_refresh_window_days\030\014 \001(\005" + + "\022\020\n\010disabled\030\r \001(\010\0224\n\013update_time\030\004 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\0226\n\rnext" + + "_run_time\030\010 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022H\n\005state\030\n \001(\01624.google.cloud.b" + + "igquery.datatransfer.v1.TransferStateB\003\340" + + "A\003\022\017\n\007user_id\030\013 \001(\003\022\033\n\016dataset_region\030\016 " + + "\001(\tB\003\340A\003\022!\n\031notification_pubsub_topic\030\017 " + + "\001(\t\022R\n\021email_preferences\030\022 \001(\01327.google." + + "cloud.bigquery.datatransfer.v1.EmailPref" + + "erences\022M\n\nowner_info\030\033 \001(\0132/.google.clo" + + "ud.bigquery.datatransfer.v1.UserInfoB\003\340A" + + "\003H\001\210\001\001\022`\n\030encryption_configuration\030\034 \001(\013" + + "2>.google.cloud.bigquery.datatransfer.v1" + + ".EncryptionConfiguration:\271\001\352A\265\001\n2bigquer" + + "ydatatransfer.googleapis.com/TransferCon" + + "fig\0224projects/{project}/transferConfigs/" + + "{transfer_config}\022Iprojects/{project}/lo" + + "cations/{location}/transferConfigs/{tran" + + "sfer_config}B\r\n\013destinationB\r\n\013_owner_in" + + "fo\"M\n\027EncryptionConfiguration\0222\n\014kms_key" + + "_name\030\001 \001(\0132\034.google.protobuf.StringValu" + + "e\"\372\006\n\013TransferRun\022\014\n\004name\030\001 \001(\t\0221\n\rsched" + + "ule_time\030\003 \001(\0132\032.google.protobuf.Timesta" + + "mp\022,\n\010run_time\030\n \001(\0132\032.google.protobuf.T" + + "imestamp\022(\n\014error_status\030\025 \001(\0132\022.google." + + "rpc.Status\0223\n\nstart_time\030\004 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" + + "date_time\030\006 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022,\n\006params\030\t \001(\0132\027.google.protob" + + "uf.StructB\003\340A\003\022%\n\026destination_dataset_id" + + "\030\002 \001(\tB\003\340A\003H\000\022\033\n\016data_source_id\030\007 \001(\tB\003\340" + + "A\003\022C\n\005state\030\010 \001(\01624.google.cloud.bigquer" + + "y.datatransfer.v1.TransferState\022\017\n\007user_" + + "id\030\013 \001(\003\022\025\n\010schedule\030\014 \001(\tB\003\340A\003\022&\n\031notif" + + "ication_pubsub_topic\030\027 \001(\tB\003\340A\003\022W\n\021email" + + "_preferences\030\031 \001(\01327.google.cloud.bigque" + + "ry.datatransfer.v1.EmailPreferencesB\003\340A\003" + + ":\304\001\352A\300\001\n\'bigquerydatatransfer.googleapis" + + ".com/Run\022?projects/{project}/transferCon" + + "figs/{transfer_config}/runs/{run}\022Tproje" + + "cts/{project}/locations/{location}/trans" + + "ferConfigs/{transfer_config}/runs/{run}B" + + "\r\n\013destination\"\212\002\n\017TransferMessage\0220\n\014me" + + "ssage_time\030\001 \001(\0132\032.google.protobuf.Times" + + "tamp\022X\n\010severity\030\002 \001(\0162F.google.cloud.bi" + + "gquery.datatransfer.v1.TransferMessage.M" + + "essageSeverity\022\024\n\014message_text\030\003 \001(\t\"U\n\017" + + "MessageSeverity\022 \n\034MESSAGE_SEVERITY_UNSP" + + "ECIFIED\020\000\022\010\n\004INFO\020\001\022\013\n\007WARNING\020\002\022\t\n\005ERRO" + + "R\020\003*K\n\014TransferType\022\035\n\031TRANSFER_TYPE_UNS" + + "PECIFIED\020\000\022\t\n\005BATCH\020\001\022\r\n\tSTREAMING\020\002\032\002\030\001" + + "*s\n\rTransferState\022\036\n\032TRANSFER_STATE_UNSP" + + "ECIFIED\020\000\022\013\n\007PENDING\020\002\022\013\n\007RUNNING\020\003\022\r\n\tS" + + "UCCEEDED\020\004\022\n\n\006FAILED\020\005\022\r\n\tCANCELLED\020\006B\217\002" + + "\n)com.google.cloud.bigquery.datatransfer" + + ".v1B\rTransferProtoP\001ZMcloud.google.com/g" + + "o/bigquery/datatransfer/apiv1/datatransf" + + "erpb;datatransferpb\242\002\005GCBDT\252\002%Google.Clo" + + "ud.BigQuery.DataTransfer.V1\312\002%Google\\Clo" + + "ud\\BigQuery\\DataTransfer\\V1\352\002)Google::Cl" + + "oud::Bigquery::DataTransfer::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor, + new java.lang.String[] { "EnableFailureEmail", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor, + new java.lang.String[] { "DisableAutoScheduling", "StartTime", "EndTime", }); + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor, + new java.lang.String[] { "Email", }); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor, + new java.lang.String[] { "Name", "DestinationDatasetId", "DisplayName", "DataSourceId", "Params", "Schedule", "ScheduleOptions", "DataRefreshWindowDays", "Disabled", "UpdateTime", "NextRunTime", "State", "UserId", "DatasetRegion", "NotificationPubsubTopic", "EmailPreferences", "OwnerInfo", "EncryptionConfiguration", "Destination", }); + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor, + new java.lang.String[] { "KmsKeyName", }); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor, + new java.lang.String[] { "Name", "ScheduleTime", "RunTime", "ErrorStatus", "StartTime", "EndTime", "UpdateTime", "Params", "DestinationDatasetId", "DataSourceId", "State", "UserId", "Schedule", "NotificationPubsubTopic", "EmailPreferences", "Destination", }); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor, + new java.lang.String[] { "MessageTime", "Severity", "MessageText", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java similarity index 73% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java index dfc9bdceaa34..0d224cd7fb9c 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Represents a data transfer run.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferRun} */ -public final class TransferRun extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransferRun extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.TransferRun) TransferRunOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransferRun.newBuilder() to construct. private TransferRun(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferRun() { name_ = ""; dataSourceId_ = ""; @@ -48,39 +30,34 @@ private TransferRun() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferRun(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); } private int bitField0_; private int destinationCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object destination_; - public enum DestinationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DESTINATION_DATASET_ID(2), DESTINATION_NOT_SET(0); private final int value; - private DestinationCase(int value) { this.value = value; } @@ -96,31 +73,26 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 2: - return DESTINATION_DATASET_ID; - case 0: - return DESTINATION_NOT_SET; - default: - return null; + case 2: return DESTINATION_DATASET_ID; + case 0: return DESTINATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -129,7 +101,6 @@ public DestinationCase getDestinationCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -138,15 +109,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -155,15 +125,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -174,14 +145,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -189,25 +157,18 @@ public boolean hasScheduleTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Minimum time after which a transfer run can be started.
    * 
@@ -216,23 +177,18 @@ public com.google.protobuf.Timestamp getScheduleTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } public static final int RUN_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp runTime_; /** - * - * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; - * * @return Whether the runTime field is set. */ @java.lang.Override @@ -240,15 +196,12 @@ public boolean hasRunTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; - * * @return The runTime. */ @java.lang.Override @@ -256,8 +209,6 @@ public com.google.protobuf.Timestamp getRunTime() { return runTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runTime_; } /** - * - * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
@@ -273,14 +224,11 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
   public static final int ERROR_STATUS_FIELD_NUMBER = 21;
   private com.google.rpc.Status errorStatus_;
   /**
-   *
-   *
    * 
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; - * * @return Whether the errorStatus field is set. */ @java.lang.Override @@ -288,14 +236,11 @@ public boolean hasErrorStatus() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; - * * @return The errorStatus. */ @java.lang.Override @@ -303,8 +248,6 @@ public com.google.rpc.Status getErrorStatus() { return errorStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : errorStatus_; } /** - * - * *
    * Status of the transfer run.
    * 
@@ -319,16 +262,12 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -336,16 +275,12 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -353,15 +288,12 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -371,16 +303,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -388,16 +316,12 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -405,15 +329,12 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -423,15 +344,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -439,15 +356,11 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -455,14 +368,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -472,8 +382,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int PARAMS_FIELD_NUMBER = 9; private com.google.protobuf.Struct params_; /** - * - * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -483,7 +391,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the params field is set. */ @java.lang.Override @@ -491,8 +398,6 @@ public boolean hasParams() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -502,7 +407,6 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The params. */ @java.lang.Override @@ -510,8 +414,6 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** - * - * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -529,28 +431,22 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
 
   public static final int DESTINATION_DATASET_ID_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the destinationDatasetId field is set. */ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** - * - * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The destinationDatasetId. */ public java.lang.String getDestinationDatasetId() { @@ -561,7 +457,8 @@ public java.lang.String getDestinationDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -570,24 +467,23 @@ public java.lang.String getDestinationDatasetId() { } } /** - * - * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for destinationDatasetId. */ - public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString + getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -598,18 +494,14 @@ public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { } public static final int DATA_SOURCE_ID_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object dataSourceId_ = ""; /** - * - * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dataSourceId. */ @java.lang.Override @@ -618,29 +510,29 @@ public java.lang.String getDataSourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; } } /** - * - * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for dataSourceId. */ @java.lang.Override - public com.google.protobuf.ByteString getDataSourceIdBytes() { + public com.google.protobuf.ByteString + getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -651,51 +543,37 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** - * - * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = - com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { + com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; } public static final int USER_ID_FIELD_NUMBER = 11; private long userId_ = 0L; /** - * - * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; - * * @return The userId. */ @java.lang.Override @@ -704,12 +582,9 @@ public long getUserId() { } public static final int SCHEDULE_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private volatile java.lang.Object schedule_ = ""; /** - * - * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -719,7 +594,6 @@ public long getUserId() {
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The schedule. */ @java.lang.Override @@ -728,15 +602,14 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; } } /** - * - * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -746,15 +619,16 @@ public java.lang.String getSchedule() {
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schedule_ = b; return b; } else { @@ -763,12 +637,9 @@ public com.google.protobuf.ByteString getScheduleBytes() { } public static final int NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER = 23; - @SuppressWarnings("serial") private volatile java.lang.Object notificationPubsubTopic_ = ""; /** - * - * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -777,9 +648,7 @@ public com.google.protobuf.ByteString getScheduleBytes() {
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The notificationPubsubTopic. */ @java.lang.Override @@ -788,15 +657,14 @@ public java.lang.String getNotificationPubsubTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; } } /** - * - * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -805,17 +673,17 @@ public java.lang.String getNotificationPubsubTopic() {
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for notificationPubsubTopic. */ @java.lang.Override - public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString + getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -826,18 +694,13 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { public static final int EMAIL_PREFERENCES_FIELD_NUMBER = 25; private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; /** - * - * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the emailPreferences field is set. */ @java.lang.Override @@ -845,49 +708,34 @@ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The emailPreferences. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { - return emailPreferences_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() - : emailPreferences_; + return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; } /** - * - * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder - getEmailPreferencesOrBuilder() { - return emailPreferences_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() - : emailPreferences_; + public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() { + return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -899,7 +747,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -921,9 +770,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, dataSourceId_); } - if (state_ - != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(8, state_); } if (((bitField0_ & 0x00000040) != 0)) { @@ -963,46 +810,53 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destination_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getScheduleTime()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getStartTime()); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getEndTime()); } if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, dataSourceId_); } - if (state_ - != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); + if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, state_); } if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getParams()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getParams()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getRunTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getRunTime()); } if (userId_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, userId_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(11, userId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schedule_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, schedule_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getErrorStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getErrorStatus()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(notificationPubsubTopic_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(23, notificationPubsubTopic_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, notificationPubsubTopic_); } if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getEmailPreferences()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, getEmailPreferences()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1012,56 +866,69 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.TransferRun)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.TransferRun other = - (com.google.cloud.bigquery.datatransfer.v1.TransferRun) obj; + com.google.cloud.bigquery.datatransfer.v1.TransferRun other = (com.google.cloud.bigquery.datatransfer.v1.TransferRun) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (hasRunTime() != other.hasRunTime()) return false; if (hasRunTime()) { - if (!getRunTime().equals(other.getRunTime())) return false; + if (!getRunTime() + .equals(other.getRunTime())) return false; } if (hasErrorStatus() != other.hasErrorStatus()) return false; if (hasErrorStatus()) { - if (!getErrorStatus().equals(other.getErrorStatus())) return false; + if (!getErrorStatus() + .equals(other.getErrorStatus())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasParams() != other.hasParams()) return false; if (hasParams()) { - if (!getParams().equals(other.getParams())) return false; + if (!getParams() + .equals(other.getParams())) return false; } - if (!getDataSourceId().equals(other.getDataSourceId())) return false; + if (!getDataSourceId() + .equals(other.getDataSourceId())) return false; if (state_ != other.state_) return false; - if (getUserId() != other.getUserId()) return false; - if (!getSchedule().equals(other.getSchedule())) return false; - if (!getNotificationPubsubTopic().equals(other.getNotificationPubsubTopic())) return false; + if (getUserId() + != other.getUserId()) return false; + if (!getSchedule() + .equals(other.getSchedule())) return false; + if (!getNotificationPubsubTopic() + .equals(other.getNotificationPubsubTopic())) return false; if (hasEmailPreferences() != other.hasEmailPreferences()) return false; if (hasEmailPreferences()) { - if (!getEmailPreferences().equals(other.getEmailPreferences())) return false; + if (!getEmailPreferences() + .equals(other.getEmailPreferences())) return false; } if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 2: - if (!getDestinationDatasetId().equals(other.getDestinationDatasetId())) return false; + if (!getDestinationDatasetId() + .equals(other.getDestinationDatasetId())) return false; break; case 0: default: @@ -1112,7 +979,8 @@ public int hashCode() { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + USER_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getUserId()); hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getSchedule().hashCode(); hash = (37 * hash) + NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER; @@ -1135,127 +1003,119 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferRun parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferRun 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.TransferRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferRun 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.TransferRun 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.TransferRun parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferRun 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.TransferRun 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.TransferRun parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.TransferRun parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferRun prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a data transfer run.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferRun} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.TransferRun) com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.TransferRun.newBuilder() @@ -1263,13 +1123,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getScheduleTimeFieldBuilder(); getRunTimeFieldBuilder(); getErrorStatusFieldBuilder(); @@ -1280,7 +1141,6 @@ private void maybeForceBuilderInitialization() { getEmailPreferencesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1337,9 +1197,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; } @java.lang.Override @@ -1358,11 +1218,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferRun buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.TransferRun result = - new com.google.cloud.bigquery.datatransfer.v1.TransferRun(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.TransferRun result = new com.google.cloud.bigquery.datatransfer.v1.TransferRun(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1375,33 +1232,45 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferRun } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.scheduleTime_ = - scheduleTimeBuilder_ == null ? scheduleTime_ : scheduleTimeBuilder_.build(); + result.scheduleTime_ = scheduleTimeBuilder_ == null + ? scheduleTime_ + : scheduleTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.runTime_ = runTimeBuilder_ == null ? runTime_ : runTimeBuilder_.build(); + result.runTime_ = runTimeBuilder_ == null + ? runTime_ + : runTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.errorStatus_ = - errorStatusBuilder_ == null ? errorStatus_ : errorStatusBuilder_.build(); + result.errorStatus_ = errorStatusBuilder_ == null + ? errorStatus_ + : errorStatusBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build(); + result.params_ = paramsBuilder_ == null + ? params_ + : paramsBuilder_.build(); to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000200) != 0)) { @@ -1420,8 +1289,9 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferRun result.notificationPubsubTopic_ = notificationPubsubTopic_; } if (((from_bitField0_ & 0x00004000) != 0)) { - result.emailPreferences_ = - emailPreferencesBuilder_ == null ? emailPreferences_ : emailPreferencesBuilder_.build(); + result.emailPreferences_ = emailPreferencesBuilder_ == null + ? emailPreferences_ + : emailPreferencesBuilder_.build(); to_bitField0_ |= 0x00000080; } result.bitField0_ |= to_bitField0_; @@ -1436,39 +1306,38 @@ private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.Transf public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.TransferRun) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferRun) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferRun)other); } else { super.mergeFrom(other); return this; @@ -1476,8 +1345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferRun other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1529,17 +1397,15 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferRun o mergeEmailPreferences(other.getEmailPreferences()); } switch (other.getDestinationCase()) { - case DESTINATION_DATASET_ID: - { - destinationCase_ = 2; - destination_ = other.destination_; - onChanged(); - break; - } - case DESTINATION_NOT_SET: - { - break; - } + case DESTINATION_DATASET_ID: { + destinationCase_ = 2; + destination_ = other.destination_; + onChanged(); + break; + } + case DESTINATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1567,105 +1433,104 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - destinationCase_ = 2; - destination_ = s; - break; - } // case 18 - case 26: - { - input.readMessage(getScheduleTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 50: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 58: - { - dataSourceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 58 - case 64: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000400; - break; - } // case 64 - case 74: - { - input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 74 - case 82: - { - input.readMessage(getRunTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 82 - case 88: - { - userId_ = input.readInt64(); - bitField0_ |= 0x00000800; - break; - } // case 88 - case 98: - { - schedule_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 98 - case 170: - { - input.readMessage(getErrorStatusFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 170 - case 186: - { - notificationPubsubTopic_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 186 - case 202: - { - input.readMessage( - getEmailPreferencesFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 202 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + destinationCase_ = 2; + destination_ = s; + break; + } // case 18 + case 26: { + input.readMessage( + getScheduleTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 50: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 58: { + dataSourceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 58 + case 64: { + state_ = input.readEnum(); + bitField0_ |= 0x00000400; + break; + } // case 64 + case 74: { + input.readMessage( + getParamsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: { + input.readMessage( + getRunTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 82 + case 88: { + userId_ = input.readInt64(); + bitField0_ |= 0x00000800; + break; + } // case 88 + case 98: { + schedule_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 98 + case 170: { + input.readMessage( + getErrorStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 170 + case 186: { + notificationPubsubTopic_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 186 + case 202: { + input.readMessage( + getEmailPreferencesFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 202 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1675,12 +1540,12 @@ public Builder mergeFrom( } // finally return this; } - private int destinationCase_ = 0; private java.lang.Object destination_; - - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public Builder clearDestination() { @@ -1694,8 +1559,6 @@ public Builder clearDestination() { private java.lang.Object name_ = ""; /** - * - * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1704,13 +1567,13 @@ public Builder clearDestination() {
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1719,8 +1582,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1729,14 +1590,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1744,8 +1606,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1754,22 +1614,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1778,7 +1634,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1788,8 +1643,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1798,14 +1651,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1815,47 +1666,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
* * .google.protobuf.Timestamp schedule_time = 3; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
* * .google.protobuf.Timestamp schedule_time = 3; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1876,15 +1714,14 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
* * .google.protobuf.Timestamp schedule_time = 3; */ - public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); } else { @@ -1895,8 +1732,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1905,9 +1740,9 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && scheduleTime_ != null - && scheduleTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + scheduleTime_ != null && + scheduleTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getScheduleTimeBuilder().mergeFrom(value); } else { scheduleTime_ = value; @@ -1922,8 +1757,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1941,8 +1774,6 @@ public Builder clearScheduleTime() { return this; } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1955,8 +1786,6 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { return getScheduleTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1967,14 +1796,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1982,17 +1808,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { * .google.protobuf.Timestamp schedule_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), getParentForChildren(), isClean()); + scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), + getParentForChildren(), + isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -2000,35 +1823,26 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private com.google.protobuf.Timestamp runTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - runTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> runTimeBuilder_; /** - * - * *
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
      * 
* * .google.protobuf.Timestamp run_time = 10; - * * @return Whether the runTime field is set. */ public boolean hasRunTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
      * 
* * .google.protobuf.Timestamp run_time = 10; - * * @return The runTime. */ public com.google.protobuf.Timestamp getRunTime() { @@ -2039,8 +1853,6 @@ public com.google.protobuf.Timestamp getRunTime() { } } /** - * - * *
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -2062,8 +1874,6 @@ public Builder setRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -2071,7 +1881,8 @@ public Builder setRunTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp run_time = 10;
      */
-    public Builder setRunTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setRunTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (runTimeBuilder_ == null) {
         runTime_ = builderForValue.build();
       } else {
@@ -2082,8 +1893,6 @@ public Builder setRunTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -2093,9 +1902,9 @@ public Builder setRunTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeRunTime(com.google.protobuf.Timestamp value) {
       if (runTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && runTime_ != null
-            && runTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          runTime_ != null &&
+          runTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getRunTimeBuilder().mergeFrom(value);
         } else {
           runTime_ = value;
@@ -2110,8 +1919,6 @@ public Builder mergeRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -2130,8 +1937,6 @@ public Builder clearRunTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -2145,8 +1950,6 @@ public com.google.protobuf.Timestamp.Builder getRunTimeBuilder() {
       return getRunTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -2158,12 +1961,11 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
       if (runTimeBuilder_ != null) {
         return runTimeBuilder_.getMessageOrBuilder();
       } else {
-        return runTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runTime_;
+        return runTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : runTime_;
       }
     }
     /**
-     *
-     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -2172,17 +1974,14 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
      * .google.protobuf.Timestamp run_time = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getRunTimeFieldBuilder() {
       if (runTimeBuilder_ == null) {
-        runTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getRunTime(), getParentForChildren(), isClean());
+        runTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getRunTime(),
+                getParentForChildren(),
+                isClean());
         runTime_ = null;
       }
       return runTimeBuilder_;
@@ -2190,31 +1989,24 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
 
     private com.google.rpc.Status errorStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        errorStatusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorStatusBuilder_;
     /**
-     *
-     *
      * 
      * Status of the transfer run.
      * 
* * .google.rpc.Status error_status = 21; - * * @return Whether the errorStatus field is set. */ public boolean hasErrorStatus() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Status of the transfer run.
      * 
* * .google.rpc.Status error_status = 21; - * * @return The errorStatus. */ public com.google.rpc.Status getErrorStatus() { @@ -2225,8 +2017,6 @@ public com.google.rpc.Status getErrorStatus() { } } /** - * - * *
      * Status of the transfer run.
      * 
@@ -2247,15 +2037,14 @@ public Builder setErrorStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Status of the transfer run.
      * 
* * .google.rpc.Status error_status = 21; */ - public Builder setErrorStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setErrorStatus( + com.google.rpc.Status.Builder builderForValue) { if (errorStatusBuilder_ == null) { errorStatus_ = builderForValue.build(); } else { @@ -2266,8 +2055,6 @@ public Builder setErrorStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Status of the transfer run.
      * 
@@ -2276,9 +2063,9 @@ public Builder setErrorStatus(com.google.rpc.Status.Builder builderForValue) { */ public Builder mergeErrorStatus(com.google.rpc.Status value) { if (errorStatusBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && errorStatus_ != null - && errorStatus_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + errorStatus_ != null && + errorStatus_ != com.google.rpc.Status.getDefaultInstance()) { getErrorStatusBuilder().mergeFrom(value); } else { errorStatus_ = value; @@ -2293,8 +2080,6 @@ public Builder mergeErrorStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Status of the transfer run.
      * 
@@ -2312,8 +2097,6 @@ public Builder clearErrorStatus() { return this; } /** - * - * *
      * Status of the transfer run.
      * 
@@ -2326,8 +2109,6 @@ public com.google.rpc.Status.Builder getErrorStatusBuilder() { return getErrorStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Status of the transfer run.
      * 
@@ -2338,12 +2119,11 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { if (errorStatusBuilder_ != null) { return errorStatusBuilder_.getMessageOrBuilder(); } else { - return errorStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : errorStatus_; + return errorStatus_ == null ? + com.google.rpc.Status.getDefaultInstance() : errorStatus_; } } /** - * - * *
      * Status of the transfer run.
      * 
@@ -2351,15 +2131,14 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { * .google.rpc.Status error_status = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorStatusFieldBuilder() { if (errorStatusBuilder_ == null) { - errorStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>( - getErrorStatus(), getParentForChildren(), isClean()); + errorStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getErrorStatus(), + getParentForChildren(), + isClean()); errorStatus_ = null; } return errorStatusBuilder_; @@ -2367,37 +2146,26 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2408,15 +2176,12 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -2432,17 +2197,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -2453,21 +2216,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -2482,15 +2242,12 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2503,15 +2260,12 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000010; @@ -2519,46 +2273,38 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -2566,37 +2312,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2607,15 +2342,12 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -2631,17 +2363,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -2652,21 +2382,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -2681,15 +2408,12 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2702,15 +2426,12 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000020; @@ -2718,46 +2439,38 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -2765,58 +2478,39 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2832,17 +2526,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2853,21 +2544,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2882,15 +2569,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2903,15 +2586,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000040; @@ -2919,48 +2598,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2968,13 +2635,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - paramsBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; /** - * - * *
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2984,15 +2646,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3002,7 +2661,6 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -3013,8 +2671,6 @@ public com.google.protobuf.Struct getParams() { } } /** - * - * *
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3039,8 +2695,6 @@ public Builder setParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3051,7 +2705,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
-    public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setParams(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (paramsBuilder_ == null) {
         params_ = builderForValue.build();
       } else {
@@ -3062,8 +2717,6 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3076,9 +2729,9 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
      */
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
-        if (((bitField0_ & 0x00000080) != 0)
-            && params_ != null
-            && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000080) != 0) &&
+          params_ != null &&
+          params_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getParamsBuilder().mergeFrom(value);
         } else {
           params_ = value;
@@ -3093,8 +2746,6 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3116,8 +2767,6 @@ public Builder clearParams() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3134,8 +2783,6 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
       return getParamsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3150,12 +2797,11 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       if (paramsBuilder_ != null) {
         return paramsBuilder_.getMessageOrBuilder();
       } else {
-        return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
+        return params_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : params_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3167,31 +2813,25 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getParamsFieldBuilder() {
       if (paramsBuilder_ == null) {
-        paramsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getParams(), getParentForChildren(), isClean());
+        paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getParams(),
+                getParentForChildren(),
+                isClean());
         params_ = null;
       }
       return paramsBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the destinationDatasetId field is set. */ @java.lang.Override @@ -3199,14 +2839,11 @@ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** - * - * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The destinationDatasetId. */ @java.lang.Override @@ -3216,7 +2853,8 @@ public java.lang.String getDestinationDatasetId() { ref = destination_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -3227,25 +2865,24 @@ public java.lang.String getDestinationDatasetId() { } } /** - * - * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for destinationDatasetId. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString + getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -3255,35 +2892,28 @@ public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { } } /** - * - * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationDatasetId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } destinationCase_ = 2; destination_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDestinationDatasetId() { @@ -3295,21 +2925,17 @@ public Builder clearDestinationDatasetId() { return this; } /** - * - * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationDatasetIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationCase_ = 2; destination_ = value; @@ -3319,20 +2945,18 @@ public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value private java.lang.Object dataSourceId_ = ""; /** - * - * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dataSourceId. */ public java.lang.String getDataSourceId() { java.lang.Object ref = dataSourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; @@ -3341,21 +2965,20 @@ public java.lang.String getDataSourceId() { } } /** - * - * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for dataSourceId. */ - public com.google.protobuf.ByteString getDataSourceIdBytes() { + public com.google.protobuf.ByteString + getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -3363,35 +2986,28 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() { } } /** - * - * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSourceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataSourceId_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDataSourceId() { @@ -3401,21 +3017,17 @@ public Builder clearDataSourceId() { return this; } /** - * - * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSourceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataSourceId_ = value; bitField0_ |= 0x00000200; @@ -3425,29 +3037,22 @@ public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3458,33 +3063,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = - com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED - : result; + com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; } /** - * - * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @param value The state to set. * @return This builder for chaining. */ @@ -3498,14 +3094,11 @@ public Builder setState(com.google.cloud.bigquery.datatransfer.v1.TransferState return this; } /** - * - * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @return This builder for chaining. */ public Builder clearState() { @@ -3515,16 +3108,13 @@ public Builder clearState() { return this; } - private long userId_; + private long userId_ ; /** - * - * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; - * * @return The userId. */ @java.lang.Override @@ -3532,14 +3122,11 @@ public long getUserId() { return userId_; } /** - * - * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; - * * @param value The userId to set. * @return This builder for chaining. */ @@ -3551,14 +3138,11 @@ public Builder setUserId(long value) { return this; } /** - * - * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; - * * @return This builder for chaining. */ public Builder clearUserId() { @@ -3570,8 +3154,6 @@ public Builder clearUserId() { private java.lang.Object schedule_ = ""; /** - * - * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3581,13 +3163,13 @@ public Builder clearUserId() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The schedule. */ public java.lang.String getSchedule() { java.lang.Object ref = schedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; @@ -3596,8 +3178,6 @@ public java.lang.String getSchedule() { } } /** - * - * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3607,14 +3187,15 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schedule_ = b; return b; } else { @@ -3622,8 +3203,6 @@ public com.google.protobuf.ByteString getScheduleBytes() { } } /** - * - * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3633,22 +3212,18 @@ public com.google.protobuf.ByteString getScheduleBytes() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSchedule( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } schedule_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** - * - * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3658,7 +3233,6 @@ public Builder setSchedule(java.lang.String value) {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -3668,8 +3242,6 @@ public Builder clearSchedule() { return this; } /** - * - * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3679,14 +3251,12 @@ public Builder clearSchedule() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScheduleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); schedule_ = value; bitField0_ |= 0x00001000; @@ -3696,8 +3266,6 @@ public Builder setScheduleBytes(com.google.protobuf.ByteString value) { private java.lang.Object notificationPubsubTopic_ = ""; /** - * - * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3706,15 +3274,14 @@ public Builder setScheduleBytes(com.google.protobuf.ByteString value) {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The notificationPubsubTopic. */ public java.lang.String getNotificationPubsubTopic() { java.lang.Object ref = notificationPubsubTopic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; @@ -3723,8 +3290,6 @@ public java.lang.String getNotificationPubsubTopic() { } } /** - * - * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3733,16 +3298,16 @@ public java.lang.String getNotificationPubsubTopic() {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for notificationPubsubTopic. */ - public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString + getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -3750,8 +3315,6 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { } } /** - * - * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3760,24 +3323,19 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopic(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNotificationPubsubTopic( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } notificationPubsubTopic_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** - * - * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3786,9 +3344,7 @@ public Builder setNotificationPubsubTopic(java.lang.String value) {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearNotificationPubsubTopic() { @@ -3798,8 +3354,6 @@ public Builder clearNotificationPubsubTopic() { return this; } /** - * - * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3808,16 +3362,13 @@ public Builder clearNotificationPubsubTopic() {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNotificationPubsubTopicBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); notificationPubsubTopic_ = value; bitField0_ |= 0x00002000; @@ -3827,67 +3378,47 @@ public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString va private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> - emailPreferencesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> emailPreferencesBuilder_; /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the emailPreferences field is set. */ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00004000) != 0); } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The emailPreferences. */ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { if (emailPreferencesBuilder_ == null) { - return emailPreferences_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() - : emailPreferences_; + return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; } else { return emailPreferencesBuilder_.getMessage(); } } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEmailPreferences( - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { + public Builder setEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { if (emailPreferencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3901,17 +3432,13 @@ public Builder setEmailPreferences( return this; } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEmailPreferences( com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder builderForValue) { @@ -3925,26 +3452,19 @@ public Builder setEmailPreferences( return this; } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeEmailPreferences( - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { + public Builder mergeEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { if (emailPreferencesBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) - && emailPreferences_ != null - && emailPreferences_ - != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences - .getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) && + emailPreferences_ != null && + emailPreferences_ != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()) { getEmailPreferencesBuilder().mergeFrom(value); } else { emailPreferences_ = value; @@ -3959,17 +3479,13 @@ public Builder mergeEmailPreferences( return this; } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEmailPreferences() { bitField0_ = (bitField0_ & ~0x00004000); @@ -3982,79 +3498,61 @@ public Builder clearEmailPreferences() { return this; } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder - getEmailPreferencesBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder getEmailPreferencesBuilder() { bitField0_ |= 0x00004000; onChanged(); return getEmailPreferencesFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder - getEmailPreferencesOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() { if (emailPreferencesBuilder_ != null) { return emailPreferencesBuilder_.getMessageOrBuilder(); } else { - return emailPreferences_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() - : emailPreferences_; + return emailPreferences_ == null ? + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; } } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> getEmailPreferencesFieldBuilder() { if (emailPreferencesBuilder_ == null) { - emailPreferencesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>( - getEmailPreferences(), getParentForChildren(), isClean()); + emailPreferencesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>( + getEmailPreferences(), + getParentForChildren(), + isClean()); emailPreferences_ = null; } return emailPreferencesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4064,12 +3562,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.TransferRun) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.TransferRun) private static final com.google.cloud.bigquery.datatransfer.v1.TransferRun DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.TransferRun(); } @@ -4078,27 +3576,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.TransferRun getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferRun parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferRun parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4113,4 +3611,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.TransferRun getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java similarity index 82% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java index 28de8be79425..995bc52417f7 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java @@ -1,32 +1,14 @@ -/* - * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface TransferRunOrBuilder - extends +public interface TransferRunOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.TransferRun) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -35,13 +17,10 @@ public interface TransferRunOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -50,38 +29,30 @@ public interface TransferRunOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Minimum time after which a transfer run can be started.
    * 
@@ -91,34 +62,26 @@ public interface TransferRunOrBuilder com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** - * - * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; - * * @return Whether the runTime field is set. */ boolean hasRunTime(); /** - * - * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; - * * @return The runTime. */ com.google.protobuf.Timestamp getRunTime(); /** - * - * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
@@ -129,32 +92,24 @@ public interface TransferRunOrBuilder
   com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; - * * @return Whether the errorStatus field is set. */ boolean hasErrorStatus(); /** - * - * *
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; - * * @return The errorStatus. */ com.google.rpc.Status getErrorStatus(); /** - * - * *
    * Status of the transfer run.
    * 
@@ -164,128 +119,93 @@ public interface TransferRunOrBuilder com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder(); /** - * - * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -295,13 +215,10 @@ public interface TransferRunOrBuilder
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the params field is set. */ boolean hasParams(); /** - * - * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -311,13 +228,10 @@ public interface TransferRunOrBuilder
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The params. */ com.google.protobuf.Struct getParams(); /** - * - * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -331,108 +245,84 @@ public interface TransferRunOrBuilder
   com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the destinationDatasetId field is set. */ boolean hasDestinationDatasetId(); /** - * - * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The destinationDatasetId. */ java.lang.String getDestinationDatasetId(); /** - * - * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for destinationDatasetId. */ - com.google.protobuf.ByteString getDestinationDatasetIdBytes(); + com.google.protobuf.ByteString + getDestinationDatasetIdBytes(); /** - * - * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dataSourceId. */ java.lang.String getDataSourceId(); /** - * - * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for dataSourceId. */ - com.google.protobuf.ByteString getDataSourceIdBytes(); + com.google.protobuf.ByteString + getDataSourceIdBytes(); /** - * - * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @return The state. */ com.google.cloud.bigquery.datatransfer.v1.TransferState getState(); /** - * - * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; - * * @return The userId. */ long getUserId(); /** - * - * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -442,13 +332,10 @@ public interface TransferRunOrBuilder
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The schedule. */ java.lang.String getSchedule(); /** - * - * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -458,14 +345,12 @@ public interface TransferRunOrBuilder
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for schedule. */ - com.google.protobuf.ByteString getScheduleBytes(); + com.google.protobuf.ByteString + getScheduleBytes(); /** - * - * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -474,15 +359,11 @@ public interface TransferRunOrBuilder
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The notificationPubsubTopic. */ java.lang.String getNotificationPubsubTopic(); /** - * - * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -491,60 +372,44 @@ public interface TransferRunOrBuilder
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for notificationPubsubTopic. */ - com.google.protobuf.ByteString getNotificationPubsubTopicBytes(); + com.google.protobuf.ByteString + getNotificationPubsubTopicBytes(); /** - * - * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the emailPreferences field is set. */ boolean hasEmailPreferences(); /** - * - * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The emailPreferences. */ com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences(); /** - * - * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder - getEmailPreferencesOrBuilder(); + com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder(); com.google.cloud.bigquery.datatransfer.v1.TransferRun.DestinationCase getDestinationCase(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java similarity index 69% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java index 175545e30564..13e9d96000ba 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,18 +5,15 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Represents data transfer run state.
  * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.TransferState} */ -public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { +public enum TransferState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * State placeholder (0).
    * 
@@ -40,8 +22,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ TRANSFER_STATE_UNSPECIFIED(0), /** - * - * *
    * Data transfer is scheduled and is waiting to be picked up by
    * data transfer backend (2).
@@ -51,8 +31,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum {
    */
   PENDING(2),
   /**
-   *
-   *
    * 
    * Data transfer is in progress (3).
    * 
@@ -61,8 +39,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(3), /** - * - * *
    * Data transfer completed successfully (4).
    * 
@@ -71,8 +47,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(4), /** - * - * *
    * Data transfer failed (5).
    * 
@@ -81,8 +55,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(5), /** - * - * *
    * Data transfer is cancelled (6).
    * 
@@ -94,8 +66,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * State placeholder (0).
    * 
@@ -104,8 +74,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRANSFER_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Data transfer is scheduled and is waiting to be picked up by
    * data transfer backend (2).
@@ -115,8 +83,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PENDING_VALUE = 2;
   /**
-   *
-   *
    * 
    * Data transfer is in progress (3).
    * 
@@ -125,8 +91,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 3; /** - * - * *
    * Data transfer completed successfully (4).
    * 
@@ -135,8 +99,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 4; /** - * - * *
    * Data transfer failed (5).
    * 
@@ -145,8 +107,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 5; /** - * - * *
    * Data transfer is cancelled (6).
    * 
@@ -155,6 +115,7 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -179,57 +140,52 @@ public static TransferState valueOf(int value) { */ public static TransferState forNumber(int value) { switch (value) { - case 0: - return TRANSFER_STATE_UNSPECIFIED; - case 2: - return PENDING; - case 3: - return RUNNING; - case 4: - return SUCCEEDED; - case 5: - return FAILED; - case 6: - return CANCELLED; - default: - return null; + case 0: return TRANSFER_STATE_UNSPECIFIED; + case 2: return PENDING; + case 3: return RUNNING; + case 4: return SUCCEEDED; + case 5: return FAILED; + case 6: return CANCELLED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TransferState findValueByNumber(int number) { - return TransferState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + TransferState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TransferState findValueByNumber(int number) { + return TransferState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor().getEnumTypes().get(1); } private static final TransferState[] VALUES = values(); - public static TransferState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TransferState valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -245,3 +201,4 @@ private TransferState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.datatransfer.v1.TransferState) } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java similarity index 67% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java index eaef528a5be1..e4fc0ce04599 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,19 +5,15 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * DEPRECATED. Represents data transfer type.
  * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.TransferType} */ -@java.lang.Deprecated -public enum TransferType implements com.google.protobuf.ProtocolMessageEnum { +@java.lang.Deprecated public enum TransferType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Invalid or Unknown transfer type placeholder.
    * 
@@ -41,8 +22,6 @@ public enum TransferType implements com.google.protobuf.ProtocolMessageEnum { */ TRANSFER_TYPE_UNSPECIFIED(0), /** - * - * *
    * Batch data transfer.
    * 
@@ -51,8 +30,6 @@ public enum TransferType implements com.google.protobuf.ProtocolMessageEnum { */ BATCH(1), /** - * - * *
    * Streaming data transfer. Streaming data source currently doesn't
    * support multiple transfer configs per project.
@@ -65,8 +42,6 @@ public enum TransferType implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Invalid or Unknown transfer type placeholder.
    * 
@@ -75,8 +50,6 @@ public enum TransferType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRANSFER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Batch data transfer.
    * 
@@ -85,8 +58,6 @@ public enum TransferType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BATCH_VALUE = 1; /** - * - * *
    * Streaming data transfer. Streaming data source currently doesn't
    * support multiple transfer configs per project.
@@ -96,6 +67,7 @@ public enum TransferType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int STREAMING_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -120,51 +92,49 @@ public static TransferType valueOf(int value) {
    */
   public static TransferType forNumber(int value) {
     switch (value) {
-      case 0:
-        return TRANSFER_TYPE_UNSPECIFIED;
-      case 1:
-        return BATCH;
-      case 2:
-        return STREAMING;
-      default:
-        return null;
+      case 0: return TRANSFER_TYPE_UNSPECIFIED;
+      case 1: return BATCH;
+      case 2: return STREAMING;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public TransferType findValueByNumber(int number) {
-          return TransferType.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      TransferType> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public TransferType findValueByNumber(int number) {
+            return TransferType.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor()
-        .getEnumTypes()
-        .get(0);
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final TransferType[] VALUES = values();
 
-  public static TransferType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static TransferType valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -180,3 +150,4 @@ private TransferType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.datatransfer.v1.TransferType)
 }
+
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java
new file mode 100644
index 000000000000..0917a7a48454
--- /dev/null
+++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java
@@ -0,0 +1,834 @@
+// 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 implements + // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequestOrBuilder { + 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); + } + + // Construct using com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + dataSourceIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UnenrollDataSourcesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest build() { + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest buildPartial() { + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest result = new com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + dataSourceIds_.makeImmutable(); + result.dataSourceIds_ = dataSourceIds_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) { + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.dataSourceIds_.isEmpty()) { + if (dataSourceIds_.isEmpty()) { + dataSourceIds_ = other.dataSourceIds_; + bitField0_ |= 0x00000002; + } else { + ensureDataSourceIdsIsMutable(); + dataSourceIds_.addAll(other.dataSourceIds_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureDataSourceIdsIsMutable(); + dataSourceIds_.add(s); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+     * 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 values) { + ensureDataSourceIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataSourceIds_); + 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; + * @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 + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnenrollDataSourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java new file mode 100644 index 000000000000..8ad85b036b8c --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java @@ -0,0 +1,75 @@ +// 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; + +public interface UnenrollDataSourcesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * 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 + getDataSourceIdsList(); + /** + *
+   * 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/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java similarity index 74% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java index cac48df2c7e2..64370567fea7 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to update a transfer configuration. To update the user id of the
  * transfer configuration, authorization info needs to be provided.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest}
  */
-public final class UpdateTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTransferConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)
     UpdateTransferConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTransferConfigRequest.newBuilder() to construct.
   private UpdateTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpdateTransferConfigRequest() {
     authorizationCode_ = "";
     versionInfo_ = "";
@@ -47,39 +29,33 @@ private UpdateTransferConfigRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTransferConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_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_UpdateTransferConfigRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class,
-            com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int TRANSFER_CONFIG_FIELD_NUMBER = 1;
   private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_;
   /**
-   *
-   *
    * 
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferConfig field is set. */ @java.lang.Override @@ -87,50 +63,33 @@ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The transferConfig. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder - getTransferConfigOrBuilder() { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { + return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } public static final int AUTHORIZATION_CODE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object authorizationCode_ = ""; /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -149,7 +108,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi
    * 
* * string authorization_code = 3; - * * @return The authorizationCode. */ @java.lang.Override @@ -158,15 +116,14 @@ public java.lang.String getAuthorizationCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; } } /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -185,15 +142,16 @@ public java.lang.String getAuthorizationCode() {
    * 
* * string authorization_code = 3; - * * @return The bytes for authorizationCode. */ @java.lang.Override - public com.google.protobuf.ByteString getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString + getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -204,15 +162,11 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() { public static final int UPDATE_MASK_FIELD_NUMBER = 4; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -220,15 +174,11 @@ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -236,14 +186,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -251,12 +198,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } public static final int VERSION_INFO_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object versionInfo_ = ""; /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -275,7 +219,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
    * 
* * string version_info = 5; - * * @return The versionInfo. */ @java.lang.Override @@ -284,15 +227,14 @@ public java.lang.String getVersionInfo() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; } } /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -311,15 +253,16 @@ public java.lang.String getVersionInfo() {
    * 
* * string version_info = 5; - * * @return The bytes for versionInfo. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionInfoBytes() { + public com.google.protobuf.ByteString + getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -328,12 +271,9 @@ public com.google.protobuf.ByteString getVersionInfoBytes() { } public static final int SERVICE_ACCOUNT_NAME_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object serviceAccountName_ = ""; /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -347,7 +287,6 @@ public com.google.protobuf.ByteString getVersionInfoBytes() {
    * 
* * string service_account_name = 6; - * * @return The serviceAccountName. */ @java.lang.Override @@ -356,15 +295,14 @@ public java.lang.String getServiceAccountName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; } } /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -378,15 +316,16 @@ public java.lang.String getServiceAccountName() {
    * 
* * string service_account_name = 6; - * * @return The bytes for serviceAccountName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountNameBytes() { + public com.google.protobuf.ByteString + getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -395,7 +334,6 @@ public com.google.protobuf.ByteString getServiceAccountNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -407,7 +345,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getTransferConfig()); } @@ -433,13 +372,15 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTransferConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTransferConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizationCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authorizationCode_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateMask()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionInfo_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, versionInfo_); @@ -455,25 +396,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other = - (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) obj; if (hasTransferConfig() != other.hasTransferConfig()) return false; if (hasTransferConfig()) { - if (!getTransferConfig().equals(other.getTransferConfig())) return false; + if (!getTransferConfig() + .equals(other.getTransferConfig())) return false; } - if (!getAuthorizationCode().equals(other.getAuthorizationCode())) return false; + if (!getAuthorizationCode() + .equals(other.getAuthorizationCode())) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } - if (!getVersionInfo().equals(other.getVersionInfo())) return false; - if (!getServiceAccountName().equals(other.getServiceAccountName())) return false; + if (!getVersionInfo() + .equals(other.getVersionInfo())) return false; + if (!getServiceAccountName() + .equals(other.getServiceAccountName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -505,105 +450,98 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest - 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.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest - 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.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.UpdateTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to update a transfer configuration. To update the user id of the
    * transfer configuration, authorization info needs to be provided.
@@ -611,43 +549,40 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)
       com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_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_UpdateTransferConfigRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class,
-              com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.newBuilder()
+    // Construct using com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getTransferConfigFieldBuilder();
         getUpdateMaskFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -669,16 +604,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest
-          .getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -692,29 +625,28 @@ public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest bui
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result =
-          new com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result) {
+    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.transferConfig_ =
-            transferConfigBuilder_ == null ? transferConfig_ : transferConfigBuilder_.build();
+        result.transferConfig_ = transferConfigBuilder_ == null
+            ? transferConfig_
+            : transferConfigBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.authorizationCode_ = authorizationCode_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
@@ -730,51 +662,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) {
-        return mergeFrom(
-            (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other) {
-      if (other
-          == com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other) {
+      if (other == com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.getDefaultInstance()) return this;
       if (other.hasTransferConfig()) {
         mergeTransferConfig(other.getTransferConfig());
       }
@@ -822,43 +749,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTransferConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 26:
-              {
-                authorizationCode_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 34
-            case 42:
-              {
-                versionInfo_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 42
-            case 50:
-              {
-                serviceAccountName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getTransferConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 26: {
+              authorizationCode_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 34
+            case 42: {
+              versionInfo_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 42
+            case 50: {
+              serviceAccountName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -868,66 +793,45 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.datatransfer.v1.TransferConfig,
-            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder,
-            com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>
-        transferConfigBuilder_;
+        com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> transferConfigBuilder_;
     /**
-     *
-     *
      * 
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferConfig field is set. */ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The transferConfig. */ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { if (transferConfigBuilder_ == null) { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } else { return transferConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder setTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -941,15 +845,11 @@ public Builder setTransferConfig( return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTransferConfig( com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { @@ -963,23 +863,17 @@ public Builder setTransferConfig( return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder mergeTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && transferConfig_ != null - && transferConfig_ - != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + transferConfig_ != null && + transferConfig_ != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { getTransferConfigBuilder().mergeFrom(value); } else { transferConfig_ = value; @@ -994,15 +888,11 @@ public Builder mergeTransferConfig( return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTransferConfig() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1015,66 +905,48 @@ public Builder clearTransferConfig() { return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder - getTransferConfigBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder getTransferConfigBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTransferConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder - getTransferConfigOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { if (transferConfigBuilder_ != null) { return transferConfigBuilder_.getMessageOrBuilder(); } else { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + return transferConfig_ == null ? + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> getTransferConfigFieldBuilder() { if (transferConfigBuilder_ == null) { - transferConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( - getTransferConfig(), getParentForChildren(), isClean()); + transferConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( + getTransferConfig(), + getParentForChildren(), + isClean()); transferConfig_ = null; } return transferConfigBuilder_; @@ -1082,8 +954,6 @@ public Builder clearTransferConfig() { private java.lang.Object authorizationCode_ = ""; /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1102,13 +972,13 @@ public Builder clearTransferConfig() {
      * 
* * string authorization_code = 3; - * * @return The authorizationCode. */ public java.lang.String getAuthorizationCode() { java.lang.Object ref = authorizationCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; @@ -1117,8 +987,6 @@ public java.lang.String getAuthorizationCode() { } } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1137,14 +1005,15 @@ public java.lang.String getAuthorizationCode() {
      * 
* * string authorization_code = 3; - * * @return The bytes for authorizationCode. */ - public com.google.protobuf.ByteString getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString + getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -1152,8 +1021,6 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() { } } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1172,22 +1039,18 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() {
      * 
* * string authorization_code = 3; - * * @param value The authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAuthorizationCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } authorizationCode_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1206,7 +1069,6 @@ public Builder setAuthorizationCode(java.lang.String value) {
      * 
* * string authorization_code = 3; - * * @return This builder for chaining. */ public Builder clearAuthorizationCode() { @@ -1216,8 +1078,6 @@ public Builder clearAuthorizationCode() { return this; } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1236,14 +1096,12 @@ public Builder clearAuthorizationCode() {
      * 
* * string authorization_code = 3; - * * @param value The bytes for authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAuthorizationCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); authorizationCode_ = value; bitField0_ |= 0x00000002; @@ -1253,55 +1111,39 @@ public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1317,16 +1159,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -1337,20 +1177,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1365,14 +1202,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1385,14 +1219,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1400,46 +1231,36 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -1447,8 +1268,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private java.lang.Object versionInfo_ = ""; /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1467,13 +1286,13 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * 
* * string version_info = 5; - * * @return The versionInfo. */ public java.lang.String getVersionInfo() { java.lang.Object ref = versionInfo_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; @@ -1482,8 +1301,6 @@ public java.lang.String getVersionInfo() { } } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1502,14 +1319,15 @@ public java.lang.String getVersionInfo() {
      * 
* * string version_info = 5; - * * @return The bytes for versionInfo. */ - public com.google.protobuf.ByteString getVersionInfoBytes() { + public com.google.protobuf.ByteString + getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -1517,8 +1335,6 @@ public com.google.protobuf.ByteString getVersionInfoBytes() { } } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1537,22 +1353,18 @@ public com.google.protobuf.ByteString getVersionInfoBytes() {
      * 
* * string version_info = 5; - * * @param value The versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfo(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionInfo( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } versionInfo_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1571,7 +1383,6 @@ public Builder setVersionInfo(java.lang.String value) {
      * 
* * string version_info = 5; - * * @return This builder for chaining. */ public Builder clearVersionInfo() { @@ -1581,8 +1392,6 @@ public Builder clearVersionInfo() { return this; } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1601,14 +1410,12 @@ public Builder clearVersionInfo() {
      * 
* * string version_info = 5; - * * @param value The bytes for versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionInfoBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); versionInfo_ = value; bitField0_ |= 0x00000008; @@ -1618,8 +1425,6 @@ public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccountName_ = ""; /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1633,13 +1438,13 @@ public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) {
      * 
* * string service_account_name = 6; - * * @return The serviceAccountName. */ public java.lang.String getServiceAccountName() { java.lang.Object ref = serviceAccountName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; @@ -1648,8 +1453,6 @@ public java.lang.String getServiceAccountName() { } } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1663,14 +1466,15 @@ public java.lang.String getServiceAccountName() {
      * 
* * string service_account_name = 6; - * * @return The bytes for serviceAccountName. */ - public com.google.protobuf.ByteString getServiceAccountNameBytes() { + public com.google.protobuf.ByteString + getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -1678,8 +1482,6 @@ public com.google.protobuf.ByteString getServiceAccountNameBytes() { } } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1693,22 +1495,18 @@ public com.google.protobuf.ByteString getServiceAccountNameBytes() {
      * 
* * string service_account_name = 6; - * * @param value The serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceAccountName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1722,7 +1520,6 @@ public Builder setServiceAccountName(java.lang.String value) {
      * 
* * string service_account_name = 6; - * * @return This builder for chaining. */ public Builder clearServiceAccountName() { @@ -1732,8 +1529,6 @@ public Builder clearServiceAccountName() { return this; } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1747,23 +1542,21 @@ public Builder clearServiceAccountName() {
      * 
* * string service_account_name = 6; - * * @param value The bytes for serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceAccountNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1773,43 +1566,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1821,8 +1612,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java similarity index 82% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java index 7c0dab4138f3..a4682ec74429 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java @@ -1,73 +1,41 @@ -/* - * 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; -public interface UpdateTransferConfigRequestOrBuilder - extends +public interface UpdateTransferConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferConfig field is set. */ boolean hasTransferConfig(); /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The transferConfig. */ com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig(); /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder(); /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -86,13 +54,10 @@ public interface UpdateTransferConfigRequestOrBuilder
    * 
* * string authorization_code = 3; - * * @return The authorizationCode. */ java.lang.String getAuthorizationCode(); /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -111,52 +76,39 @@ public interface UpdateTransferConfigRequestOrBuilder
    * 
* * string authorization_code = 3; - * * @return The bytes for authorizationCode. */ - com.google.protobuf.ByteString getAuthorizationCodeBytes(); + com.google.protobuf.ByteString + getAuthorizationCodeBytes(); /** - * - * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -175,13 +127,10 @@ public interface UpdateTransferConfigRequestOrBuilder
    * 
* * string version_info = 5; - * * @return The versionInfo. */ java.lang.String getVersionInfo(); /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -200,14 +149,12 @@ public interface UpdateTransferConfigRequestOrBuilder
    * 
* * string version_info = 5; - * * @return The bytes for versionInfo. */ - com.google.protobuf.ByteString getVersionInfoBytes(); + com.google.protobuf.ByteString + getVersionInfoBytes(); /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -221,13 +168,10 @@ public interface UpdateTransferConfigRequestOrBuilder
    * 
* * string service_account_name = 6; - * * @return The serviceAccountName. */ java.lang.String getServiceAccountName(); /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -241,8 +185,8 @@ public interface UpdateTransferConfigRequestOrBuilder
    * 
* * string service_account_name = 6; - * * @return The bytes for serviceAccountName. */ - com.google.protobuf.ByteString getServiceAccountNameBytes(); + com.google.protobuf.ByteString + getServiceAccountNameBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java similarity index 67% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java index 6b2b8276865a..f41ea298f864 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,63 +5,55 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Information about a user.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UserInfo} */ -public final class UserInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UserInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.UserInfo) UserInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UserInfo.newBuilder() to construct. private UserInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UserInfo() { email_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UserInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, - com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); } private int bitField0_; public static final int EMAIL_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object email_ = ""; /** - * - * *
    * E-mail address of the user.
    * 
* * optional string email = 1; - * * @return Whether the email field is set. */ @java.lang.Override @@ -84,14 +61,11 @@ public boolean hasEmail() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * E-mail address of the user.
    * 
* * optional string email = 1; - * * @return The email. */ @java.lang.Override @@ -100,29 +74,29 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** - * - * *
    * E-mail address of the user.
    * 
* * optional string email = 1; - * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -131,7 +105,6 @@ public com.google.protobuf.ByteString getEmailBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, email_); } @@ -167,17 +141,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.UserInfo)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.UserInfo other = - (com.google.cloud.bigquery.datatransfer.v1.UserInfo) obj; + com.google.cloud.bigquery.datatransfer.v1.UserInfo other = (com.google.cloud.bigquery.datatransfer.v1.UserInfo) obj; if (hasEmail() != other.hasEmail()) return false; if (hasEmail()) { - if (!getEmail().equals(other.getEmail())) return false; + if (!getEmail() + .equals(other.getEmail())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -200,135 +174,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UserInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.UserInfo 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.UserInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UserInfo 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.UserInfo 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.UserInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.UserInfo 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.UserInfo 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.UserInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.UserInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.UserInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information about a user.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UserInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.UserInfo) com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, - com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.UserInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -338,9 +308,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; } @java.lang.Override @@ -359,11 +329,8 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfo build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.UserInfo buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.UserInfo result = - new com.google.cloud.bigquery.datatransfer.v1.UserInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.UserInfo result = new com.google.cloud.bigquery.datatransfer.v1.UserInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -382,39 +349,38 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UserInfo re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.UserInfo) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UserInfo) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UserInfo)other); } else { super.mergeFrom(other); return this; @@ -422,8 +388,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.UserInfo other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) return this; if (other.hasEmail()) { email_ = other.email_; bitField0_ |= 0x00000001; @@ -455,19 +420,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - email_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + email_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -477,39 +440,33 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object email_ = ""; /** - * - * *
      * E-mail address of the user.
      * 
* * optional string email = 1; - * * @return Whether the email field is set. */ public boolean hasEmail() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * E-mail address of the user.
      * 
* * optional string email = 1; - * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -518,21 +475,20 @@ public java.lang.String getEmail() { } } /** - * - * *
      * E-mail address of the user.
      * 
* * optional string email = 1; - * * @return The bytes for email. */ - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -540,35 +496,28 @@ public com.google.protobuf.ByteString getEmailBytes() { } } /** - * - * *
      * E-mail address of the user.
      * 
* * optional string email = 1; - * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEmail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } email_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * E-mail address of the user.
      * 
* * optional string email = 1; - * * @return This builder for chaining. */ public Builder clearEmail() { @@ -578,30 +527,26 @@ public Builder clearEmail() { return this; } /** - * - * *
      * E-mail address of the user.
      * 
* * optional string email = 1; - * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEmailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); email_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -611,12 +556,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.UserInfo) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.UserInfo) private static final com.google.cloud.bigquery.datatransfer.v1.UserInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.UserInfo(); } @@ -625,27 +570,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.UserInfo getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,4 +605,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.UserInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java similarity index 53% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java index 15c63c4cb7dc..b285397716d1 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java @@ -1,63 +1,39 @@ -/* - * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface UserInfoOrBuilder - extends +public interface UserInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.UserInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * E-mail address of the user.
    * 
* * optional string email = 1; - * * @return Whether the email field is set. */ boolean hasEmail(); /** - * - * *
    * E-mail address of the user.
    * 
* * optional string email = 1; - * * @return The email. */ java.lang.String getEmail(); /** - * - * *
    * E-mail address of the user.
    * 
* * optional string email = 1; - * * @return The bytes for email. */ - com.google.protobuf.ByteString getEmailBytes(); + com.google.protobuf.ByteString + getEmailBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto similarity index 97% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto similarity index 100% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java new file mode 100644 index 000000000000..2a5783e05b3b --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java @@ -0,0 +1,51 @@ +/* + * Copyright 2023 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()) + .build(); + ApiFuture future = + dataTransferServiceClient.unenrollDataSourcesCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_UnenrollDataSources_async] diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java new file mode 100644 index 000000000000..e03d39258ebb --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java @@ -0,0 +1,47 @@ +/* + * Copyright 2023 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_sync] +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 SyncUnenrollDataSources { + + public static void main(String[] args) throws Exception { + syncUnenrollDataSources(); + } + + public static void syncUnenrollDataSources() 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()) + .build(); + dataTransferServiceClient.unenrollDataSources(request); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_UnenrollDataSources_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java similarity index 100% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java From ddca4e85d98e3b61ef930e926953f52aa4906c0f Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 14 Feb 2024 16:11:39 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- java-bigquerydatatransfer/README.md | 2 +- .../v1/DataTransferServiceClient.java | 0 .../v1/DataTransferServiceSettings.java | 1 - .../datatransfer/v1/gapic_metadata.json | 0 .../datatransfer/v1/package-info.java | 0 .../v1/stub/DataTransferServiceStub.java | 0 .../stub/DataTransferServiceStubSettings.java | 0 ...rpcDataTransferServiceCallableFactory.java | 0 .../v1/stub/GrpcDataTransferServiceStub.java | 1 - ...sonDataTransferServiceCallableFactory.java | 0 .../stub/HttpJsonDataTransferServiceStub.java | 0 .../reflect-config.json | 0 ...DataTransferServiceClientHttpJsonTest.java | 0 .../v1/DataTransferServiceClientTest.java | 0 .../v1/MockDataTransferService.java | 0 .../v1/MockDataTransferServiceImpl.java | 0 .../datatransfer/v1/MockLocations.java | 0 .../datatransfer/v1/MockLocationsImpl.java | 0 .../v1/DataTransferServiceGrpc.java | 2330 +++++++++++++++++ .../v1/CheckValidCredsRequest.java | 373 +-- .../v1/CheckValidCredsRequestOrBuilder.java | 59 + .../v1/CheckValidCredsResponse.java | 318 ++- .../v1/CheckValidCredsResponseOrBuilder.java | 39 + .../v1/CreateTransferConfigRequest.java | 761 ++++-- .../CreateTransferConfigRequestOrBuilder.java | 82 +- .../bigquery/datatransfer/v1/DataSource.java | 1891 ++++++++----- .../datatransfer/v1/DataSourceOrBuilder.java | 213 +- .../datatransfer/v1/DataSourceParameter.java | 1487 +++++++---- .../v1/DataSourceParameterOrBuilder.java | 142 +- .../datatransfer/v1/DataTransferProto.java | 694 +++++ .../v1/DeleteTransferConfigRequest.java | 385 +-- .../DeleteTransferConfigRequestOrBuilder.java | 59 + .../v1/DeleteTransferRunRequest.java | 385 +-- .../v1/DeleteTransferRunRequestOrBuilder.java | 35 +- .../datatransfer/v1/EmailPreferences.java | 287 +- .../v1/EmailPreferencesOrBuilder.java | 39 + .../v1/EncryptionConfiguration.java | 372 +-- .../v1/EncryptionConfigurationOrBuilder.java | 26 +- .../v1/EnrollDataSourcesRequest.java | 465 ++-- .../v1/EnrollDataSourcesRequestOrBuilder.java | 45 +- .../datatransfer/v1/GetDataSourceRequest.java | 370 +-- .../v1/GetDataSourceRequestOrBuilder.java | 59 + .../v1/GetTransferConfigRequest.java | 385 +-- .../v1/GetTransferConfigRequestOrBuilder.java | 59 + .../v1/GetTransferRunRequest.java | 373 +-- .../v1/GetTransferRunRequestOrBuilder.java | 35 +- .../v1/ListDataSourcesRequest.java | 476 ++-- .../v1/ListDataSourcesRequestOrBuilder.java | 47 +- .../v1/ListDataSourcesResponse.java | 502 ++-- .../v1/ListDataSourcesResponseOrBuilder.java | 45 +- .../v1/ListTransferConfigsRequest.java | 598 +++-- .../ListTransferConfigsRequestOrBuilder.java | 65 +- .../v1/ListTransferConfigsResponse.java | 631 +++-- .../ListTransferConfigsResponseOrBuilder.java | 62 +- .../v1/ListTransferLogsRequest.java | 720 +++-- .../v1/ListTransferLogsRequestOrBuilder.java | 91 +- .../v1/ListTransferLogsResponse.java | 639 +++-- .../v1/ListTransferLogsResponseOrBuilder.java | 61 +- .../v1/ListTransferRunsRequest.java | 788 ++++-- .../v1/ListTransferRunsRequestOrBuilder.java | 79 +- .../v1/ListTransferRunsResponse.java | 604 +++-- .../v1/ListTransferRunsResponseOrBuilder.java | 62 +- .../datatransfer/v1/LocationName.java | 0 .../bigquery/datatransfer/v1/ProjectName.java | 0 .../datatransfer/v1/ScheduleOptions.java | 452 ++-- .../v1/ScheduleOptionsOrBuilder.java | 37 +- .../v1/ScheduleTransferRunsRequest.java | 613 +++-- .../ScheduleTransferRunsRequestOrBuilder.java | 60 +- .../v1/ScheduleTransferRunsResponse.java | 448 ++-- ...ScheduleTransferRunsResponseOrBuilder.java | 36 +- .../v1/StartManualTransferRunsRequest.java | 1270 +++++---- ...artManualTransferRunsRequestOrBuilder.java | 61 +- .../v1/StartManualTransferRunsResponse.java | 465 ++-- ...rtManualTransferRunsResponseOrBuilder.java | 36 +- .../datatransfer/v1/TransferConfig.java | 1909 +++++++++----- .../v1/TransferConfigOrBuilder.java | 214 +- .../datatransfer/v1/TransferMessage.java | 578 ++-- .../v1/TransferMessageOrBuilder.java | 47 +- .../datatransfer/v1/TransferProto.java | 266 ++ .../bigquery/datatransfer/v1/TransferRun.java | 1666 +++++++----- .../datatransfer/v1/TransferRunOrBuilder.java | 187 +- .../datatransfer/v1/TransferState.java | 107 +- .../datatransfer/v1/TransferType.java | 87 +- .../v1/UnenrollDataSourcesRequest.java | 465 ++-- .../UnenrollDataSourcesRequestOrBuilder.java | 45 +- .../v1/UpdateTransferConfigRequest.java | 784 ++++-- .../UpdateTransferConfigRequestOrBuilder.java | 82 +- .../bigquery/datatransfer/v1/UserInfo.java | 325 ++- .../datatransfer/v1/UserInfoOrBuilder.java | 30 +- .../datatransfer/v1/datatransfer.proto | 0 .../bigquery/datatransfer/v1/transfer.proto | 0 .../checkvalidcreds/AsyncCheckValidCreds.java | 0 .../checkvalidcreds/SyncCheckValidCreds.java | 0 .../SyncCheckValidCredsDatasourcename.java | 0 .../SyncCheckValidCredsString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateTransferConfig.java | 0 .../SyncCreateTransferConfig.java | 0 ...nsferConfigLocationnameTransferconfig.java | 0 ...ansferConfigProjectnameTransferconfig.java | 0 ...ateTransferConfigStringTransferconfig.java | 0 .../AsyncDeleteTransferConfig.java | 0 .../SyncDeleteTransferConfig.java | 0 .../SyncDeleteTransferConfigString.java | 0 ...eleteTransferConfigTransferconfigname.java | 0 .../AsyncDeleteTransferRun.java | 0 .../SyncDeleteTransferRun.java | 0 .../SyncDeleteTransferRunRunname.java | 0 .../SyncDeleteTransferRunString.java | 0 .../AsyncEnrollDataSources.java | 0 .../SyncEnrollDataSources.java | 0 .../getdatasource/AsyncGetDataSource.java | 0 .../getdatasource/SyncGetDataSource.java | 0 .../SyncGetDataSourceDatasourcename.java | 0 .../SyncGetDataSourceString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../AsyncGetTransferConfig.java | 0 .../SyncGetTransferConfig.java | 0 .../SyncGetTransferConfigString.java | 0 ...ncGetTransferConfigTransferconfigname.java | 0 .../gettransferrun/AsyncGetTransferRun.java | 0 .../gettransferrun/SyncGetTransferRun.java | 0 .../SyncGetTransferRunRunname.java | 0 .../SyncGetTransferRunString.java | 0 .../listdatasources/AsyncListDataSources.java | 0 .../AsyncListDataSourcesPaged.java | 0 .../listdatasources/SyncListDataSources.java | 0 .../SyncListDataSourcesLocationname.java | 0 .../SyncListDataSourcesProjectname.java | 0 .../SyncListDataSourcesString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../AsyncListTransferConfigs.java | 0 .../AsyncListTransferConfigsPaged.java | 0 .../SyncListTransferConfigs.java | 0 .../SyncListTransferConfigsLocationname.java | 0 .../SyncListTransferConfigsProjectname.java | 0 .../SyncListTransferConfigsString.java | 0 .../AsyncListTransferLogs.java | 0 .../AsyncListTransferLogsPaged.java | 0 .../SyncListTransferLogs.java | 0 .../SyncListTransferLogsRunname.java | 0 .../SyncListTransferLogsString.java | 0 .../AsyncListTransferRuns.java | 0 .../AsyncListTransferRunsPaged.java | 0 .../SyncListTransferRuns.java | 0 .../SyncListTransferRunsString.java | 0 ...yncListTransferRunsTransferconfigname.java | 0 .../AsyncScheduleTransferRuns.java | 0 .../SyncScheduleTransferRuns.java | 0 ...eTransferRunsStringTimestampTimestamp.java | 0 ...sTransferconfignameTimestampTimestamp.java | 0 .../AsyncStartManualTransferRuns.java | 0 .../SyncStartManualTransferRuns.java | 0 .../AsyncUnenrollDataSources.java | 0 .../SyncUnenrollDataSources.java | 0 .../AsyncUpdateTransferConfig.java | 0 .../SyncUpdateTransferConfig.java | 0 ...TransferConfigTransferconfigFieldmask.java | 0 .../getdatasource/SyncGetDataSource.java | 0 .../getdatasource/SyncGetDataSource.java | 0 .../v1/DataTransferServiceGrpc.java | 1701 ------------ .../v1/CheckValidCredsRequestOrBuilder.java | 34 - .../v1/CheckValidCredsResponseOrBuilder.java | 20 - .../datatransfer/v1/DataSourceName.java | 313 --- .../datatransfer/v1/DataTransferProto.java | 616 ----- .../DeleteTransferConfigRequestOrBuilder.java | 34 - .../v1/EmailPreferencesOrBuilder.java | 20 - .../v1/GetDataSourceRequestOrBuilder.java | 34 - .../v1/GetTransferConfigRequestOrBuilder.java | 34 - .../bigquery/datatransfer/v1/RunName.java | 371 --- .../datatransfer/v1/TransferConfigName.java | 314 --- .../datatransfer/v1/TransferProto.java | 212 -- 177 files changed, 19066 insertions(+), 12149 deletions(-) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java (99%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java (99%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java (100%) create mode 100644 java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java (63%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java (62%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java (74%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java (80%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java (71%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java (76%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java (74%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java (82%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java (61%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java (61%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java (51%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java (66%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java (64%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java (61%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java (63%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java (61%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java (63%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java (51%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java (64%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java (72%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java (73%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java (68%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java (70%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java (62%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java (55%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java (65%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java (62%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java (62%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java (55%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java (69%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java (73%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java (63%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java (55%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java (76%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java (82%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java (69%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java (66%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java (72%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java (66%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java (66%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java (72%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java (81%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java (68%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java (66%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java (73%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java (82%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java (69%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java (74%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java (82%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java (53%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java (100%) delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java 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/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java similarity index 99% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java index d54893514147..1248bf4ad9e0 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java +++ b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java @@ -32,7 +32,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.bigquery.datatransfer.v1.stub.DataTransferServiceStubSettings; diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java similarity index 99% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java index 71ee6b9c0ce8..6d48d67aa767 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java +++ b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java @@ -64,7 +64,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java diff --git a/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java b/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java new file mode 100644 index 000000000000..1874ec722cbd --- /dev/null +++ b/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java @@ -0,0 +1,2330 @@ +/* + * 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; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * This API allows users to manage their data transfers into BigQuery.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataTransferServiceGrpc { + + private DataTransferServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = + "google.cloud.bigquery.datatransfer.v1.DataTransferService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, + com.google.cloud.bigquery.datatransfer.v1.DataSource> + getGetDataSourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataSource", + requestType = com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.DataSource.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, + com.google.cloud.bigquery.datatransfer.v1.DataSource> + getGetDataSourceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, + com.google.cloud.bigquery.datatransfer.v1.DataSource> + getGetDataSourceMethod; + if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { + DataTransferServiceGrpc.getGetDataSourceMethod = + getGetDataSourceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataSource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.DataSource + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("GetDataSource")) + .build(); + } + } + } + return getGetDataSourceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> + getListDataSourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataSources", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> + getListDataSourcesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> + getListDataSourcesMethod; + if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { + DataTransferServiceGrpc.getListDataSourcesMethod = + getListDataSourcesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataSources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("ListDataSources")) + .build(); + } + } + } + return getListDataSourcesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getCreateTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getCreateTransferConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getCreateTransferConfigMethod; + if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) + == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) + == null) { + DataTransferServiceGrpc.getCreateTransferConfigMethod = + getCreateTransferConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("CreateTransferConfig")) + .build(); + } + } + } + return getCreateTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getUpdateTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getUpdateTransferConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getUpdateTransferConfigMethod; + if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) + == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) + == null) { + DataTransferServiceGrpc.getUpdateTransferConfigMethod = + getUpdateTransferConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("UpdateTransferConfig")) + .build(); + } + } + } + return getUpdateTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, + com.google.protobuf.Empty> + getDeleteTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, + com.google.protobuf.Empty> + getDeleteTransferConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, + com.google.protobuf.Empty> + getDeleteTransferConfigMethod; + if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) + == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) + == null) { + DataTransferServiceGrpc.getDeleteTransferConfigMethod = + getDeleteTransferConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("DeleteTransferConfig")) + .build(); + } + } + } + return getDeleteTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getGetTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getGetTransferConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getGetTransferConfigMethod; + if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) + == null) { + DataTransferServiceGrpc.getGetTransferConfigMethod = + getGetTransferConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("GetTransferConfig")) + .build(); + } + } + } + return getGetTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> + getListTransferConfigsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTransferConfigs", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> + getListTransferConfigsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> + getListTransferConfigsMethod; + if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) + == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) + == null) { + DataTransferServiceGrpc.getListTransferConfigsMethod = + getListTransferConfigsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListTransferConfigs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("ListTransferConfigs")) + .build(); + } + } + } + return getListTransferConfigsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> + getScheduleTransferRunsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ScheduleTransferRuns", + requestType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> + getScheduleTransferRunsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> + getScheduleTransferRunsMethod; + if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) + == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) + == null) { + DataTransferServiceGrpc.getScheduleTransferRunsMethod = + getScheduleTransferRunsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ScheduleTransferRuns")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("ScheduleTransferRuns")) + .build(); + } + } + } + return getScheduleTransferRunsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> + getStartManualTransferRunsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartManualTransferRuns", + requestType = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, + responseType = + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> + getStartManualTransferRunsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> + getStartManualTransferRunsMethod; + if ((getStartManualTransferRunsMethod = + DataTransferServiceGrpc.getStartManualTransferRunsMethod) + == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getStartManualTransferRunsMethod = + DataTransferServiceGrpc.getStartManualTransferRunsMethod) + == null) { + DataTransferServiceGrpc.getStartManualTransferRunsMethod = + getStartManualTransferRunsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "StartManualTransferRuns")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1 + .StartManualTransferRunsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1 + .StartManualTransferRunsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier( + "StartManualTransferRuns")) + .build(); + } + } + } + return getStartManualTransferRunsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferRun> + getGetTransferRunMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTransferRun", + requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferRun> + getGetTransferRunMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferRun> + getGetTransferRunMethod; + if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { + DataTransferServiceGrpc.getGetTransferRunMethod = + getGetTransferRunMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferRun")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferRun + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("GetTransferRun")) + .build(); + } + } + } + return getGetTransferRunMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, + com.google.protobuf.Empty> + getDeleteTransferRunMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTransferRun", + requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, + com.google.protobuf.Empty> + getDeleteTransferRunMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, + com.google.protobuf.Empty> + getDeleteTransferRunMethod; + if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) + == null) { + DataTransferServiceGrpc.getDeleteTransferRunMethod = + getDeleteTransferRunMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransferRun")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("DeleteTransferRun")) + .build(); + } + } + } + return getDeleteTransferRunMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> + getListTransferRunsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTransferRuns", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> + getListTransferRunsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> + getListTransferRunsMethod; + if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) + == null) { + DataTransferServiceGrpc.getListTransferRunsMethod = + getListTransferRunsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferRuns")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("ListTransferRuns")) + .build(); + } + } + } + return getListTransferRunsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> + getListTransferLogsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTransferLogs", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> + getListTransferLogsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> + getListTransferLogsMethod; + if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) + == null) { + DataTransferServiceGrpc.getListTransferLogsMethod = + getListTransferLogsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferLogs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("ListTransferLogs")) + .build(); + } + } + } + return getListTransferLogsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> + getCheckValidCredsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CheckValidCreds", + requestType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> + getCheckValidCredsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> + getCheckValidCredsMethod; + if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { + DataTransferServiceGrpc.getCheckValidCredsMethod = + getCheckValidCredsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckValidCreds")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("CheckValidCreds")) + .build(); + } + } + } + return getCheckValidCredsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, + com.google.protobuf.Empty> + getEnrollDataSourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "EnrollDataSources", + requestType = com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, + com.google.protobuf.Empty> + getEnrollDataSourcesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, + com.google.protobuf.Empty> + getEnrollDataSourcesMethod; + if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) + == null) { + DataTransferServiceGrpc.getEnrollDataSourcesMethod = + getEnrollDataSourcesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "EnrollDataSources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("EnrollDataSources")) + .build(); + } + } + } + return getEnrollDataSourcesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, + com.google.protobuf.Empty> + getUnenrollDataSourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UnenrollDataSources", + requestType = com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, + com.google.protobuf.Empty> + getUnenrollDataSourcesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, + com.google.protobuf.Empty> + getUnenrollDataSourcesMethod; + if ((getUnenrollDataSourcesMethod = DataTransferServiceGrpc.getUnenrollDataSourcesMethod) + == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getUnenrollDataSourcesMethod = DataTransferServiceGrpc.getUnenrollDataSourcesMethod) + == null) { + DataTransferServiceGrpc.getUnenrollDataSourcesMethod = + getUnenrollDataSourcesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UnenrollDataSources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("UnenrollDataSources")) + .build(); + } + } + } + return getUnenrollDataSourcesMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static DataTransferServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTransferServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceStub(channel, callOptions); + } + }; + return DataTransferServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataTransferServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTransferServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceBlockingStub(channel, callOptions); + } + }; + return DataTransferServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static DataTransferServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTransferServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceFutureStub(channel, callOptions); + } + }; + return DataTransferServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + default void getDataSource( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataSourceMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + default void listDataSources( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDataSourcesMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + default void createTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTransferConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + default void updateTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTransferConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + default void deleteTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTransferConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns information about a data transfer config.
+     * 
+ */ + default void getTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetTransferConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + default void listTransferConfigs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTransferConfigsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + default void scheduleTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getScheduleTransferRunsMethod(), responseObserver); + } + + /** + * + * + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + default void startManualTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getStartManualTransferRunsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + default void getTransferRun( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetTransferRunMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes the specified transfer run.
+     * 
+ */ + default void deleteTransferRun( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTransferRunMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + default void listTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTransferRunsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + default void listTransferLogs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTransferLogsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + default void checkValidCreds( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCheckValidCredsMethod(), responseObserver); + } + + /** + * + * + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + default void enrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getEnrollDataSourcesMethod(), responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUnenrollDataSourcesMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service DataTransferService. + * + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public abstract static class DataTransferServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return DataTransferServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service DataTransferService. + * + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public static final class DataTransferServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private DataTransferServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTransferServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + public void getDataSource( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + public void listDataSources( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + public void createTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + public void updateTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + public void deleteTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns information about a data transfer config.
+     * 
+ */ + public void getTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + public void listTransferConfigs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + public void scheduleTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + public void startManualTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + public void getTransferRun( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes the specified transfer run.
+     * 
+ */ + public void deleteTransferRun( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + public void listTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + public void listTransferLogs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + public void checkValidCreds( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + public void enrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getEnrollDataSourcesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUnenrollDataSourcesMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service DataTransferService. + * + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public static final class DataTransferServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataTransferServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTransferServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSource( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataSourceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse listDataSources( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataSourcesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig createTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTransferConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig updateTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTransferConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + public com.google.protobuf.Empty deleteTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTransferConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns information about a data transfer config.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTransferConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + listTransferConfigs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTransferConfigsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + scheduleTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getScheduleTransferRunsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + startManualTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartManualTransferRunsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRun( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTransferRunMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes the specified transfer run.
+     * 
+ */ + public com.google.protobuf.Empty deleteTransferRun( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTransferRunMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse listTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTransferRunsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse listTransferLogs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTransferLogsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse checkValidCreds( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCheckValidCredsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + public com.google.protobuf.Empty enrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), 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.protobuf.Empty unenrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUnenrollDataSourcesMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service DataTransferService. + * + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public static final class DataTransferServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataTransferServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTransferServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.DataSource> + getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> + listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + createTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + updateTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns information about a data transfer config.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> + listTransferConfigs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> + scheduleTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> + startManualTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.TransferRun> + getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes the specified transfer run.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTransferRun( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> + listTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> + listTransferLogs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> + checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + enrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { + 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 + unenrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUnenrollDataSourcesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_DATA_SOURCE = 0; + private static final int METHODID_LIST_DATA_SOURCES = 1; + private static final int METHODID_CREATE_TRANSFER_CONFIG = 2; + private static final int METHODID_UPDATE_TRANSFER_CONFIG = 3; + private static final int METHODID_DELETE_TRANSFER_CONFIG = 4; + private static final int METHODID_GET_TRANSFER_CONFIG = 5; + private static final int METHODID_LIST_TRANSFER_CONFIGS = 6; + private static final int METHODID_SCHEDULE_TRANSFER_RUNS = 7; + private static final int METHODID_START_MANUAL_TRANSFER_RUNS = 8; + private static final int METHODID_GET_TRANSFER_RUN = 9; + private static final int METHODID_DELETE_TRANSFER_RUN = 10; + private static final int METHODID_LIST_TRANSFER_RUNS = 11; + private static final int METHODID_LIST_TRANSFER_LOGS = 12; + private static final int METHODID_CHECK_VALID_CREDS = 13; + private static final int METHODID_ENROLL_DATA_SOURCES = 14; + private static final int METHODID_UNENROLL_DATA_SOURCES = 15; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_DATA_SOURCE: + serviceImpl.getDataSource( + (com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_DATA_SOURCES: + serviceImpl.listDataSources( + (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse>) + responseObserver); + break; + case METHODID_CREATE_TRANSFER_CONFIG: + serviceImpl.createTransferConfig( + (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>) + responseObserver); + break; + case METHODID_UPDATE_TRANSFER_CONFIG: + serviceImpl.updateTransferConfig( + (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>) + responseObserver); + break; + case METHODID_DELETE_TRANSFER_CONFIG: + serviceImpl.deleteTransferConfig( + (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TRANSFER_CONFIG: + serviceImpl.getTransferConfig( + (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>) + responseObserver); + break; + case METHODID_LIST_TRANSFER_CONFIGS: + serviceImpl.listTransferConfigs( + (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse>) + responseObserver); + break; + case METHODID_SCHEDULE_TRANSFER_RUNS: + serviceImpl.scheduleTransferRuns( + (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse>) + responseObserver); + break; + case METHODID_START_MANUAL_TRANSFER_RUNS: + serviceImpl.startManualTransferRuns( + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse>) + responseObserver); + break; + case METHODID_GET_TRANSFER_RUN: + serviceImpl.getTransferRun( + (com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TRANSFER_RUN: + serviceImpl.deleteTransferRun( + (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TRANSFER_RUNS: + serviceImpl.listTransferRuns( + (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse>) + responseObserver); + break; + case METHODID_LIST_TRANSFER_LOGS: + serviceImpl.listTransferLogs( + (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse>) + responseObserver); + break; + case METHODID_CHECK_VALID_CREDS: + serviceImpl.checkValidCreds( + (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse>) + responseObserver); + break; + case METHODID_ENROLL_DATA_SOURCES: + serviceImpl.enrollDataSources( + (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UNENROLL_DATA_SOURCES: + serviceImpl.unenrollDataSources( + (com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetDataSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, + com.google.cloud.bigquery.datatransfer.v1.DataSource>( + service, METHODID_GET_DATA_SOURCE))) + .addMethod( + getListDataSourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse>( + service, METHODID_LIST_DATA_SOURCES))) + .addMethod( + getCreateTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( + service, METHODID_CREATE_TRANSFER_CONFIG))) + .addMethod( + getUpdateTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( + service, METHODID_UPDATE_TRANSFER_CONFIG))) + .addMethod( + getDeleteTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_TRANSFER_CONFIG))) + .addMethod( + getGetTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( + service, METHODID_GET_TRANSFER_CONFIG))) + .addMethod( + getListTransferConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse>( + service, METHODID_LIST_TRANSFER_CONFIGS))) + .addMethod( + getScheduleTransferRunsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse>( + service, METHODID_SCHEDULE_TRANSFER_RUNS))) + .addMethod( + getStartManualTransferRunsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse>( + service, METHODID_START_MANUAL_TRANSFER_RUNS))) + .addMethod( + getGetTransferRunMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferRun>( + service, METHODID_GET_TRANSFER_RUN))) + .addMethod( + getDeleteTransferRunMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_TRANSFER_RUN))) + .addMethod( + getListTransferRunsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse>( + service, METHODID_LIST_TRANSFER_RUNS))) + .addMethod( + getListTransferLogsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse>( + service, METHODID_LIST_TRANSFER_LOGS))) + .addMethod( + getCheckValidCredsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse>( + service, METHODID_CHECK_VALID_CREDS))) + .addMethod( + getEnrollDataSourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, + com.google.protobuf.Empty>(service, METHODID_ENROLL_DATA_SOURCES))) + .addMethod( + getUnenrollDataSourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, + com.google.protobuf.Empty>(service, METHODID_UNENROLL_DATA_SOURCES))) + .build(); + } + + private abstract static class DataTransferServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataTransferServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataTransferService"); + } + } + + private static final class DataTransferServiceFileDescriptorSupplier + extends DataTransferServiceBaseDescriptorSupplier { + DataTransferServiceFileDescriptorSupplier() {} + } + + private static final class DataTransferServiceMethodDescriptorSupplier + extends DataTransferServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + DataTransferServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DataTransferServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataTransferServiceFileDescriptorSupplier()) + .addMethod(getGetDataSourceMethod()) + .addMethod(getListDataSourcesMethod()) + .addMethod(getCreateTransferConfigMethod()) + .addMethod(getUpdateTransferConfigMethod()) + .addMethod(getDeleteTransferConfigMethod()) + .addMethod(getGetTransferConfigMethod()) + .addMethod(getListTransferConfigsMethod()) + .addMethod(getScheduleTransferRunsMethod()) + .addMethod(getStartManualTransferRunsMethod()) + .addMethod(getGetTransferRunMethod()) + .addMethod(getDeleteTransferRunMethod()) + .addMethod(getListTransferRunsMethod()) + .addMethod(getListTransferLogsMethod()) + .addMethod(getCheckValidCredsMethod()) + .addMethod(getEnrollDataSourcesMethod()) + .addMethod(getUnenrollDataSourcesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java similarity index 63% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java index 8163e33dbf00..bcc3fcac652e 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,6 +20,8 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to determine whether the user has valid credentials. This method
  * is used to limit the number of OAuth popups in the user interface. The
@@ -16,50 +33,58 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest}
  */
-public final class CheckValidCredsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CheckValidCredsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)
     CheckValidCredsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CheckValidCredsRequest.newBuilder() to construct.
   private CheckValidCredsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CheckValidCredsRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CheckValidCredsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_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_CheckValidCredsRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class,
+            com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The data source in the form:
    * `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,31 +93,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The data source in the form:
    * `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -101,6 +128,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +140,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -137,15 +164,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other = (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other = + (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -165,98 +192,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest 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.CheckValidCredsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsRequest 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.CheckValidCredsRequest 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.CheckValidCredsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest 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.CheckValidCredsRequest 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.CheckValidCredsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.CheckValidCredsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to determine whether the user has valid credentials. This method
    * is used to limit the number of OAuth popups in the user interface. The
@@ -268,33 +301,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)
       com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_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_CheckValidCredsRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class,
+              com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -304,13 +336,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance();
     }
 
@@ -325,13 +358,17 @@ public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest build()
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result =
+          new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result) {
+    private void buildPartial0(
+        com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -342,46 +379,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CheckValidC
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other) {
+      if (other
+          == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -413,17 +454,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -433,24 +476,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -459,22 +507,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -482,32 +533,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -517,28 +579,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -548,41 +616,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckValidCredsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckValidCredsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +664,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java new file mode 100644 index 000000000000..8014d9bd7509 --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java @@ -0,0 +1,59 @@ +/* + * 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; + +public interface CheckValidCredsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The data source in the form:
+   * `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The data source in the form:
+   * `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java similarity index 62% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java index 13a14fce36b2..ff5b9d63dca2 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,52 +20,58 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A response indicating whether the credentials exist and are valid.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse} */ -public final class CheckValidCredsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CheckValidCredsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) CheckValidCredsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CheckValidCredsResponse.newBuilder() to construct. private CheckValidCredsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CheckValidCredsResponse() { - } + + private CheckValidCredsResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CheckValidCredsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_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_CheckValidCredsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); } public static final int HAS_VALID_CREDS_FIELD_NUMBER = 1; private boolean hasValidCreds_ = false; /** + * + * *
    * If set to `true`, the credentials exist and are valid.
    * 
* * bool has_valid_creds = 1; + * * @return The hasValidCreds. */ @java.lang.Override @@ -59,6 +80,7 @@ public boolean getHasValidCreds() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -70,8 +92,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (hasValidCreds_ != false) { output.writeBool(1, hasValidCreds_); } @@ -85,8 +106,7 @@ public int getSerializedSize() { size = 0; if (hasValidCreds_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, hasValidCreds_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, hasValidCreds_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -96,15 +116,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other = (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other = + (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) obj; - if (getHasValidCreds() - != other.getHasValidCreds()) return false; + if (getHasValidCreds() != other.getHasValidCreds()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -117,139 +137,145 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + HAS_VALID_CREDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHasValidCreds()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasValidCreds()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse 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.CheckValidCredsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsResponse 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.CheckValidCredsResponse 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.CheckValidCredsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse 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.CheckValidCredsResponse + 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.CheckValidCredsResponse 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.CheckValidCredsResponse + 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.CheckValidCredsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.CheckValidCredsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response indicating whether the credentials exist and are valid.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_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_CheckValidCredsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -259,13 +285,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance(); } @@ -280,13 +307,17 @@ public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result = + new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.hasValidCreds_ = hasValidCreds_; @@ -297,46 +328,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CheckValidC public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance()) + return this; if (other.getHasValidCreds() != false) { setHasValidCreds(other.getHasValidCreds()); } @@ -366,17 +401,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - hasValidCreds_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + hasValidCreds_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -386,15 +423,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean hasValidCreds_ ; + private boolean hasValidCreds_; /** + * + * *
      * If set to `true`, the credentials exist and are valid.
      * 
* * bool has_valid_creds = 1; + * * @return The hasValidCreds. */ @java.lang.Override @@ -402,11 +443,14 @@ public boolean getHasValidCreds() { return hasValidCreds_; } /** + * + * *
      * If set to `true`, the credentials exist and are valid.
      * 
* * bool has_valid_creds = 1; + * * @param value The hasValidCreds to set. * @return This builder for chaining. */ @@ -418,11 +462,14 @@ public Builder setHasValidCreds(boolean value) { return this; } /** + * + * *
      * If set to `true`, the credentials exist and are valid.
      * 
* * bool has_valid_creds = 1; + * * @return This builder for chaining. */ public Builder clearHasValidCreds() { @@ -431,9 +478,9 @@ public Builder clearHasValidCreds() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -443,41 +490,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckValidCredsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckValidCredsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -489,9 +538,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java new file mode 100644 index 000000000000..57d6001298e3 --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java @@ -0,0 +1,39 @@ +/* + * 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; + +public interface CheckValidCredsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * If set to `true`, the credentials exist and are valid.
+   * 
+ * + * bool has_valid_creds = 1; + * + * @return The hasValidCreds. + */ + boolean getHasValidCreds(); +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java similarity index 74% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java index 030325827102..ed6c16401689 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,6 +20,8 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to create a data transfer configuration. If new credentials are
  * needed for this transfer configuration, authorization info must be provided.
@@ -16,15 +33,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest}
  */
-public final class CreateTransferConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)
     CreateTransferConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateTransferConfigRequest.newBuilder() to construct.
   private CreateTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateTransferConfigRequest() {
     parent_ = "";
     authorizationCode_ = "";
@@ -34,29 +52,33 @@ private CreateTransferConfigRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTransferConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_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_CreateTransferConfigRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class,
+            com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -65,7 +87,10 @@ protected java.lang.Object newInstance(
    * match - the request will fail.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -74,14 +99,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -90,17 +116,18 @@ public java.lang.String getParent() {
    * match - the request will fail.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -111,11 +138,16 @@ public java.lang.String getParent() { public static final int TRANSFER_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_; /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferConfig field is set. */ @java.lang.Override @@ -123,33 +155,50 @@ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferConfig. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { - return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { - return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder + getTransferConfigOrBuilder() { + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } public static final int AUTHORIZATION_CODE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object authorizationCode_ = ""; /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -168,6 +217,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran
    * 
* * string authorization_code = 3; + * * @return The authorizationCode. */ @java.lang.Override @@ -176,14 +226,15 @@ public java.lang.String getAuthorizationCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; } } /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -202,16 +253,15 @@ public java.lang.String getAuthorizationCode() {
    * 
* * string authorization_code = 3; + * * @return The bytes for authorizationCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -220,9 +270,12 @@ public java.lang.String getAuthorizationCode() { } public static final int VERSION_INFO_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object versionInfo_ = ""; /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -241,6 +294,7 @@ public java.lang.String getAuthorizationCode() {
    * 
* * string version_info = 5; + * * @return The versionInfo. */ @java.lang.Override @@ -249,14 +303,15 @@ public java.lang.String getVersionInfo() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; } } /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -275,16 +330,15 @@ public java.lang.String getVersionInfo() {
    * 
* * string version_info = 5; + * * @return The bytes for versionInfo. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionInfoBytes() { + public com.google.protobuf.ByteString getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -293,9 +347,12 @@ public java.lang.String getVersionInfo() { } public static final int SERVICE_ACCOUNT_NAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object serviceAccountName_ = ""; /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -309,6 +366,7 @@ public java.lang.String getVersionInfo() {
    * 
* * string service_account_name = 6; + * * @return The serviceAccountName. */ @java.lang.Override @@ -317,14 +375,15 @@ public java.lang.String getServiceAccountName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; } } /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -338,16 +397,15 @@ public java.lang.String getServiceAccountName() {
    * 
* * string service_account_name = 6; + * * @return The bytes for serviceAccountName. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountNameBytes() { + public com.google.protobuf.ByteString getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -356,6 +414,7 @@ public java.lang.String getServiceAccountName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,8 +426,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -397,8 +455,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTransferConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransferConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizationCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authorizationCode_); @@ -417,26 +474,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other = + (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTransferConfig() != other.hasTransferConfig()) return false; if (hasTransferConfig()) { - if (!getTransferConfig() - .equals(other.getTransferConfig())) return false; - } - if (!getAuthorizationCode() - .equals(other.getAuthorizationCode())) return false; - if (!getVersionInfo() - .equals(other.getVersionInfo())) return false; - if (!getServiceAccountName() - .equals(other.getServiceAccountName())) return false; + if (!getTransferConfig().equals(other.getTransferConfig())) return false; + } + if (!getAuthorizationCode().equals(other.getAuthorizationCode())) return false; + if (!getVersionInfo().equals(other.getVersionInfo())) return false; + if (!getServiceAccountName().equals(other.getServiceAccountName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -466,98 +519,105 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest 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.CreateTransferConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateTransferConfigRequest 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.CreateTransferConfigRequest 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.CreateTransferConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest 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.CreateTransferConfigRequest + 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.CreateTransferConfigRequest 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.CreateTransferConfigRequest + 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.CreateTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.CreateTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to create a data transfer configuration. If new credentials are
    * needed for this transfer configuration, authorization info must be provided.
@@ -569,39 +629,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)
       com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_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_CreateTransferConfigRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class,
+              com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.newBuilder()
+    // Construct using
+    // com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getTransferConfigFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -619,14 +682,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -640,22 +705,25 @@ public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest bui
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result =
+          new com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result) {
+    private void buildPartial0(
+        com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.transferConfig_ = transferConfigBuilder_ == null
-            ? transferConfig_
-            : transferConfigBuilder_.build();
+        result.transferConfig_ =
+            transferConfigBuilder_ == null ? transferConfig_ : transferConfigBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
@@ -674,46 +742,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CreateTrans
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)other);
+        return mergeFrom(
+            (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other) {
+      if (other
+          == com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest
+              .getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -763,39 +836,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTransferConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              authorizationCode_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 42: {
-              versionInfo_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 42
-            case 50: {
-              serviceAccountName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTransferConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                authorizationCode_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 42:
+              {
+                versionInfo_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 42
+            case 50:
+              {
+                serviceAccountName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -805,10 +882,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -817,14 +897,16 @@ public Builder mergeFrom(
      * match - the request will fail.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -833,6 +915,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -841,16 +925,17 @@ public java.lang.String getParent() {
      * match - the request will fail.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -858,6 +943,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -866,19 +953,25 @@ public java.lang.String getParent() {
      * match - the request will fail.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -887,7 +980,10 @@ public Builder setParent(
      * match - the request will fail.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -897,6 +993,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -905,13 +1003,17 @@ public Builder clearParent() {
      * match - the request will fail.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -921,41 +1023,61 @@ public Builder setParentBytes( private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> transferConfigBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + transferConfigBuilder_; /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferConfig field is set. */ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferConfig. */ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { if (transferConfigBuilder_ == null) { - return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } else { return transferConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder setTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -969,11 +1091,15 @@ public Builder setTransferConfig(com.google.cloud.bigquery.datatransfer.v1.Trans return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTransferConfig( com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { @@ -987,17 +1113,23 @@ public Builder setTransferConfig( return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder mergeTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - transferConfig_ != null && - transferConfig_ != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && transferConfig_ != null + && transferConfig_ + != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { getTransferConfigBuilder().mergeFrom(value); } else { transferConfig_ = value; @@ -1012,11 +1144,15 @@ public Builder mergeTransferConfig(com.google.cloud.bigquery.datatransfer.v1.Tra return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTransferConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1029,48 +1165,66 @@ public Builder clearTransferConfig() { return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder getTransferConfigBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder + getTransferConfigBuilder() { bitField0_ |= 0x00000002; onChanged(); return getTransferConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder + getTransferConfigOrBuilder() { if (transferConfigBuilder_ != null) { return transferConfigBuilder_.getMessageOrBuilder(); } else { - return transferConfig_ == null ? - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> getTransferConfigFieldBuilder() { if (transferConfigBuilder_ == null) { - transferConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( - getTransferConfig(), - getParentForChildren(), - isClean()); + transferConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( + getTransferConfig(), getParentForChildren(), isClean()); transferConfig_ = null; } return transferConfigBuilder_; @@ -1078,6 +1232,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran private java.lang.Object authorizationCode_ = ""; /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1096,13 +1252,13 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran
      * 
* * string authorization_code = 3; + * * @return The authorizationCode. */ public java.lang.String getAuthorizationCode() { java.lang.Object ref = authorizationCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; @@ -1111,6 +1267,8 @@ public java.lang.String getAuthorizationCode() { } } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1129,15 +1287,14 @@ public java.lang.String getAuthorizationCode() {
      * 
* * string authorization_code = 3; + * * @return The bytes for authorizationCode. */ - public com.google.protobuf.ByteString - getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -1145,6 +1302,8 @@ public java.lang.String getAuthorizationCode() { } } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1163,18 +1322,22 @@ public java.lang.String getAuthorizationCode() {
      * 
* * string authorization_code = 3; + * * @param value The authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAuthorizationCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } authorizationCode_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1193,6 +1356,7 @@ public Builder setAuthorizationCode(
      * 
* * string authorization_code = 3; + * * @return This builder for chaining. */ public Builder clearAuthorizationCode() { @@ -1202,6 +1366,8 @@ public Builder clearAuthorizationCode() { return this; } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1220,12 +1386,14 @@ public Builder clearAuthorizationCode() {
      * 
* * string authorization_code = 3; + * * @param value The bytes for authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); authorizationCode_ = value; bitField0_ |= 0x00000004; @@ -1235,6 +1403,8 @@ public Builder setAuthorizationCodeBytes( private java.lang.Object versionInfo_ = ""; /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1253,13 +1423,13 @@ public Builder setAuthorizationCodeBytes(
      * 
* * string version_info = 5; + * * @return The versionInfo. */ public java.lang.String getVersionInfo() { java.lang.Object ref = versionInfo_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; @@ -1268,6 +1438,8 @@ public java.lang.String getVersionInfo() { } } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1286,15 +1458,14 @@ public java.lang.String getVersionInfo() {
      * 
* * string version_info = 5; + * * @return The bytes for versionInfo. */ - public com.google.protobuf.ByteString - getVersionInfoBytes() { + public com.google.protobuf.ByteString getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -1302,6 +1473,8 @@ public java.lang.String getVersionInfo() { } } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1320,18 +1493,22 @@ public java.lang.String getVersionInfo() {
      * 
* * string version_info = 5; + * * @param value The versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfo( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionInfo(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } versionInfo_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1350,6 +1527,7 @@ public Builder setVersionInfo(
      * 
* * string version_info = 5; + * * @return This builder for chaining. */ public Builder clearVersionInfo() { @@ -1359,6 +1537,8 @@ public Builder clearVersionInfo() { return this; } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1377,12 +1557,14 @@ public Builder clearVersionInfo() {
      * 
* * string version_info = 5; + * * @param value The bytes for versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfoBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); versionInfo_ = value; bitField0_ |= 0x00000008; @@ -1392,6 +1574,8 @@ public Builder setVersionInfoBytes( private java.lang.Object serviceAccountName_ = ""; /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1405,13 +1589,13 @@ public Builder setVersionInfoBytes(
      * 
* * string service_account_name = 6; + * * @return The serviceAccountName. */ public java.lang.String getServiceAccountName() { java.lang.Object ref = serviceAccountName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; @@ -1420,6 +1604,8 @@ public java.lang.String getServiceAccountName() { } } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1433,15 +1619,14 @@ public java.lang.String getServiceAccountName() {
      * 
* * string service_account_name = 6; + * * @return The bytes for serviceAccountName. */ - public com.google.protobuf.ByteString - getServiceAccountNameBytes() { + public com.google.protobuf.ByteString getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -1449,6 +1634,8 @@ public java.lang.String getServiceAccountName() { } } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1462,18 +1649,22 @@ public java.lang.String getServiceAccountName() {
      * 
* * string service_account_name = 6; + * * @param value The serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1487,6 +1678,7 @@ public Builder setServiceAccountName(
      * 
* * string service_account_name = 6; + * * @return This builder for chaining. */ public Builder clearServiceAccountName() { @@ -1496,6 +1688,8 @@ public Builder clearServiceAccountName() { return this; } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1509,21 +1703,23 @@ public Builder clearServiceAccountName() {
      * 
* * string service_account_name = 6; + * * @param value The bytes for serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1533,41 +1729,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1579,9 +1777,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java similarity index 80% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java index fbf20676df93..8fd142729881 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java @@ -1,14 +1,32 @@ +/* + * 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; -public interface CreateTransferConfigRequestOrBuilder extends +public interface CreateTransferConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -17,11 +35,16 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * match - the request will fail.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -30,40 +53,58 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * match - the request will fail.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferConfig field is set. */ boolean hasTransferConfig(); /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferConfig. */ com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig(); /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder(); /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -82,10 +123,13 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * 
* * string authorization_code = 3; + * * @return The authorizationCode. */ java.lang.String getAuthorizationCode(); /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -104,12 +148,14 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * 
* * string authorization_code = 3; + * * @return The bytes for authorizationCode. */ - com.google.protobuf.ByteString - getAuthorizationCodeBytes(); + com.google.protobuf.ByteString getAuthorizationCodeBytes(); /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -128,10 +174,13 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * 
* * string version_info = 5; + * * @return The versionInfo. */ java.lang.String getVersionInfo(); /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -150,12 +199,14 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * 
* * string version_info = 5; + * * @return The bytes for versionInfo. */ - com.google.protobuf.ByteString - getVersionInfoBytes(); + com.google.protobuf.ByteString getVersionInfoBytes(); /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -169,10 +220,13 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * 
* * string service_account_name = 6; + * * @return The serviceAccountName. */ java.lang.String getServiceAccountName(); /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -186,8 +240,8 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * 
* * string service_account_name = 6; + * * @return The bytes for serviceAccountName. */ - com.google.protobuf.ByteString - getServiceAccountNameBytes(); + com.google.protobuf.ByteString getServiceAccountNameBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java similarity index 71% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java index bff5273fb450..f8d9a46fcd9e 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,29 +20,31 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Defines the properties and custom parameters for a data source.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSource} */ -public final class DataSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DataSource) DataSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataSource.newBuilder() to construct. private DataSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataSource() { name_ = ""; dataSourceId_ = ""; displayName_ = ""; description_ = ""; clientId_ = ""; - scopes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); transferType_ = 0; defaultSchedule_ = ""; parameters_ = java.util.Collections.emptyList(); @@ -38,34 +55,38 @@ private DataSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataSource(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_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_DataSource_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSource.class, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSource.class, + com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); } /** + * + * *
    * The type of authorization needed for this data source.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType} */ - public enum AuthorizationType - implements com.google.protobuf.ProtocolMessageEnum { + public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Type unspecified.
      * 
@@ -74,6 +95,8 @@ public enum AuthorizationType */ AUTHORIZATION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Use OAuth 2 authorization codes that can be exchanged
      * for a refresh token on the backend.
@@ -83,6 +106,8 @@ public enum AuthorizationType
      */
     AUTHORIZATION_CODE(1),
     /**
+     *
+     *
      * 
      * Return an authorization code for a given Google+ page that can then be
      * exchanged for a refresh token on the backend.
@@ -92,6 +117,8 @@ public enum AuthorizationType
      */
     GOOGLE_PLUS_AUTHORIZATION_CODE(2),
     /**
+     *
+     *
      * 
      * Use First Party OAuth.
      * 
@@ -103,6 +130,8 @@ public enum AuthorizationType ; /** + * + * *
      * Type unspecified.
      * 
@@ -111,6 +140,8 @@ public enum AuthorizationType */ public static final int AUTHORIZATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Use OAuth 2 authorization codes that can be exchanged
      * for a refresh token on the backend.
@@ -120,6 +151,8 @@ public enum AuthorizationType
      */
     public static final int AUTHORIZATION_CODE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Return an authorization code for a given Google+ page that can then be
      * exchanged for a refresh token on the backend.
@@ -129,6 +162,8 @@ public enum AuthorizationType
      */
     public static final int GOOGLE_PLUS_AUTHORIZATION_CODE_VALUE = 2;
     /**
+     *
+     *
      * 
      * Use First Party OAuth.
      * 
@@ -137,7 +172,6 @@ public enum AuthorizationType */ public static final int FIRST_PARTY_OAUTH_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -162,11 +196,16 @@ public static AuthorizationType valueOf(int value) { */ public static AuthorizationType forNumber(int value) { switch (value) { - case 0: return AUTHORIZATION_TYPE_UNSPECIFIED; - case 1: return AUTHORIZATION_CODE; - case 2: return GOOGLE_PLUS_AUTHORIZATION_CODE; - case 3: return FIRST_PARTY_OAUTH; - default: return null; + case 0: + return AUTHORIZATION_TYPE_UNSPECIFIED; + case 1: + return AUTHORIZATION_CODE; + case 2: + return GOOGLE_PLUS_AUTHORIZATION_CODE; + case 3: + return FIRST_PARTY_OAUTH; + default: + return null; } } @@ -174,29 +213,31 @@ public static AuthorizationType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - AuthorizationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AuthorizationType findValueByNumber(int number) { - return AuthorizationType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AuthorizationType findValueByNumber(int number) { + return AuthorizationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor() + .getEnumTypes() + .get(0); } private static final AuthorizationType[] VALUES = values(); @@ -204,8 +245,7 @@ public AuthorizationType findValueByNumber(int number) { public static AuthorizationType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -223,15 +263,18 @@ private AuthorizationType(int value) { } /** + * + * *
    * Represents how the data source supports data auto refresh.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType} */ - public enum DataRefreshType - implements com.google.protobuf.ProtocolMessageEnum { + public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The data source won't support data auto refresh, which is default value.
      * 
@@ -240,6 +283,8 @@ public enum DataRefreshType */ DATA_REFRESH_TYPE_UNSPECIFIED(0), /** + * + * *
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Does not allow custom values to be set for each
@@ -250,6 +295,8 @@ public enum DataRefreshType
      */
     SLIDING_WINDOW(1),
     /**
+     *
+     *
      * 
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Allows custom values to be set for each transfer
@@ -263,6 +310,8 @@ public enum DataRefreshType
     ;
 
     /**
+     *
+     *
      * 
      * The data source won't support data auto refresh, which is default value.
      * 
@@ -271,6 +320,8 @@ public enum DataRefreshType */ public static final int DATA_REFRESH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Does not allow custom values to be set for each
@@ -281,6 +332,8 @@ public enum DataRefreshType
      */
     public static final int SLIDING_WINDOW_VALUE = 1;
     /**
+     *
+     *
      * 
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Allows custom values to be set for each transfer
@@ -291,7 +344,6 @@ public enum DataRefreshType
      */
     public static final int CUSTOM_SLIDING_WINDOW_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -316,40 +368,45 @@ public static DataRefreshType valueOf(int value) {
      */
     public static DataRefreshType forNumber(int value) {
       switch (value) {
-        case 0: return DATA_REFRESH_TYPE_UNSPECIFIED;
-        case 1: return SLIDING_WINDOW;
-        case 2: return CUSTOM_SLIDING_WINDOW;
-        default: return null;
+        case 0:
+          return DATA_REFRESH_TYPE_UNSPECIFIED;
+        case 1:
+          return SLIDING_WINDOW;
+        case 2:
+          return CUSTOM_SLIDING_WINDOW;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        DataRefreshType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public DataRefreshType findValueByNumber(int number) {
-              return DataRefreshType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public DataRefreshType findValueByNumber(int number) {
+                return DataRefreshType.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor().getEnumTypes().get(1);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor()
+          .getEnumTypes()
+          .get(1);
     }
 
     private static final DataRefreshType[] VALUES = values();
@@ -357,8 +414,7 @@ public DataRefreshType findValueByNumber(int number) {
     public static DataRefreshType valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -377,14 +433,18 @@ private DataRefreshType(int value) {
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -393,29 +453,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -424,14 +484,18 @@ public java.lang.String getName() { } public static final int DATA_SOURCE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object dataSourceId_ = ""; /** + * + * *
    * Data source id.
    * 
* * string data_source_id = 2; + * * @return The dataSourceId. */ @java.lang.Override @@ -440,29 +504,29 @@ public java.lang.String getDataSourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; } } /** + * + * *
    * Data source id.
    * 
* * string data_source_id = 2; + * * @return The bytes for dataSourceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataSourceIdBytes() { + public com.google.protobuf.ByteString getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -471,14 +535,18 @@ public java.lang.String getDataSourceId() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * User friendly data source name.
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -487,29 +555,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * User friendly data source name.
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -518,14 +586,18 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * User friendly data source description string.
    * 
* * string description = 4; + * * @return The description. */ @java.lang.Override @@ -534,29 +606,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * User friendly data source description string.
    * 
* * string description = 4; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -565,14 +637,18 @@ public java.lang.String getDescription() { } public static final int CLIENT_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object clientId_ = ""; /** + * + * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; + * * @return The clientId. */ @java.lang.Override @@ -581,29 +657,29 @@ public java.lang.String getClientId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientId_ = s; return s; } } /** + * + * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; + * * @return The bytes for clientId. */ @java.lang.Override - public com.google.protobuf.ByteString - getClientIdBytes() { + public com.google.protobuf.ByteString getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clientId_ = b; return b; } else { @@ -612,10 +688,13 @@ public java.lang.String getClientId() { } public static final int SCOPES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -623,13 +702,15 @@ public java.lang.String getClientId() {
    * 
* * repeated string scopes = 6; + * * @return A list containing the scopes. */ - public com.google.protobuf.ProtocolStringList - getScopesList() { + public com.google.protobuf.ProtocolStringList getScopesList() { return scopes_; } /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -637,12 +718,15 @@ public java.lang.String getClientId() {
    * 
* * repeated string scopes = 6; + * * @return The count of scopes. */ public int getScopesCount() { return scopes_.size(); } /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -650,6 +734,7 @@ public int getScopesCount() {
    * 
* * repeated string scopes = 6; + * * @param index The index of the element to return. * @return The scopes at the given index. */ @@ -657,6 +742,8 @@ public java.lang.String getScopes(int index) { return scopes_.get(index); } /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -664,70 +751,94 @@ public java.lang.String getScopes(int index) {
    * 
* * repeated string scopes = 6; + * * @param index The index of the value to return. * @return The bytes of the scopes at the given index. */ - public com.google.protobuf.ByteString - getScopesBytes(int index) { + public com.google.protobuf.ByteString getScopesBytes(int index) { return scopes_.getByteString(index); } public static final int TRANSFER_TYPE_FIELD_NUMBER = 7; private int transferType_ = 0; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The enum numeric value on the wire for transferType. */ - @java.lang.Override @java.lang.Deprecated public int getTransferTypeValue() { + @java.lang.Override + @java.lang.Deprecated + public int getTransferTypeValue() { return transferType_; } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The transferType. */ - @java.lang.Override @java.lang.Deprecated public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { - com.google.cloud.bigquery.datatransfer.v1.TransferType result = com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED : result; + @java.lang.Override + @java.lang.Deprecated + public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { + com.google.cloud.bigquery.datatransfer.v1.TransferType result = + com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED + : result; } public static final int SUPPORTS_MULTIPLE_TRANSFERS_FIELD_NUMBER = 8; private boolean supportsMultipleTransfers_ = false; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * 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=398 + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is + * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return The supportsMultipleTransfers. */ @java.lang.Override - @java.lang.Deprecated public boolean getSupportsMultipleTransfers() { + @java.lang.Deprecated + public boolean getSupportsMultipleTransfers() { return supportsMultipleTransfers_; } public static final int UPDATE_DEADLINE_SECONDS_FIELD_NUMBER = 9; private int updateDeadlineSeconds_ = 0; /** + * + * *
    * The number of seconds to wait for an update from the data source
    * before the Data Transfer Service marks the transfer as FAILED.
    * 
* * int32 update_deadline_seconds = 9; + * * @return The updateDeadlineSeconds. */ @java.lang.Override @@ -736,9 +847,12 @@ public int getUpdateDeadlineSeconds() { } public static final int DEFAULT_SCHEDULE_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object defaultSchedule_ = ""; /** + * + * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -748,6 +862,7 @@ public int getUpdateDeadlineSeconds() {
    * 
* * string default_schedule = 10; + * * @return The defaultSchedule. */ @java.lang.Override @@ -756,14 +871,15 @@ public java.lang.String getDefaultSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSchedule_ = s; return s; } } /** + * + * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -773,16 +889,15 @@ public java.lang.String getDefaultSchedule() {
    * 
* * string default_schedule = 10; + * * @return The bytes for defaultSchedule. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultScheduleBytes() { + public com.google.protobuf.ByteString getDefaultScheduleBytes() { java.lang.Object ref = defaultSchedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultSchedule_ = b; return b; } else { @@ -793,6 +908,8 @@ public java.lang.String getDefaultSchedule() { public static final int SUPPORTS_CUSTOM_SCHEDULE_FIELD_NUMBER = 11; private boolean supportsCustomSchedule_ = false; /** + * + * *
    * Specifies whether the data source supports a user defined schedule, or
    * operates on the default schedule.
@@ -800,6 +917,7 @@ public java.lang.String getDefaultSchedule() {
    * 
* * bool supports_custom_schedule = 11; + * * @return The supportsCustomSchedule. */ @java.lang.Override @@ -808,75 +926,97 @@ public boolean getSupportsCustomSchedule() { } public static final int PARAMETERS_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private java.util.List parameters_; /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ @java.lang.Override - public java.util.List getParametersList() { + public java.util.List + getParametersList() { return parameters_; } /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> getParametersOrBuilderList() { return parameters_; } /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ @java.lang.Override public int getParametersCount() { return parameters_.size(); } /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParameters(int index) { return parameters_.get(index); } /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParametersOrBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder + getParametersOrBuilder(int index) { return parameters_.get(index); } public static final int HELP_URL_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private volatile java.lang.Object helpUrl_ = ""; /** + * + * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; + * * @return The helpUrl. */ @java.lang.Override @@ -885,29 +1025,29 @@ public java.lang.String getHelpUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpUrl_ = s; return s; } } /** + * + * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; + * * @return The bytes for helpUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getHelpUrlBytes() { + public com.google.protobuf.ByteString getHelpUrlBytes() { java.lang.Object ref = helpUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); helpUrl_ = b; return b; } else { @@ -918,32 +1058,51 @@ public java.lang.String getHelpUrl() { public static final int AUTHORIZATION_TYPE_FIELD_NUMBER = 14; private int authorizationType_ = 0; /** + * + * *
    * Indicates the type of authorization.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @return The enum numeric value on the wire for authorizationType. */ - @java.lang.Override public int getAuthorizationTypeValue() { + @java.lang.Override + public int getAuthorizationTypeValue() { return authorizationType_; } /** + * + * *
    * Indicates the type of authorization.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @return The authorizationType. */ - @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType getAuthorizationType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber(authorizationType_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType + getAuthorizationType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = + com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber( + authorizationType_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED + : result; } public static final int DATA_REFRESH_TYPE_FIELD_NUMBER = 15; private int dataRefreshType_ = 0; /** + * + * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -951,13 +1110,18 @@ public java.lang.String getHelpUrl() {
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @return The enum numeric value on the wire for dataRefreshType. */ - @java.lang.Override public int getDataRefreshTypeValue() { + @java.lang.Override + public int getDataRefreshTypeValue() { return dataRefreshType_; } /** + * + * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -965,23 +1129,33 @@ public java.lang.String getHelpUrl() {
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @return The dataRefreshType. */ - @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber(dataRefreshType_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = + com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber( + dataRefreshType_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED + : result; } public static final int DEFAULT_DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER = 16; private int defaultDataRefreshWindowDays_ = 0; /** + * + * *
    * Default data refresh window on days.
    * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
    * 
* * int32 default_data_refresh_window_days = 16; + * * @return The defaultDataRefreshWindowDays. */ @java.lang.Override @@ -992,12 +1166,15 @@ public int getDefaultDataRefreshWindowDays() { public static final int MANUAL_RUNS_DISABLED_FIELD_NUMBER = 17; private boolean manualRunsDisabled_ = false; /** + * + * *
    * Disables backfilling and manual run scheduling
    * for the data source.
    * 
* * bool manual_runs_disabled = 17; + * * @return The manualRunsDisabled. */ @java.lang.Override @@ -1008,11 +1185,14 @@ public boolean getManualRunsDisabled() { public static final int MINIMUM_SCHEDULE_INTERVAL_FIELD_NUMBER = 18; private com.google.protobuf.Duration minimumScheduleInterval_; /** + * + * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; + * * @return Whether the minimumScheduleInterval field is set. */ @java.lang.Override @@ -1020,18 +1200,25 @@ public boolean hasMinimumScheduleInterval() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; + * * @return The minimumScheduleInterval. */ @java.lang.Override public com.google.protobuf.Duration getMinimumScheduleInterval() { - return minimumScheduleInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; + return minimumScheduleInterval_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minimumScheduleInterval_; } /** + * + * *
    * The minimum interval for scheduler to schedule runs.
    * 
@@ -1040,10 +1227,13 @@ public com.google.protobuf.Duration getMinimumScheduleInterval() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getMinimumScheduleIntervalOrBuilder() { - return minimumScheduleInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; + return minimumScheduleInterval_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minimumScheduleInterval_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1055,8 +1245,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -1075,7 +1264,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < scopes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, scopes_.getRaw(i)); } - if (transferType_ != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED.getNumber()) { + if (transferType_ + != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(7, transferType_); } if (supportsMultipleTransfers_ != false) { @@ -1096,10 +1287,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, helpUrl_); } - if (authorizationType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED.getNumber()) { + if (authorizationType_ + != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType + .AUTHORIZATION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(14, authorizationType_); } - if (dataRefreshType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.DATA_REFRESH_TYPE_UNSPECIFIED.getNumber()) { + if (dataRefreshType_ + != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType + .DATA_REFRESH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(15, dataRefreshType_); } if (defaultDataRefreshWindowDays_ != 0) { @@ -1143,51 +1340,52 @@ public int getSerializedSize() { size += dataSize; size += 1 * getScopesList().size(); } - if (transferType_ != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, transferType_); + if (transferType_ + != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, transferType_); } if (supportsMultipleTransfers_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(8, supportsMultipleTransfers_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, supportsMultipleTransfers_); } if (updateDeadlineSeconds_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, updateDeadlineSeconds_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, updateDeadlineSeconds_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSchedule_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, defaultSchedule_); } if (supportsCustomSchedule_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(11, supportsCustomSchedule_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, supportsCustomSchedule_); } for (int i = 0; i < parameters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, parameters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, parameters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, helpUrl_); } - if (authorizationType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(14, authorizationType_); + if (authorizationType_ + != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType + .AUTHORIZATION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, authorizationType_); } - if (dataRefreshType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.DATA_REFRESH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(15, dataRefreshType_); + if (dataRefreshType_ + != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType + .DATA_REFRESH_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, dataRefreshType_); } if (defaultDataRefreshWindowDays_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(16, defaultDataRefreshWindowDays_); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size(16, defaultDataRefreshWindowDays_); } if (manualRunsDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(17, manualRunsDisabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(17, manualRunsDisabled_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, getMinimumScheduleInterval()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 18, getMinimumScheduleInterval()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1197,48 +1395,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DataSource)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DataSource other = (com.google.cloud.bigquery.datatransfer.v1.DataSource) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getDataSourceId() - .equals(other.getDataSourceId())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getClientId() - .equals(other.getClientId())) return false; - if (!getScopesList() - .equals(other.getScopesList())) return false; + com.google.cloud.bigquery.datatransfer.v1.DataSource other = + (com.google.cloud.bigquery.datatransfer.v1.DataSource) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDataSourceId().equals(other.getDataSourceId())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getClientId().equals(other.getClientId())) return false; + if (!getScopesList().equals(other.getScopesList())) return false; if (transferType_ != other.transferType_) return false; - if (getSupportsMultipleTransfers() - != other.getSupportsMultipleTransfers()) return false; - if (getUpdateDeadlineSeconds() - != other.getUpdateDeadlineSeconds()) return false; - if (!getDefaultSchedule() - .equals(other.getDefaultSchedule())) return false; - if (getSupportsCustomSchedule() - != other.getSupportsCustomSchedule()) return false; - if (!getParametersList() - .equals(other.getParametersList())) return false; - if (!getHelpUrl() - .equals(other.getHelpUrl())) return false; + if (getSupportsMultipleTransfers() != other.getSupportsMultipleTransfers()) return false; + if (getUpdateDeadlineSeconds() != other.getUpdateDeadlineSeconds()) return false; + if (!getDefaultSchedule().equals(other.getDefaultSchedule())) return false; + if (getSupportsCustomSchedule() != other.getSupportsCustomSchedule()) return false; + if (!getParametersList().equals(other.getParametersList())) return false; + if (!getHelpUrl().equals(other.getHelpUrl())) return false; if (authorizationType_ != other.authorizationType_) return false; if (dataRefreshType_ != other.dataRefreshType_) return false; - if (getDefaultDataRefreshWindowDays() - != other.getDefaultDataRefreshWindowDays()) return false; - if (getManualRunsDisabled() - != other.getManualRunsDisabled()) return false; + if (getDefaultDataRefreshWindowDays() != other.getDefaultDataRefreshWindowDays()) return false; + if (getManualRunsDisabled() != other.getManualRunsDisabled()) return false; if (hasMinimumScheduleInterval() != other.hasMinimumScheduleInterval()) return false; if (hasMinimumScheduleInterval()) { - if (!getMinimumScheduleInterval() - .equals(other.getMinimumScheduleInterval())) return false; + if (!getMinimumScheduleInterval().equals(other.getMinimumScheduleInterval())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1268,15 +1452,13 @@ public int hashCode() { hash = (37 * hash) + TRANSFER_TYPE_FIELD_NUMBER; hash = (53 * hash) + transferType_; hash = (37 * hash) + SUPPORTS_MULTIPLE_TRANSFERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSupportsMultipleTransfers()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSupportsMultipleTransfers()); hash = (37 * hash) + UPDATE_DEADLINE_SECONDS_FIELD_NUMBER; hash = (53 * hash) + getUpdateDeadlineSeconds(); hash = (37 * hash) + DEFAULT_SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getDefaultSchedule().hashCode(); hash = (37 * hash) + SUPPORTS_CUSTOM_SCHEDULE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSupportsCustomSchedule()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSupportsCustomSchedule()); if (getParametersCount() > 0) { hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + getParametersList().hashCode(); @@ -1290,8 +1472,7 @@ public int hashCode() { hash = (37 * hash) + DEFAULT_DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER; hash = (53 * hash) + getDefaultDataRefreshWindowDays(); hash = (37 * hash) + MANUAL_RUNS_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getManualRunsDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getManualRunsDisabled()); if (hasMinimumScheduleInterval()) { hash = (37 * hash) + MINIMUM_SCHEDULE_INTERVAL_FIELD_NUMBER; hash = (53 * hash) + getMinimumScheduleInterval().hashCode(); @@ -1302,119 +1483,126 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSource 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.DataSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSource 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.DataSource 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.DataSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSource 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.DataSource 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.DataSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.DataSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DataSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines the properties and custom parameters for a data source.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DataSource) com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_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_DataSource_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSource.class, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSource.class, + com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.DataSource.newBuilder() @@ -1422,18 +1610,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getParametersFieldBuilder(); getMinimumScheduleIntervalFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1443,8 +1631,7 @@ public Builder clear() { displayName_ = ""; description_ = ""; clientId_ = ""; - scopes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); transferType_ = 0; supportsMultipleTransfers_ = false; updateDeadlineSeconds_ = 0; @@ -1471,9 +1658,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; } @java.lang.Override @@ -1492,14 +1679,18 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSource buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.DataSource result = new com.google.cloud.bigquery.datatransfer.v1.DataSource(this); + com.google.cloud.bigquery.datatransfer.v1.DataSource result = + new com.google.cloud.bigquery.datatransfer.v1.DataSource(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.DataSource result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.DataSource result) { if (parametersBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); @@ -1564,9 +1755,10 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSource } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00020000) != 0)) { - result.minimumScheduleInterval_ = minimumScheduleIntervalBuilder_ == null - ? minimumScheduleInterval_ - : minimumScheduleIntervalBuilder_.build(); + result.minimumScheduleInterval_ = + minimumScheduleIntervalBuilder_ == null + ? minimumScheduleInterval_ + : minimumScheduleIntervalBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1576,38 +1768,39 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSource public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DataSource) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSource)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSource) other); } else { super.mergeFrom(other); return this; @@ -1615,7 +1808,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSource other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1686,9 +1880,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSource ot parametersBuilder_ = null; parameters_ = other.parameters_; bitField0_ = (bitField0_ & ~0x00000800); - parametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getParametersFieldBuilder() : null; + parametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getParametersFieldBuilder() + : null; } else { parametersBuilder_.addAllMessages(other.parameters_); } @@ -1740,113 +1935,131 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - dataSourceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - clientId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureScopesIsMutable(); - scopes_.add(s); - break; - } // case 50 - case 56: { - transferType_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 64: { - supportsMultipleTransfers_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 72: { - updateDeadlineSeconds_ = input.readInt32(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 82: { - defaultSchedule_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 88: { - supportsCustomSchedule_ = input.readBool(); - bitField0_ |= 0x00000400; - break; - } // case 88 - case 98: { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), - extensionRegistry); - if (parametersBuilder_ == null) { - ensureParametersIsMutable(); - parameters_.add(m); - } else { - parametersBuilder_.addMessage(m); - } - break; - } // case 98 - case 106: { - helpUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 112: { - authorizationType_ = input.readEnum(); - bitField0_ |= 0x00002000; - break; - } // case 112 - case 120: { - dataRefreshType_ = input.readEnum(); - bitField0_ |= 0x00004000; - break; - } // case 120 - case 128: { - defaultDataRefreshWindowDays_ = input.readInt32(); - bitField0_ |= 0x00008000; - break; - } // case 128 - case 136: { - manualRunsDisabled_ = input.readBool(); - bitField0_ |= 0x00010000; - break; - } // case 136 - case 146: { - input.readMessage( - getMinimumScheduleIntervalFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00020000; - break; - } // case 146 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + dataSourceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + clientId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureScopesIsMutable(); + scopes_.add(s); + break; + } // case 50 + case 56: + { + transferType_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: + { + supportsMultipleTransfers_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: + { + updateDeadlineSeconds_ = input.readInt32(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 82: + { + defaultSchedule_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 88: + { + supportsCustomSchedule_ = input.readBool(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 98: + { + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), + extensionRegistry); + if (parametersBuilder_ == null) { + ensureParametersIsMutable(); + parameters_.add(m); + } else { + parametersBuilder_.addMessage(m); + } + break; + } // case 98 + case 106: + { + helpUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 112: + { + authorizationType_ = input.readEnum(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 120: + { + dataRefreshType_ = input.readEnum(); + bitField0_ |= 0x00004000; + break; + } // case 120 + case 128: + { + defaultDataRefreshWindowDays_ = input.readInt32(); + bitField0_ |= 0x00008000; + break; + } // case 128 + case 136: + { + manualRunsDisabled_ = input.readBool(); + bitField0_ |= 0x00010000; + break; + } // case 136 + case 146: + { + input.readMessage( + getMinimumScheduleIntervalFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00020000; + break; + } // case 146 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1856,22 +2069,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1880,20 +2096,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1901,28 +2118,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1932,17 +2156,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1952,18 +2180,20 @@ public Builder setNameBytes( private java.lang.Object dataSourceId_ = ""; /** + * + * *
      * Data source id.
      * 
* * string data_source_id = 2; + * * @return The dataSourceId. */ public java.lang.String getDataSourceId() { java.lang.Object ref = dataSourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; @@ -1972,20 +2202,21 @@ public java.lang.String getDataSourceId() { } } /** + * + * *
      * Data source id.
      * 
* * string data_source_id = 2; + * * @return The bytes for dataSourceId. */ - public com.google.protobuf.ByteString - getDataSourceIdBytes() { + public com.google.protobuf.ByteString getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -1993,28 +2224,35 @@ public java.lang.String getDataSourceId() { } } /** + * + * *
      * Data source id.
      * 
* * string data_source_id = 2; + * * @param value The dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSourceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataSourceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Data source id.
      * 
* * string data_source_id = 2; + * * @return This builder for chaining. */ public Builder clearDataSourceId() { @@ -2024,17 +2262,21 @@ public Builder clearDataSourceId() { return this; } /** + * + * *
      * Data source id.
      * 
* * string data_source_id = 2; + * * @param value The bytes for dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataSourceId_ = value; bitField0_ |= 0x00000002; @@ -2044,18 +2286,20 @@ public Builder setDataSourceIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * User friendly data source name.
      * 
* * string display_name = 3; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2064,20 +2308,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User friendly data source name.
      * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -2085,28 +2330,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User friendly data source name.
      * 
* * string display_name = 3; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * User friendly data source name.
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2116,17 +2368,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * User friendly data source name.
      * 
* * string display_name = 3; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -2136,18 +2392,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * User friendly data source description string.
      * 
* * string description = 4; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2156,20 +2414,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User friendly data source description string.
      * 
* * string description = 4; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2177,28 +2436,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User friendly data source description string.
      * 
* * string description = 4; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * User friendly data source description string.
      * 
* * string description = 4; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2208,17 +2474,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * User friendly data source description string.
      * 
* * string description = 4; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000008; @@ -2228,18 +2498,20 @@ public Builder setDescriptionBytes( private java.lang.Object clientId_ = ""; /** + * + * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; + * * @return The clientId. */ public java.lang.String getClientId() { java.lang.Object ref = clientId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientId_ = s; return s; @@ -2248,20 +2520,21 @@ public java.lang.String getClientId() { } } /** + * + * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; + * * @return The bytes for clientId. */ - public com.google.protobuf.ByteString - getClientIdBytes() { + public com.google.protobuf.ByteString getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clientId_ = b; return b; } else { @@ -2269,28 +2542,35 @@ public java.lang.String getClientId() { } } /** + * + * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; + * * @param value The clientId to set. * @return This builder for chaining. */ - public Builder setClientId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClientId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clientId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; + * * @return This builder for chaining. */ public Builder clearClientId() { @@ -2300,17 +2580,21 @@ public Builder clearClientId() { return this; } /** + * + * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; + * * @param value The bytes for clientId to set. * @return This builder for chaining. */ - public Builder setClientIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClientIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clientId_ = value; bitField0_ |= 0x00000010; @@ -2320,6 +2604,7 @@ public Builder setClientIdBytes( private com.google.protobuf.LazyStringArrayList scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureScopesIsMutable() { if (!scopes_.isModifiable()) { scopes_ = new com.google.protobuf.LazyStringArrayList(scopes_); @@ -2327,6 +2612,8 @@ private void ensureScopesIsMutable() { bitField0_ |= 0x00000020; } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2334,14 +2621,16 @@ private void ensureScopesIsMutable() {
      * 
* * repeated string scopes = 6; + * * @return A list containing the scopes. */ - public com.google.protobuf.ProtocolStringList - getScopesList() { + public com.google.protobuf.ProtocolStringList getScopesList() { scopes_.makeImmutable(); return scopes_; } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2349,12 +2638,15 @@ private void ensureScopesIsMutable() {
      * 
* * repeated string scopes = 6; + * * @return The count of scopes. */ public int getScopesCount() { return scopes_.size(); } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2362,6 +2654,7 @@ public int getScopesCount() {
      * 
* * repeated string scopes = 6; + * * @param index The index of the element to return. * @return The scopes at the given index. */ @@ -2369,6 +2662,8 @@ public java.lang.String getScopes(int index) { return scopes_.get(index); } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2376,14 +2671,16 @@ public java.lang.String getScopes(int index) {
      * 
* * repeated string scopes = 6; + * * @param index The index of the value to return. * @return The bytes of the scopes at the given index. */ - public com.google.protobuf.ByteString - getScopesBytes(int index) { + public com.google.protobuf.ByteString getScopesBytes(int index) { return scopes_.getByteString(index); } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2391,13 +2688,15 @@ public java.lang.String getScopes(int index) {
      * 
* * repeated string scopes = 6; + * * @param index The index to set the value at. * @param value The scopes to set. * @return This builder for chaining. */ - public Builder setScopes( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setScopes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureScopesIsMutable(); scopes_.set(index, value); bitField0_ |= 0x00000020; @@ -2405,6 +2704,8 @@ public Builder setScopes( return this; } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2412,12 +2713,14 @@ public Builder setScopes(
      * 
* * repeated string scopes = 6; + * * @param value The scopes to add. * @return This builder for chaining. */ - public Builder addScopes( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addScopes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureScopesIsMutable(); scopes_.add(value); bitField0_ |= 0x00000020; @@ -2425,6 +2728,8 @@ public Builder addScopes( return this; } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2432,19 +2737,20 @@ public Builder addScopes(
      * 
* * repeated string scopes = 6; + * * @param values The scopes to add. * @return This builder for chaining. */ - public Builder addAllScopes( - java.lang.Iterable values) { + public Builder addAllScopes(java.lang.Iterable values) { ensureScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, scopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, scopes_); bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2452,16 +2758,19 @@ public Builder addAllScopes(
      * 
* * repeated string scopes = 6; + * * @return This builder for chaining. */ public Builder clearScopes() { - scopes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020);; + scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; onChanged(); return this; } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2469,12 +2778,14 @@ public Builder clearScopes() {
      * 
* * repeated string scopes = 6; + * * @param value The bytes of the scopes to add. * @return This builder for chaining. */ - public Builder addScopesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addScopesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureScopesIsMutable(); scopes_.add(value); @@ -2485,62 +2796,90 @@ public Builder addScopesBytes( private int transferType_ = 0; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The enum numeric value on the wire for transferType. */ - @java.lang.Override @java.lang.Deprecated public int getTransferTypeValue() { + @java.lang.Override + @java.lang.Deprecated + public int getTransferTypeValue() { return transferType_; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * 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. */ - @java.lang.Deprecated public Builder setTransferTypeValue(int value) { + @java.lang.Deprecated + public Builder setTransferTypeValue(int value) { transferType_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The transferType. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { - com.google.cloud.bigquery.datatransfer.v1.TransferType result = com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED : result; + @java.lang.Deprecated + public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { + com.google.cloud.bigquery.datatransfer.v1.TransferType result = + com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED + : result; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @param value The transferType to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setTransferType(com.google.cloud.bigquery.datatransfer.v1.TransferType value) { + @java.lang.Deprecated + public Builder setTransferType(com.google.cloud.bigquery.datatransfer.v1.TransferType value) { if (value == null) { throw new NullPointerException(); } @@ -2550,49 +2889,63 @@ public Builder addScopesBytes( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearTransferType() { + @java.lang.Deprecated + public Builder clearTransferType() { bitField0_ = (bitField0_ & ~0x00000040); transferType_ = 0; onChanged(); return this; } - private boolean supportsMultipleTransfers_ ; + private boolean supportsMultipleTransfers_; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * 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=398 + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is + * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return The supportsMultipleTransfers. */ @java.lang.Override - @java.lang.Deprecated public boolean getSupportsMultipleTransfers() { + @java.lang.Deprecated + public boolean getSupportsMultipleTransfers() { return supportsMultipleTransfers_; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * 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=398 + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is + * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @param value The supportsMultipleTransfers to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setSupportsMultipleTransfers(boolean value) { + @java.lang.Deprecated + public Builder setSupportsMultipleTransfers(boolean value) { supportsMultipleTransfers_ = value; bitField0_ |= 0x00000080; @@ -2600,30 +2953,37 @@ public Builder addScopesBytes( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * 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=398 + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is + * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearSupportsMultipleTransfers() { + @java.lang.Deprecated + public Builder clearSupportsMultipleTransfers() { bitField0_ = (bitField0_ & ~0x00000080); supportsMultipleTransfers_ = false; onChanged(); return this; } - private int updateDeadlineSeconds_ ; + private int updateDeadlineSeconds_; /** + * + * *
      * The number of seconds to wait for an update from the data source
      * before the Data Transfer Service marks the transfer as FAILED.
      * 
* * int32 update_deadline_seconds = 9; + * * @return The updateDeadlineSeconds. */ @java.lang.Override @@ -2631,12 +2991,15 @@ public int getUpdateDeadlineSeconds() { return updateDeadlineSeconds_; } /** + * + * *
      * The number of seconds to wait for an update from the data source
      * before the Data Transfer Service marks the transfer as FAILED.
      * 
* * int32 update_deadline_seconds = 9; + * * @param value The updateDeadlineSeconds to set. * @return This builder for chaining. */ @@ -2648,12 +3011,15 @@ public Builder setUpdateDeadlineSeconds(int value) { return this; } /** + * + * *
      * The number of seconds to wait for an update from the data source
      * before the Data Transfer Service marks the transfer as FAILED.
      * 
* * int32 update_deadline_seconds = 9; + * * @return This builder for chaining. */ public Builder clearUpdateDeadlineSeconds() { @@ -2665,6 +3031,8 @@ public Builder clearUpdateDeadlineSeconds() { private java.lang.Object defaultSchedule_ = ""; /** + * + * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -2674,13 +3042,13 @@ public Builder clearUpdateDeadlineSeconds() {
      * 
* * string default_schedule = 10; + * * @return The defaultSchedule. */ public java.lang.String getDefaultSchedule() { java.lang.Object ref = defaultSchedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSchedule_ = s; return s; @@ -2689,6 +3057,8 @@ public java.lang.String getDefaultSchedule() { } } /** + * + * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -2698,15 +3068,14 @@ public java.lang.String getDefaultSchedule() {
      * 
* * string default_schedule = 10; + * * @return The bytes for defaultSchedule. */ - public com.google.protobuf.ByteString - getDefaultScheduleBytes() { + public com.google.protobuf.ByteString getDefaultScheduleBytes() { java.lang.Object ref = defaultSchedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultSchedule_ = b; return b; } else { @@ -2714,6 +3083,8 @@ public java.lang.String getDefaultSchedule() { } } /** + * + * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -2723,18 +3094,22 @@ public java.lang.String getDefaultSchedule() {
      * 
* * string default_schedule = 10; + * * @param value The defaultSchedule to set. * @return This builder for chaining. */ - public Builder setDefaultSchedule( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultSchedule(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } defaultSchedule_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -2744,6 +3119,7 @@ public Builder setDefaultSchedule(
      * 
* * string default_schedule = 10; + * * @return This builder for chaining. */ public Builder clearDefaultSchedule() { @@ -2753,6 +3129,8 @@ public Builder clearDefaultSchedule() { return this; } /** + * + * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -2762,12 +3140,14 @@ public Builder clearDefaultSchedule() {
      * 
* * string default_schedule = 10; + * * @param value The bytes for defaultSchedule to set. * @return This builder for chaining. */ - public Builder setDefaultScheduleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultScheduleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); defaultSchedule_ = value; bitField0_ |= 0x00000200; @@ -2775,8 +3155,10 @@ public Builder setDefaultScheduleBytes( return this; } - private boolean supportsCustomSchedule_ ; + private boolean supportsCustomSchedule_; /** + * + * *
      * Specifies whether the data source supports a user defined schedule, or
      * operates on the default schedule.
@@ -2784,6 +3166,7 @@ public Builder setDefaultScheduleBytes(
      * 
* * bool supports_custom_schedule = 11; + * * @return The supportsCustomSchedule. */ @java.lang.Override @@ -2791,6 +3174,8 @@ public boolean getSupportsCustomSchedule() { return supportsCustomSchedule_; } /** + * + * *
      * Specifies whether the data source supports a user defined schedule, or
      * operates on the default schedule.
@@ -2798,6 +3183,7 @@ public boolean getSupportsCustomSchedule() {
      * 
* * bool supports_custom_schedule = 11; + * * @param value The supportsCustomSchedule to set. * @return This builder for chaining. */ @@ -2809,6 +3195,8 @@ public Builder setSupportsCustomSchedule(boolean value) { return this; } /** + * + * *
      * Specifies whether the data source supports a user defined schedule, or
      * operates on the default schedule.
@@ -2816,6 +3204,7 @@ public Builder setSupportsCustomSchedule(boolean value) {
      * 
* * bool supports_custom_schedule = 11; + * * @return This builder for chaining. */ public Builder clearSupportsCustomSchedule() { @@ -2825,26 +3214,36 @@ public Builder clearSupportsCustomSchedule() { return this; } - private java.util.List parameters_ = - java.util.Collections.emptyList(); + private java.util.List + parameters_ = java.util.Collections.emptyList(); + private void ensureParametersIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { - parameters_ = new java.util.ArrayList(parameters_); + parameters_ = + new java.util.ArrayList( + parameters_); bitField0_ |= 0x00000800; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> parametersBuilder_; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + parametersBuilder_; /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public java.util.List getParametersList() { + public java.util.List + getParametersList() { if (parametersBuilder_ == null) { return java.util.Collections.unmodifiableList(parameters_); } else { @@ -2852,11 +3251,14 @@ public java.util.List * Data source parameters. *
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public int getParametersCount() { if (parametersBuilder_ == null) { @@ -2866,11 +3268,14 @@ public int getParametersCount() { } } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParameters(int index) { if (parametersBuilder_ == null) { @@ -2880,11 +3285,14 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParamete } } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder setParameters( int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { @@ -2901,14 +3309,18 @@ public Builder setParameters( return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder setParameters( - int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.set(index, builderForValue.build()); @@ -2919,13 +3331,17 @@ public Builder setParameters( return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public Builder addParameters(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { + public Builder addParameters( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { if (parametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2939,11 +3355,14 @@ public Builder addParameters(com.google.cloud.bigquery.datatransfer.v1.DataSourc return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder addParameters( int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { @@ -2960,11 +3379,14 @@ public Builder addParameters( return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder addParameters( com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { @@ -2978,14 +3400,18 @@ public Builder addParameters( return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder addParameters( - int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.add(index, builderForValue.build()); @@ -2996,18 +3422,21 @@ public Builder addParameters( return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder addAllParameters( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, parameters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameters_); onChanged(); } else { parametersBuilder_.addAllMessages(values); @@ -3015,11 +3444,14 @@ public Builder addAllParameters( return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder clearParameters() { if (parametersBuilder_ == null) { @@ -3032,11 +3464,14 @@ public Builder clearParameters() { return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder removeParameters(int index) { if (parametersBuilder_ == null) { @@ -3049,39 +3484,50 @@ public Builder removeParameters(int index) { return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder getParametersBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder + getParametersBuilder(int index) { return getParametersFieldBuilder().getBuilder(index); } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParametersOrBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder + getParametersOrBuilder(int index) { if (parametersBuilder_ == null) { - return parameters_.get(index); } else { + return parameters_.get(index); + } else { return parametersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public java.util.List - getParametersOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + getParametersOrBuilderList() { if (parametersBuilder_ != null) { return parametersBuilder_.getMessageOrBuilderList(); } else { @@ -3089,49 +3535,65 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder ge } } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addParametersBuilder() { - return getParametersFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder + addParametersBuilder() { + return getParametersFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addParametersBuilder( - int index) { - return getParametersFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder + addParametersBuilder(int index) { + return getParametersFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public java.util.List - getParametersBuilderList() { + public java.util.List + getParametersBuilderList() { return getParametersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> getParametersFieldBuilder() { if (parametersBuilder_ == null) { - parametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( - parameters_, - ((bitField0_ & 0x00000800) != 0), - getParentForChildren(), - isClean()); + parametersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( + parameters_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); parameters_ = null; } return parametersBuilder_; @@ -3139,18 +3601,20 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder add private java.lang.Object helpUrl_ = ""; /** + * + * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; + * * @return The helpUrl. */ public java.lang.String getHelpUrl() { java.lang.Object ref = helpUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpUrl_ = s; return s; @@ -3159,20 +3623,21 @@ public java.lang.String getHelpUrl() { } } /** + * + * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; + * * @return The bytes for helpUrl. */ - public com.google.protobuf.ByteString - getHelpUrlBytes() { + public com.google.protobuf.ByteString getHelpUrlBytes() { java.lang.Object ref = helpUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); helpUrl_ = b; return b; } else { @@ -3180,28 +3645,35 @@ public java.lang.String getHelpUrl() { } } /** + * + * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; + * * @param value The helpUrl to set. * @return This builder for chaining. */ - public Builder setHelpUrl( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHelpUrl(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } helpUrl_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; + * * @return This builder for chaining. */ public Builder clearHelpUrl() { @@ -3211,17 +3683,21 @@ public Builder clearHelpUrl() { return this; } /** + * + * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; + * * @param value The bytes for helpUrl to set. * @return This builder for chaining. */ - public Builder setHelpUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHelpUrlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); helpUrl_ = value; bitField0_ |= 0x00001000; @@ -3231,22 +3707,33 @@ public Builder setHelpUrlBytes( private int authorizationType_ = 0; /** + * + * *
      * Indicates the type of authorization.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @return The enum numeric value on the wire for authorizationType. */ - @java.lang.Override public int getAuthorizationTypeValue() { + @java.lang.Override + public int getAuthorizationTypeValue() { return authorizationType_; } /** + * + * *
      * Indicates the type of authorization.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @param value The enum numeric value on the wire for authorizationType to set. * @return This builder for chaining. */ @@ -3257,28 +3744,44 @@ public Builder setAuthorizationTypeValue(int value) { return this; } /** + * + * *
      * Indicates the type of authorization.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @return The authorizationType. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType getAuthorizationType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber(authorizationType_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED : result; + public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType + getAuthorizationType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = + com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber( + authorizationType_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED + : result; } /** + * + * *
      * Indicates the type of authorization.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @param value The authorizationType to set. * @return This builder for chaining. */ - public Builder setAuthorizationType(com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType value) { + public Builder setAuthorizationType( + com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType value) { if (value == null) { throw new NullPointerException(); } @@ -3288,11 +3791,16 @@ public Builder setAuthorizationType(com.google.cloud.bigquery.datatransfer.v1.Da return this; } /** + * + * *
      * Indicates the type of authorization.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @return This builder for chaining. */ public Builder clearAuthorizationType() { @@ -3304,6 +3812,8 @@ public Builder clearAuthorizationType() { private int dataRefreshType_ = 0; /** + * + * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3311,13 +3821,19 @@ public Builder clearAuthorizationType() {
      * so it's useful to refresh data automatically.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @return The enum numeric value on the wire for dataRefreshType. */ - @java.lang.Override public int getDataRefreshTypeValue() { + @java.lang.Override + public int getDataRefreshTypeValue() { return dataRefreshType_; } /** + * + * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3325,7 +3841,10 @@ public Builder clearAuthorizationType() {
      * so it's useful to refresh data automatically.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @param value The enum numeric value on the wire for dataRefreshType to set. * @return This builder for chaining. */ @@ -3336,6 +3855,8 @@ public Builder setDataRefreshTypeValue(int value) { return this; } /** + * + * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3343,15 +3864,25 @@ public Builder setDataRefreshTypeValue(int value) {
      * so it's useful to refresh data automatically.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @return The dataRefreshType. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber(dataRefreshType_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED : result; + public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType + getDataRefreshType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = + com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber( + dataRefreshType_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED + : result; } /** + * + * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3359,11 +3890,15 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getD
      * so it's useful to refresh data automatically.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @param value The dataRefreshType to set. * @return This builder for chaining. */ - public Builder setDataRefreshType(com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType value) { + public Builder setDataRefreshType( + com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType value) { if (value == null) { throw new NullPointerException(); } @@ -3373,6 +3908,8 @@ public Builder setDataRefreshType(com.google.cloud.bigquery.datatransfer.v1.Data return this; } /** + * + * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3380,7 +3917,10 @@ public Builder setDataRefreshType(com.google.cloud.bigquery.datatransfer.v1.Data
      * so it's useful to refresh data automatically.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @return This builder for chaining. */ public Builder clearDataRefreshType() { @@ -3390,14 +3930,17 @@ public Builder clearDataRefreshType() { return this; } - private int defaultDataRefreshWindowDays_ ; + private int defaultDataRefreshWindowDays_; /** + * + * *
      * Default data refresh window on days.
      * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
      * 
* * int32 default_data_refresh_window_days = 16; + * * @return The defaultDataRefreshWindowDays. */ @java.lang.Override @@ -3405,12 +3948,15 @@ public int getDefaultDataRefreshWindowDays() { return defaultDataRefreshWindowDays_; } /** + * + * *
      * Default data refresh window on days.
      * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
      * 
* * int32 default_data_refresh_window_days = 16; + * * @param value The defaultDataRefreshWindowDays to set. * @return This builder for chaining. */ @@ -3422,12 +3968,15 @@ public Builder setDefaultDataRefreshWindowDays(int value) { return this; } /** + * + * *
      * Default data refresh window on days.
      * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
      * 
* * int32 default_data_refresh_window_days = 16; + * * @return This builder for chaining. */ public Builder clearDefaultDataRefreshWindowDays() { @@ -3437,14 +3986,17 @@ public Builder clearDefaultDataRefreshWindowDays() { return this; } - private boolean manualRunsDisabled_ ; + private boolean manualRunsDisabled_; /** + * + * *
      * Disables backfilling and manual run scheduling
      * for the data source.
      * 
* * bool manual_runs_disabled = 17; + * * @return The manualRunsDisabled. */ @java.lang.Override @@ -3452,12 +4004,15 @@ public boolean getManualRunsDisabled() { return manualRunsDisabled_; } /** + * + * *
      * Disables backfilling and manual run scheduling
      * for the data source.
      * 
* * bool manual_runs_disabled = 17; + * * @param value The manualRunsDisabled to set. * @return This builder for chaining. */ @@ -3469,12 +4024,15 @@ public Builder setManualRunsDisabled(boolean value) { return this; } /** + * + * *
      * Disables backfilling and manual run scheduling
      * for the data source.
      * 
* * bool manual_runs_disabled = 17; + * * @return This builder for chaining. */ public Builder clearManualRunsDisabled() { @@ -3486,34 +4044,47 @@ public Builder clearManualRunsDisabled() { private com.google.protobuf.Duration minimumScheduleInterval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minimumScheduleIntervalBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + minimumScheduleIntervalBuilder_; /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; + * * @return Whether the minimumScheduleInterval field is set. */ public boolean hasMinimumScheduleInterval() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; + * * @return The minimumScheduleInterval. */ public com.google.protobuf.Duration getMinimumScheduleInterval() { if (minimumScheduleIntervalBuilder_ == null) { - return minimumScheduleInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; + return minimumScheduleInterval_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minimumScheduleInterval_; } else { return minimumScheduleIntervalBuilder_.getMessage(); } } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -3534,6 +4105,8 @@ public Builder setMinimumScheduleInterval(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -3552,6 +4125,8 @@ public Builder setMinimumScheduleInterval( return this; } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -3560,9 +4135,9 @@ public Builder setMinimumScheduleInterval( */ public Builder mergeMinimumScheduleInterval(com.google.protobuf.Duration value) { if (minimumScheduleIntervalBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) && - minimumScheduleInterval_ != null && - minimumScheduleInterval_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) + && minimumScheduleInterval_ != null + && minimumScheduleInterval_ != com.google.protobuf.Duration.getDefaultInstance()) { getMinimumScheduleIntervalBuilder().mergeFrom(value); } else { minimumScheduleInterval_ = value; @@ -3577,6 +4152,8 @@ public Builder mergeMinimumScheduleInterval(com.google.protobuf.Duration value) return this; } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -3594,6 +4171,8 @@ public Builder clearMinimumScheduleInterval() { return this; } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -3606,6 +4185,8 @@ public com.google.protobuf.Duration.Builder getMinimumScheduleIntervalBuilder() return getMinimumScheduleIntervalFieldBuilder().getBuilder(); } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -3616,11 +4197,14 @@ public com.google.protobuf.DurationOrBuilder getMinimumScheduleIntervalOrBuilder if (minimumScheduleIntervalBuilder_ != null) { return minimumScheduleIntervalBuilder_.getMessageOrBuilder(); } else { - return minimumScheduleInterval_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; + return minimumScheduleInterval_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minimumScheduleInterval_; } } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -3628,21 +4212,24 @@ public com.google.protobuf.DurationOrBuilder getMinimumScheduleIntervalOrBuilder * .google.protobuf.Duration minimum_schedule_interval = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getMinimumScheduleIntervalFieldBuilder() { if (minimumScheduleIntervalBuilder_ == null) { - minimumScheduleIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getMinimumScheduleInterval(), - getParentForChildren(), - isClean()); + minimumScheduleIntervalBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getMinimumScheduleInterval(), getParentForChildren(), isClean()); minimumScheduleInterval_ = null; } return minimumScheduleIntervalBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3652,12 +4239,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DataSource) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DataSource) private static final com.google.cloud.bigquery.datatransfer.v1.DataSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DataSource(); } @@ -3666,27 +4253,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.DataSource getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3701,6 +4288,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.DataSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 76% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java index 9f30d204202a..88a54468e75e 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/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 @@ -1,114 +1,157 @@ +/* + * 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; -public interface DataSourceOrBuilder extends +public interface DataSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DataSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Data source id.
    * 
* * string data_source_id = 2; + * * @return The dataSourceId. */ java.lang.String getDataSourceId(); /** + * + * *
    * Data source id.
    * 
* * string data_source_id = 2; + * * @return The bytes for dataSourceId. */ - com.google.protobuf.ByteString - getDataSourceIdBytes(); + com.google.protobuf.ByteString getDataSourceIdBytes(); /** + * + * *
    * User friendly data source name.
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * User friendly data source name.
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * User friendly data source description string.
    * 
* * string description = 4; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * User friendly data source description string.
    * 
* * string description = 4; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; + * * @return The clientId. */ java.lang.String getClientId(); /** + * + * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; + * * @return The bytes for clientId. */ - com.google.protobuf.ByteString - getClientIdBytes(); + com.google.protobuf.ByteString getClientIdBytes(); /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -116,11 +159,13 @@ public interface DataSourceOrBuilder extends
    * 
* * repeated string scopes = 6; + * * @return A list containing the scopes. */ - java.util.List - getScopesList(); + java.util.List getScopesList(); /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -128,10 +173,13 @@ public interface DataSourceOrBuilder extends
    * 
* * repeated string scopes = 6; + * * @return The count of scopes. */ int getScopesCount(); /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -139,11 +187,14 @@ public interface DataSourceOrBuilder extends
    * 
* * repeated string scopes = 6; + * * @param index The index of the element to return. * @return The scopes at the given index. */ java.lang.String getScopes(int index); /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -151,59 +202,80 @@ public interface DataSourceOrBuilder extends
    * 
* * repeated string scopes = 6; + * * @param index The index of the value to return. * @return The bytes of the scopes at the given index. */ - com.google.protobuf.ByteString - getScopesBytes(int index); + com.google.protobuf.ByteString getScopesBytes(int index); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The enum numeric value on the wire for transferType. */ - @java.lang.Deprecated int getTransferTypeValue(); + @java.lang.Deprecated + int getTransferTypeValue(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The transferType. */ - @java.lang.Deprecated com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType(); + @java.lang.Deprecated + com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * 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=398 + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is + * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return The supportsMultipleTransfers. */ - @java.lang.Deprecated boolean getSupportsMultipleTransfers(); + @java.lang.Deprecated + boolean getSupportsMultipleTransfers(); /** + * + * *
    * The number of seconds to wait for an update from the data source
    * before the Data Transfer Service marks the transfer as FAILED.
    * 
* * int32 update_deadline_seconds = 9; + * * @return The updateDeadlineSeconds. */ int getUpdateDeadlineSeconds(); /** + * + * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -213,10 +285,13 @@ public interface DataSourceOrBuilder extends
    * 
* * string default_schedule = 10; + * * @return The defaultSchedule. */ java.lang.String getDefaultSchedule(); /** + * + * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -226,12 +301,14 @@ public interface DataSourceOrBuilder extends
    * 
* * string default_schedule = 10; + * * @return The bytes for defaultSchedule. */ - com.google.protobuf.ByteString - getDefaultScheduleBytes(); + com.google.protobuf.ByteString getDefaultScheduleBytes(); /** + * + * *
    * Specifies whether the data source supports a user defined schedule, or
    * operates on the default schedule.
@@ -239,94 +316,126 @@ public interface DataSourceOrBuilder extends
    * 
* * bool supports_custom_schedule = 11; + * * @return The supportsCustomSchedule. */ boolean getSupportsCustomSchedule(); /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - java.util.List - getParametersList(); + java.util.List getParametersList(); /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParameters(int index); /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ int getParametersCount(); /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - java.util.List + java.util.List getParametersOrBuilderList(); /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParametersOrBuilder( int index); /** + * + * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; + * * @return The helpUrl. */ java.lang.String getHelpUrl(); /** + * + * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; + * * @return The bytes for helpUrl. */ - com.google.protobuf.ByteString - getHelpUrlBytes(); + com.google.protobuf.ByteString getHelpUrlBytes(); /** + * + * *
    * Indicates the type of authorization.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @return The enum numeric value on the wire for authorizationType. */ int getAuthorizationTypeValue(); /** + * + * *
    * Indicates the type of authorization.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @return The authorizationType. */ com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType getAuthorizationType(); /** + * + * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -334,11 +443,15 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @return The enum numeric value on the wire for dataRefreshType. */ int getDataRefreshTypeValue(); /** + * + * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -346,52 +459,68 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @return The dataRefreshType. */ com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType(); /** + * + * *
    * Default data refresh window on days.
    * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
    * 
* * int32 default_data_refresh_window_days = 16; + * * @return The defaultDataRefreshWindowDays. */ int getDefaultDataRefreshWindowDays(); /** + * + * *
    * Disables backfilling and manual run scheduling
    * for the data source.
    * 
* * bool manual_runs_disabled = 17; + * * @return The manualRunsDisabled. */ boolean getManualRunsDisabled(); /** + * + * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; + * * @return Whether the minimumScheduleInterval field is set. */ boolean hasMinimumScheduleInterval(); /** + * + * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; + * * @return The minimumScheduleInterval. */ com.google.protobuf.Duration getMinimumScheduleInterval(); /** + * + * *
    * The minimum interval for scheduler to schedule runs.
    * 
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java similarity index 74% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java index 5fd2880bc313..d839d6167d5f 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,29 +20,31 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A parameter used to define custom fields in a data source definition.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSourceParameter} */ -public final class DataSourceParameter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataSourceParameter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) DataSourceParameterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataSourceParameter.newBuilder() to construct. private DataSourceParameter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataSourceParameter() { paramId_ = ""; displayName_ = ""; description_ = ""; type_ = 0; validationRegex_ = ""; - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); fields_ = java.util.Collections.emptyList(); validationDescription_ = ""; validationHelpUrl_ = ""; @@ -35,34 +52,38 @@ private DataSourceParameter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataSourceParameter(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_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_DataSourceParameter_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); } /** + * + * *
    * Parameter type.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Type unspecified.
      * 
@@ -71,6 +92,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * String parameter.
      * 
@@ -79,6 +102,8 @@ public enum Type */ STRING(1), /** + * + * *
      * Integer parameter (64-bits).
      * Will be serialized to json as string.
@@ -88,6 +113,8 @@ public enum Type
      */
     INTEGER(2),
     /**
+     *
+     *
      * 
      * Double precision floating point parameter.
      * 
@@ -96,6 +123,8 @@ public enum Type */ DOUBLE(3), /** + * + * *
      * Boolean parameter.
      * 
@@ -104,6 +133,8 @@ public enum Type */ BOOLEAN(4), /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -112,6 +143,8 @@ public enum Type */ RECORD(5), /** + * + * *
      * Page ID for a Google+ Page.
      * 
@@ -120,6 +153,8 @@ public enum Type */ PLUS_PAGE(6), /** + * + * *
      * List of strings parameter.
      * 
@@ -131,6 +166,8 @@ public enum Type ; /** + * + * *
      * Type unspecified.
      * 
@@ -139,6 +176,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * String parameter.
      * 
@@ -147,6 +186,8 @@ public enum Type */ public static final int STRING_VALUE = 1; /** + * + * *
      * Integer parameter (64-bits).
      * Will be serialized to json as string.
@@ -156,6 +197,8 @@ public enum Type
      */
     public static final int INTEGER_VALUE = 2;
     /**
+     *
+     *
      * 
      * Double precision floating point parameter.
      * 
@@ -164,6 +207,8 @@ public enum Type */ public static final int DOUBLE_VALUE = 3; /** + * + * *
      * Boolean parameter.
      * 
@@ -172,6 +217,8 @@ public enum Type */ public static final int BOOLEAN_VALUE = 4; /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -180,6 +227,8 @@ public enum Type */ public static final int RECORD_VALUE = 5; /** + * + * *
      * Page ID for a Google+ Page.
      * 
@@ -188,6 +237,8 @@ public enum Type */ public static final int PLUS_PAGE_VALUE = 6; /** + * + * *
      * List of strings parameter.
      * 
@@ -196,7 +247,6 @@ public enum Type */ public static final int LIST_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -221,54 +271,61 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return STRING; - case 2: return INTEGER; - case 3: return DOUBLE; - case 4: return BOOLEAN; - case 5: return RECORD; - case 6: return PLUS_PAGE; - case 7: return LIST; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return TYPE_UNSPECIFIED; + case 1: + return STRING; + case 2: + return INTEGER; + case 3: + return DOUBLE; + case 4: + return BOOLEAN; + case 5: + return RECORD; + case 6: + return PLUS_PAGE; + case 7: + return LIST; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDescriptor() + .getEnumTypes() + .get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -287,14 +344,18 @@ private Type(int value) { private int bitField0_; public static final int PARAM_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object paramId_ = ""; /** + * + * *
    * Parameter identifier.
    * 
* * string param_id = 1; + * * @return The paramId. */ @java.lang.Override @@ -303,29 +364,29 @@ public java.lang.String getParamId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); paramId_ = s; return s; } } /** + * + * *
    * Parameter identifier.
    * 
* * string param_id = 1; + * * @return The bytes for paramId. */ @java.lang.Override - public com.google.protobuf.ByteString - getParamIdBytes() { + public com.google.protobuf.ByteString getParamIdBytes() { java.lang.Object ref = paramId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); paramId_ = b; return b; } else { @@ -334,14 +395,18 @@ public java.lang.String getParamId() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -350,29 +415,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -381,14 +446,18 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Parameter description.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -397,29 +466,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Parameter description.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -430,37 +499,51 @@ public java.lang.String getDescription() { public static final int TYPE_FIELD_NUMBER = 4; private int type_ = 0; /** + * + * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @return The type. */ - @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType() { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType() { + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED + : result; } public static final int REQUIRED_FIELD_NUMBER = 5; private boolean required_ = false; /** + * + * *
    * Is parameter required.
    * 
* * bool required = 5; + * * @return The required. */ @java.lang.Override @@ -471,11 +554,14 @@ public boolean getRequired() { public static final int REPEATED_FIELD_NUMBER = 6; private boolean repeated_ = false; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * bool repeated = 6; + * * @return The repeated. */ @java.lang.Override @@ -484,14 +570,18 @@ public boolean getRepeated() { } public static final int VALIDATION_REGEX_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object validationRegex_ = ""; /** + * + * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; + * * @return The validationRegex. */ @java.lang.Override @@ -500,29 +590,29 @@ public java.lang.String getValidationRegex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationRegex_ = s; return s; } } /** + * + * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; + * * @return The bytes for validationRegex. */ @java.lang.Override - public com.google.protobuf.ByteString - getValidationRegexBytes() { + public com.google.protobuf.ByteString getValidationRegexBytes() { java.lang.Object ref = validationRegex_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); validationRegex_ = b; return b; } else { @@ -531,38 +621,47 @@ public java.lang.String getValidationRegex() { } public static final int ALLOWED_VALUES_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList - getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList getAllowedValuesList() { return allowedValues_; } /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -570,27 +669,32 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString - getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } public static final int MIN_VALUE_FIELD_NUMBER = 9; private com.google.protobuf.DoubleValue minValue_; /** + * + * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; + * * @return Whether the minValue field is set. */ @java.lang.Override @@ -598,11 +702,14 @@ public boolean hasMinValue() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; + * * @return The minValue. */ @java.lang.Override @@ -610,6 +717,8 @@ public com.google.protobuf.DoubleValue getMinValue() { return minValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : minValue_; } /** + * + * *
    * For integer and double values specifies minimum allowed value.
    * 
@@ -624,11 +733,14 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { public static final int MAX_VALUE_FIELD_NUMBER = 10; private com.google.protobuf.DoubleValue maxValue_; /** + * + * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; + * * @return Whether the maxValue field is set. */ @java.lang.Override @@ -636,11 +748,14 @@ public boolean hasMaxValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; + * * @return The maxValue. */ @java.lang.Override @@ -648,6 +763,8 @@ public com.google.protobuf.DoubleValue getMaxValue() { return maxValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxValue_; } /** + * + * *
    * For integer and double values specifies maximum allowed value.
    * 
@@ -660,9 +777,12 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { } public static final int FIELDS_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private java.util.List fields_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -670,10 +790,13 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ @java.lang.Override - public java.util.List getFieldsList() { + public java.util.List + getFieldsList() { return fields_; } /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -681,11 +804,14 @@ public java.util.Listrepeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> getFieldsOrBuilderList() { return fields_; } /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -697,6 +823,8 @@ public int getFieldsCount() { return fields_.size(); } /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -708,6 +836,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getFields(i return fields_.get(index); } /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -721,15 +851,19 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder ge } public static final int VALIDATION_DESCRIPTION_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object validationDescription_ = ""; /** + * + * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; + * * @return The validationDescription. */ @java.lang.Override @@ -738,30 +872,30 @@ public java.lang.String getValidationDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationDescription_ = s; return s; } } /** + * + * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; + * * @return The bytes for validationDescription. */ @java.lang.Override - public com.google.protobuf.ByteString - getValidationDescriptionBytes() { + public com.google.protobuf.ByteString getValidationDescriptionBytes() { java.lang.Object ref = validationDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); validationDescription_ = b; return b; } else { @@ -770,14 +904,18 @@ public java.lang.String getValidationDescription() { } public static final int VALIDATION_HELP_URL_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private volatile java.lang.Object validationHelpUrl_ = ""; /** + * + * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; + * * @return The validationHelpUrl. */ @java.lang.Override @@ -786,29 +924,29 @@ public java.lang.String getValidationHelpUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationHelpUrl_ = s; return s; } } /** + * + * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; + * * @return The bytes for validationHelpUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getValidationHelpUrlBytes() { + public com.google.protobuf.ByteString getValidationHelpUrlBytes() { java.lang.Object ref = validationHelpUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); validationHelpUrl_ = b; return b; } else { @@ -819,11 +957,14 @@ public java.lang.String getValidationHelpUrl() { public static final int IMMUTABLE_FIELD_NUMBER = 14; private boolean immutable_ = false; /** + * + * *
    * Cannot be changed after initial creation.
    * 
* * bool immutable = 14; + * * @return The immutable. */ @java.lang.Override @@ -834,11 +975,14 @@ public boolean getImmutable() { public static final int RECURSE_FIELD_NUMBER = 15; private boolean recurse_ = false; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * bool recurse = 15; + * * @return The recurse. */ @java.lang.Override @@ -849,12 +993,15 @@ public boolean getRecurse() { public static final int DEPRECATED_FIELD_NUMBER = 20; private boolean deprecated_ = false; /** + * + * *
    * If true, it should not be used in new transfers, and it should not be
    * visible to users.
    * 
* * bool deprecated = 20; + * * @return The deprecated. */ @java.lang.Override @@ -863,6 +1010,7 @@ public boolean getDeprecated() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -874,8 +1022,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(paramId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, paramId_); } @@ -885,7 +1032,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - if (type_ != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, type_); } if (required_ != false) { @@ -942,17 +1091,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - if (type_ != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, type_); + if (type_ + != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); } if (required_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, required_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, required_); } if (repeated_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, repeated_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, repeated_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validationRegex_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, validationRegex_); @@ -966,16 +1114,13 @@ public int getSerializedSize() { size += 1 * getAllowedValuesList().size(); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getMinValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getMinValue()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getMaxValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getMaxValue()); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, fields_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validationDescription_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, validationDescription_); @@ -984,16 +1129,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, validationHelpUrl_); } if (immutable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(14, immutable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, immutable_); } if (recurse_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(15, recurse_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, recurse_); } if (deprecated_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(20, deprecated_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(20, deprecated_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1003,50 +1145,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter other = (com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) obj; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter other = + (com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) obj; - if (!getParamId() - .equals(other.getParamId())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getParamId().equals(other.getParamId())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (type_ != other.type_) return false; - if (getRequired() - != other.getRequired()) return false; - if (getRepeated() - != other.getRepeated()) return false; - if (!getValidationRegex() - .equals(other.getValidationRegex())) return false; - if (!getAllowedValuesList() - .equals(other.getAllowedValuesList())) return false; + if (getRequired() != other.getRequired()) return false; + if (getRepeated() != other.getRepeated()) return false; + if (!getValidationRegex().equals(other.getValidationRegex())) return false; + if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; if (hasMinValue() != other.hasMinValue()) return false; if (hasMinValue()) { - if (!getMinValue() - .equals(other.getMinValue())) return false; + if (!getMinValue().equals(other.getMinValue())) return false; } if (hasMaxValue() != other.hasMaxValue()) return false; if (hasMaxValue()) { - if (!getMaxValue() - .equals(other.getMaxValue())) return false; - } - if (!getFieldsList() - .equals(other.getFieldsList())) return false; - if (!getValidationDescription() - .equals(other.getValidationDescription())) return false; - if (!getValidationHelpUrl() - .equals(other.getValidationHelpUrl())) return false; - if (getImmutable() - != other.getImmutable()) return false; - if (getRecurse() - != other.getRecurse()) return false; - if (getDeprecated() - != other.getDeprecated()) return false; + if (!getMaxValue().equals(other.getMaxValue())) return false; + } + if (!getFieldsList().equals(other.getFieldsList())) return false; + if (!getValidationDescription().equals(other.getValidationDescription())) return false; + if (!getValidationHelpUrl().equals(other.getValidationHelpUrl())) return false; + if (getImmutable() != other.getImmutable()) return false; + if (getRecurse() != other.getRecurse()) return false; + if (getDeprecated() != other.getDeprecated()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1067,11 +1195,9 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequired()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequired()); hash = (37 * hash) + REPEATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRepeated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRepeated()); hash = (37 * hash) + VALIDATION_REGEX_FIELD_NUMBER; hash = (53 * hash) + getValidationRegex().hashCode(); if (getAllowedValuesCount() > 0) { @@ -1095,133 +1221,138 @@ public int hashCode() { hash = (37 * hash) + VALIDATION_HELP_URL_FIELD_NUMBER; hash = (53 * hash) + getValidationHelpUrl().hashCode(); hash = (37 * hash) + IMMUTABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getImmutable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getImmutable()); hash = (37 * hash) + RECURSE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRecurse()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecurse()); hash = (37 * hash) + DEPRECATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDeprecated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeprecated()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSourceParameter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter 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.DataSourceParameter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSourceParameter 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.DataSourceParameter 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.DataSourceParameter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter 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.DataSourceParameter 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.DataSourceParameter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.DataSourceParameter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A parameter used to define custom fields in a data source definition.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSourceParameter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_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_DataSourceParameter_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.newBuilder() @@ -1229,19 +1360,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMinValueFieldBuilder(); getMaxValueFieldBuilder(); getFieldsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1253,8 +1384,7 @@ public Builder clear() { required_ = false; repeated_ = false; validationRegex_ = ""; - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); minValue_ = null; if (minValueBuilder_ != null) { minValueBuilder_.dispose(); @@ -1281,13 +1411,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance(); } @@ -1302,14 +1433,18 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result = new com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter(this); + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result = + new com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -1321,7 +1456,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v } } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.paramId_ = paramId_; @@ -1350,15 +1486,11 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSourceP } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000100) != 0)) { - result.minValue_ = minValueBuilder_ == null - ? minValue_ - : minValueBuilder_.build(); + result.minValue_ = minValueBuilder_ == null ? minValue_ : minValueBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.maxValue_ = maxValueBuilder_ == null - ? maxValue_ - : maxValueBuilder_.build(); + result.maxValue_ = maxValueBuilder_ == null ? maxValue_ : maxValueBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000800) != 0)) { @@ -1383,38 +1515,39 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSourceP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) other); } else { super.mergeFrom(other); return this; @@ -1422,7 +1555,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()) return this; + if (other + == com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()) + return this; if (!other.getParamId().isEmpty()) { paramId_ = other.paramId_; bitField0_ |= 0x00000001; @@ -1486,9 +1621,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSourcePar fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000400); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFieldsFieldBuilder() : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldsFieldBuilder() + : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -1539,105 +1675,118 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - paramId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - type_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - required_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - repeated_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: { - validationRegex_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAllowedValuesIsMutable(); - allowedValues_.add(s); - break; - } // case 66 - case 74: { - input.readMessage( - getMinValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: { - input.readMessage( - getMaxValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 90: { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 90 - case 98: { - validationDescription_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: { - validationHelpUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 112: { - immutable_ = input.readBool(); - bitField0_ |= 0x00002000; - break; - } // case 112 - case 120: { - recurse_ = input.readBool(); - bitField0_ |= 0x00004000; - break; - } // case 120 - case 160: { - deprecated_ = input.readBool(); - bitField0_ |= 0x00008000; - break; - } // case 160 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + paramId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + required_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + repeated_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + validationRegex_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAllowedValuesIsMutable(); + allowedValues_.add(s); + break; + } // case 66 + case 74: + { + input.readMessage(getMinValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: + { + input.readMessage(getMaxValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 90: + { + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 90 + case 98: + { + validationDescription_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: + { + validationHelpUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 112: + { + immutable_ = input.readBool(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 120: + { + recurse_ = input.readBool(); + bitField0_ |= 0x00004000; + break; + } // case 120 + case 160: + { + deprecated_ = input.readBool(); + bitField0_ |= 0x00008000; + break; + } // case 160 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1647,22 +1796,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object paramId_ = ""; /** + * + * *
      * Parameter identifier.
      * 
* * string param_id = 1; + * * @return The paramId. */ public java.lang.String getParamId() { java.lang.Object ref = paramId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); paramId_ = s; return s; @@ -1671,20 +1823,21 @@ public java.lang.String getParamId() { } } /** + * + * *
      * Parameter identifier.
      * 
* * string param_id = 1; + * * @return The bytes for paramId. */ - public com.google.protobuf.ByteString - getParamIdBytes() { + public com.google.protobuf.ByteString getParamIdBytes() { java.lang.Object ref = paramId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); paramId_ = b; return b; } else { @@ -1692,28 +1845,35 @@ public java.lang.String getParamId() { } } /** + * + * *
      * Parameter identifier.
      * 
* * string param_id = 1; + * * @param value The paramId to set. * @return This builder for chaining. */ - public Builder setParamId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParamId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } paramId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Parameter identifier.
      * 
* * string param_id = 1; + * * @return This builder for chaining. */ public Builder clearParamId() { @@ -1723,17 +1883,21 @@ public Builder clearParamId() { return this; } /** + * + * *
      * Parameter identifier.
      * 
* * string param_id = 1; + * * @param value The bytes for paramId to set. * @return This builder for chaining. */ - public Builder setParamIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParamIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); paramId_ = value; bitField0_ |= 0x00000001; @@ -1743,18 +1907,20 @@ public Builder setParamIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1763,20 +1929,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1784,28 +1951,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1815,17 +1989,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -1835,18 +2013,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Parameter description.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1855,20 +2035,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Parameter description.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1876,28 +2057,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Parameter description.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Parameter description.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1907,17 +2095,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Parameter description.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1927,22 +2119,29 @@ public Builder setDescriptionBytes( private int type_ = 0; /** + * + * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1953,28 +2152,38 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @return The type. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType() { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED : result; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type value) { + public Builder setType( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type value) { if (value == null) { throw new NullPointerException(); } @@ -1984,11 +2193,14 @@ public Builder setType(com.google.cloud.bigquery.datatransfer.v1.DataSourceParam return this; } /** + * + * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @return This builder for chaining. */ public Builder clearType() { @@ -1998,13 +2210,16 @@ public Builder clearType() { return this; } - private boolean required_ ; + private boolean required_; /** + * + * *
      * Is parameter required.
      * 
* * bool required = 5; + * * @return The required. */ @java.lang.Override @@ -2012,11 +2227,14 @@ public boolean getRequired() { return required_; } /** + * + * *
      * Is parameter required.
      * 
* * bool required = 5; + * * @param value The required to set. * @return This builder for chaining. */ @@ -2028,11 +2246,14 @@ public Builder setRequired(boolean value) { return this; } /** + * + * *
      * Is parameter required.
      * 
* * bool required = 5; + * * @return This builder for chaining. */ public Builder clearRequired() { @@ -2042,13 +2263,16 @@ public Builder clearRequired() { return this; } - private boolean repeated_ ; + private boolean repeated_; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * bool repeated = 6; + * * @return The repeated. */ @java.lang.Override @@ -2056,11 +2280,14 @@ public boolean getRepeated() { return repeated_; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * bool repeated = 6; + * * @param value The repeated to set. * @return This builder for chaining. */ @@ -2072,11 +2299,14 @@ public Builder setRepeated(boolean value) { return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * bool repeated = 6; + * * @return This builder for chaining. */ public Builder clearRepeated() { @@ -2088,18 +2318,20 @@ public Builder clearRepeated() { private java.lang.Object validationRegex_ = ""; /** + * + * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; + * * @return The validationRegex. */ public java.lang.String getValidationRegex() { java.lang.Object ref = validationRegex_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationRegex_ = s; return s; @@ -2108,20 +2340,21 @@ public java.lang.String getValidationRegex() { } } /** + * + * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; + * * @return The bytes for validationRegex. */ - public com.google.protobuf.ByteString - getValidationRegexBytes() { + public com.google.protobuf.ByteString getValidationRegexBytes() { java.lang.Object ref = validationRegex_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); validationRegex_ = b; return b; } else { @@ -2129,28 +2362,35 @@ public java.lang.String getValidationRegex() { } } /** + * + * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; + * * @param value The validationRegex to set. * @return This builder for chaining. */ - public Builder setValidationRegex( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValidationRegex(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } validationRegex_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; + * * @return This builder for chaining. */ public Builder clearValidationRegex() { @@ -2160,17 +2400,21 @@ public Builder clearValidationRegex() { return this; } /** + * + * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; + * * @param value The bytes for validationRegex to set. * @return This builder for chaining. */ - public Builder setValidationRegexBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValidationRegexBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); validationRegex_ = value; bitField0_ |= 0x00000040; @@ -2180,6 +2424,7 @@ public Builder setValidationRegexBytes( private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAllowedValuesIsMutable() { if (!allowedValues_.isModifiable()) { allowedValues_ = new com.google.protobuf.LazyStringArrayList(allowedValues_); @@ -2187,35 +2432,43 @@ private void ensureAllowedValuesIsMutable() { bitField0_ |= 0x00000080; } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList - getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList getAllowedValuesList() { allowedValues_.makeImmutable(); return allowedValues_; } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -2223,31 +2476,37 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString - getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @param index The index to set the value at. * @param value The allowedValues to set. * @return This builder for chaining. */ - public Builder setAllowedValues( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAllowedValues(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedValuesIsMutable(); allowedValues_.set(index, value); bitField0_ |= 0x00000080; @@ -2255,17 +2514,21 @@ public Builder setAllowedValues( return this; } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @param value The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValues( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedValues(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedValuesIsMutable(); allowedValues_.add(value); bitField0_ |= 0x00000080; @@ -2273,50 +2536,58 @@ public Builder addAllowedValues( return this; } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @param values The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllAllowedValues( - java.lang.Iterable values) { + public Builder addAllAllowedValues(java.lang.Iterable values) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @return This builder for chaining. */ public Builder clearAllowedValues() { - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080);; + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + ; onChanged(); return this; } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @param value The bytes of the allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValuesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAllowedValuesIsMutable(); allowedValues_.add(value); @@ -2327,24 +2598,33 @@ public Builder addAllowedValuesBytes( private com.google.protobuf.DoubleValue minValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> minValueBuilder_; + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder> + minValueBuilder_; /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
* * .google.protobuf.DoubleValue min_value = 9; + * * @return Whether the minValue field is set. */ public boolean hasMinValue() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
* * .google.protobuf.DoubleValue min_value = 9; + * * @return The minValue. */ public com.google.protobuf.DoubleValue getMinValue() { @@ -2355,6 +2635,8 @@ public com.google.protobuf.DoubleValue getMinValue() { } } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2375,14 +2657,15 @@ public Builder setMinValue(com.google.protobuf.DoubleValue value) { return this; } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
* * .google.protobuf.DoubleValue min_value = 9; */ - public Builder setMinValue( - com.google.protobuf.DoubleValue.Builder builderForValue) { + public Builder setMinValue(com.google.protobuf.DoubleValue.Builder builderForValue) { if (minValueBuilder_ == null) { minValue_ = builderForValue.build(); } else { @@ -2393,6 +2676,8 @@ public Builder setMinValue( return this; } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2401,9 +2686,9 @@ public Builder setMinValue( */ public Builder mergeMinValue(com.google.protobuf.DoubleValue value) { if (minValueBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - minValue_ != null && - minValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && minValue_ != null + && minValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { getMinValueBuilder().mergeFrom(value); } else { minValue_ = value; @@ -2418,6 +2703,8 @@ public Builder mergeMinValue(com.google.protobuf.DoubleValue value) { return this; } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2435,6 +2722,8 @@ public Builder clearMinValue() { return this; } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2447,6 +2736,8 @@ public com.google.protobuf.DoubleValue.Builder getMinValueBuilder() { return getMinValueFieldBuilder().getBuilder(); } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2457,11 +2748,12 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { if (minValueBuilder_ != null) { return minValueBuilder_.getMessageOrBuilder(); } else { - return minValue_ == null ? - com.google.protobuf.DoubleValue.getDefaultInstance() : minValue_; + return minValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : minValue_; } } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2469,14 +2761,17 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { * .google.protobuf.DoubleValue min_value = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder> getMinValueFieldBuilder() { if (minValueBuilder_ == null) { - minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( - getMinValue(), - getParentForChildren(), - isClean()); + minValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder>( + getMinValue(), getParentForChildren(), isClean()); minValue_ = null; } return minValueBuilder_; @@ -2484,24 +2779,33 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { private com.google.protobuf.DoubleValue maxValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> maxValueBuilder_; + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder> + maxValueBuilder_; /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
* * .google.protobuf.DoubleValue max_value = 10; + * * @return Whether the maxValue field is set. */ public boolean hasMaxValue() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
* * .google.protobuf.DoubleValue max_value = 10; + * * @return The maxValue. */ public com.google.protobuf.DoubleValue getMaxValue() { @@ -2512,6 +2816,8 @@ public com.google.protobuf.DoubleValue getMaxValue() { } } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2532,14 +2838,15 @@ public Builder setMaxValue(com.google.protobuf.DoubleValue value) { return this; } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
* * .google.protobuf.DoubleValue max_value = 10; */ - public Builder setMaxValue( - com.google.protobuf.DoubleValue.Builder builderForValue) { + public Builder setMaxValue(com.google.protobuf.DoubleValue.Builder builderForValue) { if (maxValueBuilder_ == null) { maxValue_ = builderForValue.build(); } else { @@ -2550,6 +2857,8 @@ public Builder setMaxValue( return this; } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2558,9 +2867,9 @@ public Builder setMaxValue( */ public Builder mergeMaxValue(com.google.protobuf.DoubleValue value) { if (maxValueBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - maxValue_ != null && - maxValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && maxValue_ != null + && maxValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { getMaxValueBuilder().mergeFrom(value); } else { maxValue_ = value; @@ -2575,6 +2884,8 @@ public Builder mergeMaxValue(com.google.protobuf.DoubleValue value) { return this; } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2592,6 +2903,8 @@ public Builder clearMaxValue() { return this; } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2604,6 +2917,8 @@ public com.google.protobuf.DoubleValue.Builder getMaxValueBuilder() { return getMaxValueFieldBuilder().getBuilder(); } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2614,11 +2929,12 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { if (maxValueBuilder_ != null) { return maxValueBuilder_.getMessageOrBuilder(); } else { - return maxValue_ == null ? - com.google.protobuf.DoubleValue.getDefaultInstance() : maxValue_; + return maxValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxValue_; } } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2626,39 +2942,51 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { * .google.protobuf.DoubleValue max_value = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder> getMaxValueFieldBuilder() { if (maxValueBuilder_ == null) { - maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( - getMaxValue(), - getParentForChildren(), - isClean()); + maxValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder>( + getMaxValue(), getParentForChildren(), isClean()); maxValue_ = null; } return maxValueBuilder_; } private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { - fields_ = new java.util.ArrayList(fields_); + fields_ = + new java.util.ArrayList( + fields_); bitField0_ |= 0x00000400; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> fieldsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + fieldsBuilder_; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public java.util.List getFieldsList() { + public java.util.List + getFieldsList() { if (fieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(fields_); } else { @@ -2666,6 +2994,8 @@ public java.util.List * Deprecated. This field has no effect. *
@@ -2680,6 +3010,8 @@ public int getFieldsCount() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2694,6 +3026,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getFields(i } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2715,6 +3049,8 @@ public Builder setFields( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2722,7 +3058,8 @@ public Builder setFields( * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ public Builder setFields( - int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.set(index, builderForValue.build()); @@ -2733,6 +3070,8 @@ public Builder setFields( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2753,6 +3092,8 @@ public Builder addFields(com.google.cloud.bigquery.datatransfer.v1.DataSourcePar return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2774,6 +3115,8 @@ public Builder addFields( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2792,6 +3135,8 @@ public Builder addFields( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2799,7 +3144,8 @@ public Builder addFields( * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ public Builder addFields( - int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(index, builderForValue.build()); @@ -2810,6 +3156,8 @@ public Builder addFields( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2817,11 +3165,11 @@ public Builder addFields( * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ public Builder addAllFields( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); @@ -2829,6 +3177,8 @@ public Builder addAllFields( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2846,6 +3196,8 @@ public Builder clearFields() { return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2863,6 +3215,8 @@ public Builder removeFields(int index) { return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2874,28 +3228,34 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder get return getFieldsFieldBuilder().getBuilder(index); } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getFieldsOrBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder + getFieldsOrBuilder(int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); } else { + return fields_.get(index); + } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -2903,17 +3263,23 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder ge } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addFieldsBuilder() { - return getFieldsFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder + addFieldsBuilder() { + return getFieldsFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2922,30 +3288,37 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder add */ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addFieldsBuilder( int index) { - return getFieldsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( - fields_, - ((bitField0_ & 0x00000400) != 0), - getParentForChildren(), - isClean()); + fieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( + fields_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; @@ -2953,19 +3326,21 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder add private java.lang.Object validationDescription_ = ""; /** + * + * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; + * * @return The validationDescription. */ public java.lang.String getValidationDescription() { java.lang.Object ref = validationDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationDescription_ = s; return s; @@ -2974,21 +3349,22 @@ public java.lang.String getValidationDescription() { } } /** + * + * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; + * * @return The bytes for validationDescription. */ - public com.google.protobuf.ByteString - getValidationDescriptionBytes() { + public com.google.protobuf.ByteString getValidationDescriptionBytes() { java.lang.Object ref = validationDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); validationDescription_ = b; return b; } else { @@ -2996,30 +3372,37 @@ public java.lang.String getValidationDescription() { } } /** + * + * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; + * * @param value The validationDescription to set. * @return This builder for chaining. */ - public Builder setValidationDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValidationDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } validationDescription_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; + * * @return This builder for chaining. */ public Builder clearValidationDescription() { @@ -3029,18 +3412,22 @@ public Builder clearValidationDescription() { return this; } /** + * + * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; + * * @param value The bytes for validationDescription to set. * @return This builder for chaining. */ - public Builder setValidationDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValidationDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); validationDescription_ = value; bitField0_ |= 0x00000800; @@ -3050,18 +3437,20 @@ public Builder setValidationDescriptionBytes( private java.lang.Object validationHelpUrl_ = ""; /** + * + * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; + * * @return The validationHelpUrl. */ public java.lang.String getValidationHelpUrl() { java.lang.Object ref = validationHelpUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationHelpUrl_ = s; return s; @@ -3070,20 +3459,21 @@ public java.lang.String getValidationHelpUrl() { } } /** + * + * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; + * * @return The bytes for validationHelpUrl. */ - public com.google.protobuf.ByteString - getValidationHelpUrlBytes() { + public com.google.protobuf.ByteString getValidationHelpUrlBytes() { java.lang.Object ref = validationHelpUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); validationHelpUrl_ = b; return b; } else { @@ -3091,28 +3481,35 @@ public java.lang.String getValidationHelpUrl() { } } /** + * + * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; + * * @param value The validationHelpUrl to set. * @return This builder for chaining. */ - public Builder setValidationHelpUrl( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValidationHelpUrl(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } validationHelpUrl_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; + * * @return This builder for chaining. */ public Builder clearValidationHelpUrl() { @@ -3122,17 +3519,21 @@ public Builder clearValidationHelpUrl() { return this; } /** + * + * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; + * * @param value The bytes for validationHelpUrl to set. * @return This builder for chaining. */ - public Builder setValidationHelpUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValidationHelpUrlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); validationHelpUrl_ = value; bitField0_ |= 0x00001000; @@ -3140,13 +3541,16 @@ public Builder setValidationHelpUrlBytes( return this; } - private boolean immutable_ ; + private boolean immutable_; /** + * + * *
      * Cannot be changed after initial creation.
      * 
* * bool immutable = 14; + * * @return The immutable. */ @java.lang.Override @@ -3154,11 +3558,14 @@ public boolean getImmutable() { return immutable_; } /** + * + * *
      * Cannot be changed after initial creation.
      * 
* * bool immutable = 14; + * * @param value The immutable to set. * @return This builder for chaining. */ @@ -3170,11 +3577,14 @@ public Builder setImmutable(boolean value) { return this; } /** + * + * *
      * Cannot be changed after initial creation.
      * 
* * bool immutable = 14; + * * @return This builder for chaining. */ public Builder clearImmutable() { @@ -3184,13 +3594,16 @@ public Builder clearImmutable() { return this; } - private boolean recurse_ ; + private boolean recurse_; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * bool recurse = 15; + * * @return The recurse. */ @java.lang.Override @@ -3198,11 +3611,14 @@ public boolean getRecurse() { return recurse_; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * bool recurse = 15; + * * @param value The recurse to set. * @return This builder for chaining. */ @@ -3214,11 +3630,14 @@ public Builder setRecurse(boolean value) { return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * bool recurse = 15; + * * @return This builder for chaining. */ public Builder clearRecurse() { @@ -3228,14 +3647,17 @@ public Builder clearRecurse() { return this; } - private boolean deprecated_ ; + private boolean deprecated_; /** + * + * *
      * If true, it should not be used in new transfers, and it should not be
      * visible to users.
      * 
* * bool deprecated = 20; + * * @return The deprecated. */ @java.lang.Override @@ -3243,12 +3665,15 @@ public boolean getDeprecated() { return deprecated_; } /** + * + * *
      * If true, it should not be used in new transfers, and it should not be
      * visible to users.
      * 
* * bool deprecated = 20; + * * @param value The deprecated to set. * @return This builder for chaining. */ @@ -3260,12 +3685,15 @@ public Builder setDeprecated(boolean value) { return this; } /** + * + * *
      * If true, it should not be used in new transfers, and it should not be
      * visible to users.
      * 
* * bool deprecated = 20; + * * @return This builder for chaining. */ public Builder clearDeprecated() { @@ -3274,9 +3702,9 @@ public Builder clearDeprecated() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3286,12 +3714,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) - private static final com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter(); } @@ -3300,27 +3729,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSourceParameter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSourceParameter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3335,6 +3764,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java similarity index 82% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java index cb041b83968a..b8c2f8951b38 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java @@ -1,192 +1,258 @@ +/* + * 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; -public interface DataSourceParameterOrBuilder extends +public interface DataSourceParameterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Parameter identifier.
    * 
* * string param_id = 1; + * * @return The paramId. */ java.lang.String getParamId(); /** + * + * *
    * Parameter identifier.
    * 
* * string param_id = 1; + * * @return The bytes for paramId. */ - com.google.protobuf.ByteString - getParamIdBytes(); + com.google.protobuf.ByteString getParamIdBytes(); /** + * + * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Parameter description.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Parameter description.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @return The type. */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType(); /** + * + * *
    * Is parameter required.
    * 
* * bool required = 5; + * * @return The required. */ boolean getRequired(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * bool repeated = 6; + * * @return The repeated. */ boolean getRepeated(); /** + * + * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; + * * @return The validationRegex. */ java.lang.String getValidationRegex(); /** + * + * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; + * * @return The bytes for validationRegex. */ - com.google.protobuf.ByteString - getValidationRegexBytes(); + com.google.protobuf.ByteString getValidationRegexBytes(); /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @return A list containing the allowedValues. */ - java.util.List - getAllowedValuesList(); + java.util.List getAllowedValuesList(); /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @return The count of allowedValues. */ int getAllowedValuesCount(); /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ java.lang.String getAllowedValues(int index); /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - com.google.protobuf.ByteString - getAllowedValuesBytes(int index); + com.google.protobuf.ByteString getAllowedValuesBytes(int index); /** + * + * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; + * * @return Whether the minValue field is set. */ boolean hasMinValue(); /** + * + * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; + * * @return The minValue. */ com.google.protobuf.DoubleValue getMinValue(); /** + * + * *
    * For integer and double values specifies minimum allowed value.
    * 
@@ -196,24 +262,32 @@ public interface DataSourceParameterOrBuilder extends com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder(); /** + * + * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; + * * @return Whether the maxValue field is set. */ boolean hasMaxValue(); /** + * + * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; + * * @return The maxValue. */ com.google.protobuf.DoubleValue getMaxValue(); /** + * + * *
    * For integer and double values specifies maximum allowed value.
    * 
@@ -223,15 +297,18 @@ public interface DataSourceParameterOrBuilder extends com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - java.util.List - getFieldsList(); + java.util.List getFieldsList(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -240,6 +317,8 @@ public interface DataSourceParameterOrBuilder extends */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getFields(int index); /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -248,15 +327,19 @@ public interface DataSourceParameterOrBuilder extends */ int getFieldsCount(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -267,74 +350,93 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getFields int index); /** + * + * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; + * * @return The validationDescription. */ java.lang.String getValidationDescription(); /** + * + * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; + * * @return The bytes for validationDescription. */ - com.google.protobuf.ByteString - getValidationDescriptionBytes(); + com.google.protobuf.ByteString getValidationDescriptionBytes(); /** + * + * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; + * * @return The validationHelpUrl. */ java.lang.String getValidationHelpUrl(); /** + * + * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; + * * @return The bytes for validationHelpUrl. */ - com.google.protobuf.ByteString - getValidationHelpUrlBytes(); + com.google.protobuf.ByteString getValidationHelpUrlBytes(); /** + * + * *
    * Cannot be changed after initial creation.
    * 
* * bool immutable = 14; + * * @return The immutable. */ boolean getImmutable(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * bool recurse = 15; + * * @return The recurse. */ boolean getRecurse(); /** + * + * *
    * If true, it should not be used in new transfers, and it should not be
    * visible to users.
    * 
* * bool deprecated = 20; + * * @return The deprecated. */ boolean getDeprecated(); 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 new file mode 100644 index 000000000000..9d7e1008d342 --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java @@ -0,0 +1,694 @@ +/* + * 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; + +public final class DataTransferProto { + private DataTransferProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + 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; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n8google/cloud/bigquery/datatransfer/v1/" + + "datatransfer.proto\022%google.cloud.bigquer" + + "y.datatransfer.v1\032\034google/api/annotation" + + "s.proto\032\027google/api/client.proto\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\0324google/cloud/bigquery/data" + + "transfer/v1/transfer.proto\032\036google/proto" + + "buf/duration.proto\032\033google/protobuf/empt" + + "y.proto\032 google/protobuf/field_mask.prot" + + "o\032\037google/protobuf/timestamp.proto\032\036goog" + + "le/protobuf/wrappers.proto\"\217\005\n\023DataSourc" + + "eParameter\022\020\n\010param_id\030\001 \001(\t\022\024\n\014display_" + + "name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022M\n\004type\030" + + "\004 \001(\0162?.google.cloud.bigquery.datatransf" + + "er.v1.DataSourceParameter.Type\022\020\n\010requir" + + "ed\030\005 \001(\010\022\020\n\010repeated\030\006 \001(\010\022\030\n\020validation" + + "_regex\030\007 \001(\t\022\026\n\016allowed_values\030\010 \003(\t\022/\n\t" + + "min_value\030\t \001(\0132\034.google.protobuf.Double" + + "Value\022/\n\tmax_value\030\n \001(\0132\034.google.protob" + + "uf.DoubleValue\022J\n\006fields\030\013 \003(\0132:.google." + + "cloud.bigquery.datatransfer.v1.DataSourc" + + "eParameter\022\036\n\026validation_description\030\014 \001" + + "(\t\022\033\n\023validation_help_url\030\r \001(\t\022\021\n\timmut" + + "able\030\016 \001(\010\022\017\n\007recurse\030\017 \001(\010\022\022\n\ndeprecate" + + "d\030\024 \001(\010\"s\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n" + + "\006STRING\020\001\022\013\n\007INTEGER\020\002\022\n\n\006DOUBLE\020\003\022\013\n\007BO" + + "OLEAN\020\004\022\n\n\006RECORD\020\005\022\r\n\tPLUS_PAGE\020\006\022\010\n\004LI" + + "ST\020\007\"\234\t\n\nDataSource\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\026" + + "\n\016data_source_id\030\002 \001(\t\022\024\n\014display_name\030\003" + + " \001(\t\022\023\n\013description\030\004 \001(\t\022\021\n\tclient_id\030\005" + + " \001(\t\022\016\n\006scopes\030\006 \003(\t\022N\n\rtransfer_type\030\007 " + + "\001(\01623.google.cloud.bigquery.datatransfer" + + ".v1.TransferTypeB\002\030\001\022\'\n\033supports_multipl" + + "e_transfers\030\010 \001(\010B\002\030\001\022\037\n\027update_deadline" + + "_seconds\030\t \001(\005\022\030\n\020default_schedule\030\n \001(\t" + + "\022 \n\030supports_custom_schedule\030\013 \001(\010\022N\n\npa" + + "rameters\030\014 \003(\0132:.google.cloud.bigquery.d" + + "atatransfer.v1.DataSourceParameter\022\020\n\010he" + + "lp_url\030\r \001(\t\022_\n\022authorization_type\030\016 \001(\016" + + "2C.google.cloud.bigquery.datatransfer.v1" + + ".DataSource.AuthorizationType\022\\\n\021data_re" + + "fresh_type\030\017 \001(\0162A.google.cloud.bigquery" + + ".datatransfer.v1.DataSource.DataRefreshT" + + "ype\022(\n default_data_refresh_window_days\030" + + "\020 \001(\005\022\034\n\024manual_runs_disabled\030\021 \001(\010\022<\n\031m" + + "inimum_schedule_interval\030\022 \001(\0132\031.google." + + "protobuf.Duration\"\212\001\n\021AuthorizationType\022" + + "\"\n\036AUTHORIZATION_TYPE_UNSPECIFIED\020\000\022\026\n\022A" + + "UTHORIZATION_CODE\020\001\022\"\n\036GOOGLE_PLUS_AUTHO" + + "RIZATION_CODE\020\002\022\025\n\021FIRST_PARTY_OAUTH\020\003\"c" + + "\n\017DataRefreshType\022!\n\035DATA_REFRESH_TYPE_U" + + "NSPECIFIED\020\000\022\022\n\016SLIDING_WINDOW\020\001\022\031\n\025CUST" + + "OM_SLIDING_WINDOW\020\002:\245\001\352A\241\001\n.bigquerydata" + + "transfer.googleapis.com/DataSource\022,proj" + + "ects/{project}/dataSources/{data_source}" + + "\022Aprojects/{project}/locations/{location" + + "}/dataSources/{data_source}\"\\\n\024GetDataSo" + + "urceRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.bigqu" + + "erydatatransfer.googleapis.com/DataSourc" + + "e\"\207\001\n\026ListDataSourcesRequest\022F\n\006parent\030\001" + + " \001(\tB6\340A\002\372A0\022.bigquerydatatransfer.googl" + + "eapis.com/DataSource\022\022\n\npage_token\030\003 \001(\t" + + "\022\021\n\tpage_size\030\004 \001(\005\"\200\001\n\027ListDataSourcesR" + + "esponse\022G\n\014data_sources\030\001 \003(\01321.google.c" + + "loud.bigquery.datatransfer.v1.DataSource" + + "\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\216\002\n\033Creat" + + "eTransferConfigRequest\022J\n\006parent\030\001 \001(\tB:" + + "\340A\002\372A4\0222bigquerydatatransfer.googleapis." + + "com/TransferConfig\022S\n\017transfer_config\030\002 " + + "\001(\01325.google.cloud.bigquery.datatransfer" + + ".v1.TransferConfigB\003\340A\002\022\032\n\022authorization" + + "_code\030\003 \001(\t\022\024\n\014version_info\030\005 \001(\t\022\034\n\024ser" + + "vice_account_name\030\006 \001(\t\"\370\001\n\033UpdateTransf" + + "erConfigRequest\022S\n\017transfer_config\030\001 \001(\013" + + "25.google.cloud.bigquery.datatransfer.v1" + + ".TransferConfigB\003\340A\002\022\032\n\022authorization_co" + + "de\030\003 \001(\t\0224\n\013update_mask\030\004 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\003\340A\002\022\024\n\014version_info\030\005" + + " \001(\t\022\034\n\024service_account_name\030\006 \001(\t\"d\n\030Ge" + + "tTransferConfigRequest\022H\n\004name\030\001 \001(\tB:\340A" + + "\002\372A4\n2bigquerydatatransfer.googleapis.co" + + "m/TransferConfig\"g\n\033DeleteTransferConfig" + + "Request\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bigqueryd" + + "atatransfer.googleapis.com/TransferConfi" + + "g\"V\n\025GetTransferRunRequest\022=\n\004name\030\001 \001(\t" + + "B/\340A\002\372A)\n\'bigquerydatatransfer.googleapi" + + "s.com/Run\"Y\n\030DeleteTransferRunRequest\022=\n" + + "\004name\030\001 \001(\tB/\340A\002\372A)\n\'bigquerydatatransfe" + + "r.googleapis.com/Run\"\250\001\n\032ListTransferCon" + + "figsRequest\022J\n\006parent\030\001 \001(\tB:\340A\002\372A4\0222big" + + "querydatatransfer.googleapis.com/Transfe" + + "rConfig\022\027\n\017data_source_ids\030\002 \003(\t\022\022\n\npage" + + "_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\"\221\001\n\033List" + + "TransferConfigsResponse\022T\n\020transfer_conf" + + "igs\030\001 \003(\01325.google.cloud.bigquery.datatr" + + "ansfer.v1.TransferConfigB\003\340A\003\022\034\n\017next_pa" + + "ge_token\030\002 \001(\tB\003\340A\003\"\336\002\n\027ListTransferRuns" + + "Request\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'bigquer" + + "ydatatransfer.googleapis.com/Run\022D\n\006stat" + + "es\030\002 \003(\01624.google.cloud.bigquery.datatra" + + "nsfer.v1.TransferState\022\022\n\npage_token\030\003 \001" + + "(\t\022\021\n\tpage_size\030\004 \001(\005\022^\n\013run_attempt\030\005 \001" + + "(\0162I.google.cloud.bigquery.datatransfer." + + "v1.ListTransferRunsRequest.RunAttempt\"5\n" + + "\nRunAttempt\022\033\n\027RUN_ATTEMPT_UNSPECIFIED\020\000" + + "\022\n\n\006LATEST\020\001\"\210\001\n\030ListTransferRunsRespons" + + "e\022N\n\rtransfer_runs\030\001 \003(\01322.google.cloud." + + "bigquery.datatransfer.v1.TransferRunB\003\340A" + + "\003\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\340\001\n\027List" + + "TransferLogsRequest\022?\n\006parent\030\001 \001(\tB/\340A\002" + + "\372A)\n\'bigquerydatatransfer.googleapis.com" + + "/Run\022\022\n\npage_token\030\004 \001(\t\022\021\n\tpage_size\030\005 " + + "\001(\005\022]\n\rmessage_types\030\006 \003(\0162F.google.clou" + + "d.bigquery.datatransfer.v1.TransferMessa" + + "ge.MessageSeverity\"\220\001\n\030ListTransferLogsR" + + "esponse\022V\n\021transfer_messages\030\001 \003(\01326.goo" + + "gle.cloud.bigquery.datatransfer.v1.Trans" + + "ferMessageB\003\340A\003\022\034\n\017next_page_token\030\002 \001(\t" + + "B\003\340A\003\"^\n\026CheckValidCredsRequest\022D\n\004name\030" + + "\001 \001(\tB6\340A\002\372A0\n.bigquerydatatransfer.goog" + + "leapis.com/DataSource\"2\n\027CheckValidCreds" + + "Response\022\027\n\017has_valid_creds\030\001 \001(\010\"\321\001\n\033Sc" + + "heduleTransferRunsRequest\022J\n\006parent\030\001 \001(" + + "\tB:\340A\002\372A4\n2bigquerydatatransfer.googleap" + + "is.com/TransferConfig\0223\n\nstart_time\030\002 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\002\0221\n\010en" + + "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\002\"`\n\034ScheduleTransferRunsResponse\022@\n" + + "\004runs\030\001 \003(\01322.google.cloud.bigquery.data" + + "transfer.v1.TransferRun\"\207\003\n\036StartManualT" + + "ransferRunsRequest\022G\n\006parent\030\001 \001(\tB7\372A4\n" + + "2bigquerydatatransfer.googleapis.com/Tra" + + "nsferConfig\022o\n\024requested_time_range\030\003 \001(" + + "\0132O.google.cloud.bigquery.datatransfer.v" + + "1.StartManualTransferRunsRequest.TimeRan" + + "geH\000\0228\n\022requested_run_time\030\004 \001(\0132\032.googl" + + "e.protobuf.TimestampH\000\032i\n\tTimeRange\022.\n\ns" + + "tart_time\030\001 \001(\0132\032.google.protobuf.Timest" + + "amp\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf." + + "TimestampB\006\n\004time\"c\n\037StartManualTransfer" + + "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(\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( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor, + new java.lang.String[] { + "ParamId", + "DisplayName", + "Description", + "Type", + "Required", + "Repeated", + "ValidationRegex", + "AllowedValues", + "MinValue", + "MaxValue", + "Fields", + "ValidationDescription", + "ValidationHelpUrl", + "Immutable", + "Recurse", + "Deprecated", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor, + new java.lang.String[] { + "Name", + "DataSourceId", + "DisplayName", + "Description", + "ClientId", + "Scopes", + "TransferType", + "SupportsMultipleTransfers", + "UpdateDeadlineSeconds", + "DefaultSchedule", + "SupportsCustomSchedule", + "Parameters", + "HelpUrl", + "AuthorizationType", + "DataRefreshType", + "DefaultDataRefreshWindowDays", + "ManualRunsDisabled", + "MinimumScheduleInterval", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageToken", "PageSize", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor, + new java.lang.String[] { + "DataSources", "NextPageToken", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor, + new java.lang.String[] { + "Parent", "TransferConfig", "AuthorizationCode", "VersionInfo", "ServiceAccountName", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor, + new java.lang.String[] { + "TransferConfig", + "AuthorizationCode", + "UpdateMask", + "VersionInfo", + "ServiceAccountName", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor, + new java.lang.String[] { + "Parent", "DataSourceIds", "PageToken", "PageSize", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor, + new java.lang.String[] { + "TransferConfigs", "NextPageToken", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor, + new java.lang.String[] { + "Parent", "States", "PageToken", "PageSize", "RunAttempt", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor, + new java.lang.String[] { + "TransferRuns", "NextPageToken", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageToken", "PageSize", "MessageTypes", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor, + new java.lang.String[] { + "TransferMessages", "NextPageToken", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor, + new java.lang.String[] { + "HasValidCreds", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor, + new java.lang.String[] { + "Parent", "StartTime", "EndTime", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor, + new java.lang.String[] { + "Runs", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor, + new java.lang.String[] { + "Parent", "RequestedTimeRange", "RequestedRunTime", "Time", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor = + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor, + new java.lang.String[] { + "StartTime", "EndTime", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor, + new java.lang.String[] { + "Runs", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor, + 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); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java similarity index 61% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java index 0844d07d9b35..edefaaa7a252 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,6 +20,8 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to delete data transfer information. All associated transfer runs
  * and log messages will be deleted as well.
@@ -12,50 +29,58 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest}
  */
-public final class DeleteTransferConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)
     DeleteTransferConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTransferConfigRequest.newBuilder() to construct.
   private DeleteTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTransferConfigRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTransferConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_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_DeleteTransferConfigRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class,
+            com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -64,31 +89,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -133,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other = + (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,98 +188,105 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest + 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.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest + 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.DeleteTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.DeleteTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to delete data transfer information. All associated transfer runs
    * and log messages will be deleted as well.
@@ -260,33 +294,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)
       com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_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_DeleteTransferConfigRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class,
+              com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -296,14 +330,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -317,13 +353,17 @@ public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest bui
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result =
+          new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result) {
+    private void buildPartial0(
+        com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -334,46 +374,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DeleteTrans
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)other);
+        return mergeFrom(
+            (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other) {
+      if (other
+          == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -405,17 +450,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -425,24 +472,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +503,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +529,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +575,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,41 +612,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -586,9 +660,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java new file mode 100644 index 000000000000..41fe54a384cd --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java @@ -0,0 +1,59 @@ +/* + * 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; + +public interface DeleteTransferConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java similarity index 61% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java index cb0d5ad2ff8d..f3926e0625b4 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,49 +20,56 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to delete data transfer run information.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest} */ -public final class DeleteTransferRunRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTransferRunRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) DeleteTransferRunRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTransferRunRequest.newBuilder() to construct. private DeleteTransferRunRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTransferRunRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTransferRunRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_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_DeleteTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -55,7 +77,10 @@ protected java.lang.Object newInstance(
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -64,14 +89,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -79,17 +105,18 @@ public java.lang.String getName() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other = (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other = + (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,131 +189,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferRunRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest 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.DeleteTransferRunRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferRunRequest 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.DeleteTransferRunRequest 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.DeleteTransferRunRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest 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.DeleteTransferRunRequest + 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.DeleteTransferRunRequest 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.DeleteTransferRunRequest + 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.DeleteTransferRunRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.DeleteTransferRunRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to delete data transfer run information.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_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_DeleteTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,14 +330,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest + .getDefaultInstance(); } @java.lang.Override @@ -317,13 +353,17 @@ public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result = + new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -334,46 +374,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DeleteTrans public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +450,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,10 +472,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -436,14 +486,16 @@ public Builder mergeFrom(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -452,6 +504,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -459,16 +513,17 @@ public java.lang.String getName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -476,6 +531,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -483,19 +540,25 @@ public java.lang.String getName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -503,7 +566,10 @@ public Builder setName(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -513,6 +579,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -520,22 +588,26 @@ public Builder clearName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -545,41 +617,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTransferRunRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTransferRunRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -591,9 +665,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java index d6920d2f3fa5..2bce0e154615 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java @@ -1,14 +1,32 @@ +/* + * 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; -public interface DeleteTransferRunRequestOrBuilder extends +public interface DeleteTransferRunRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -16,11 +34,16 @@ public interface DeleteTransferRunRequestOrBuilder extends
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -28,9 +51,11 @@ public interface DeleteTransferRunRequestOrBuilder extends
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java similarity index 66% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java index 48bd73cfd171..f2dbd56720bf 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,6 +20,8 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Represents preferences for sending email notifications for transfer run
  * events.
@@ -12,46 +29,50 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EmailPreferences}
  */
-public final class EmailPreferences extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class EmailPreferences extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.EmailPreferences)
     EmailPreferencesOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EmailPreferences.newBuilder() to construct.
   private EmailPreferences(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private EmailPreferences() {
-  }
+
+  private EmailPreferences() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EmailPreferences();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class,
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
   }
 
   public static final int ENABLE_FAILURE_EMAIL_FIELD_NUMBER = 1;
   private boolean enableFailureEmail_ = false;
   /**
+   *
+   *
    * 
    * If true, email notifications will be sent on transfer run failures.
    * 
* * bool enable_failure_email = 1; + * * @return The enableFailureEmail. */ @java.lang.Override @@ -60,6 +81,7 @@ public boolean getEnableFailureEmail() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -71,8 +93,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enableFailureEmail_ != false) { output.writeBool(1, enableFailureEmail_); } @@ -86,8 +107,7 @@ public int getSerializedSize() { size = 0; if (enableFailureEmail_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enableFailureEmail_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableFailureEmail_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -97,15 +117,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.EmailPreferences)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences other = (com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) obj; + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences other = + (com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) obj; - if (getEnableFailureEmail() - != other.getEnableFailureEmail()) return false; + if (getEnableFailureEmail() != other.getEnableFailureEmail()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -118,106 +138,111 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_FAILURE_EMAIL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableFailureEmail()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableFailureEmail()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EmailPreferences parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences 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.EmailPreferences parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EmailPreferences 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.EmailPreferences 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.EmailPreferences parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences 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.EmailPreferences 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.EmailPreferences parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.EmailPreferences parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents preferences for sending email notifications for transfer run
    * events.
@@ -225,33 +250,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EmailPreferences}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.EmailPreferences)
       com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class,
+              com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -261,9 +285,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
     }
 
     @java.lang.Override
@@ -282,8 +306,11 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.EmailPreferences result = new com.google.cloud.bigquery.datatransfer.v1.EmailPreferences(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.EmailPreferences result =
+          new com.google.cloud.bigquery.datatransfer.v1.EmailPreferences(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -299,38 +326,39 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EmailPrefer
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EmailPreferences)other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -338,7 +366,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance())
+        return this;
       if (other.getEnableFailureEmail() != false) {
         setEnableFailureEmail(other.getEnableFailureEmail());
       }
@@ -368,17 +397,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enableFailureEmail_ = input.readBool();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enableFailureEmail_ = input.readBool();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -388,15 +419,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean enableFailureEmail_ ;
+    private boolean enableFailureEmail_;
     /**
+     *
+     *
      * 
      * If true, email notifications will be sent on transfer run failures.
      * 
* * bool enable_failure_email = 1; + * * @return The enableFailureEmail. */ @java.lang.Override @@ -404,11 +439,14 @@ public boolean getEnableFailureEmail() { return enableFailureEmail_; } /** + * + * *
      * If true, email notifications will be sent on transfer run failures.
      * 
* * bool enable_failure_email = 1; + * * @param value The enableFailureEmail to set. * @return This builder for chaining. */ @@ -420,11 +458,14 @@ public Builder setEnableFailureEmail(boolean value) { return this; } /** + * + * *
      * If true, email notifications will be sent on transfer run failures.
      * 
* * bool enable_failure_email = 1; + * * @return This builder for chaining. */ public Builder clearEnableFailureEmail() { @@ -433,9 +474,9 @@ public Builder clearEnableFailureEmail() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -445,12 +486,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.EmailPreferences) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.EmailPreferences) private static final com.google.cloud.bigquery.datatransfer.v1.EmailPreferences DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.EmailPreferences(); } @@ -459,27 +500,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EmailPreferences parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EmailPreferences parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -494,6 +535,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java new file mode 100644 index 000000000000..17a2f296f425 --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java @@ -0,0 +1,39 @@ +/* + * 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/transfer.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.datatransfer.v1; + +public interface EmailPreferencesOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EmailPreferences) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * If true, email notifications will be sent on transfer run failures.
+   * 
+ * + * bool enable_failure_email = 1; + * + * @return The enableFailureEmail. + */ + boolean getEnableFailureEmail(); +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java similarity index 64% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java index 03fd8a26aaf4..bc0631101be4 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,53 +20,59 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Represents the encryption configuration for a transfer.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration} */ -public final class EncryptionConfiguration extends - com.google.protobuf.GeneratedMessageV3 implements +public final class EncryptionConfiguration extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) EncryptionConfigurationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EncryptionConfiguration.newBuilder() to construct. private EncryptionConfiguration(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EncryptionConfiguration() { - } + + private EncryptionConfiguration() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EncryptionConfiguration(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); } private int bitField0_; public static final int KMS_KEY_NAME_FIELD_NUMBER = 1; private com.google.protobuf.StringValue kmsKeyName_; /** + * + * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; + * * @return Whether the kmsKeyName field is set. */ @java.lang.Override @@ -59,11 +80,14 @@ public boolean hasKmsKeyName() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; + * * @return The kmsKeyName. */ @java.lang.Override @@ -71,6 +95,8 @@ public com.google.protobuf.StringValue getKmsKeyName() { return kmsKeyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : kmsKeyName_; } /** + * + * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
@@ -83,6 +109,7 @@ public com.google.protobuf.StringValueOrBuilder getKmsKeyNameOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -94,8 +121,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getKmsKeyName()); } @@ -109,8 +135,7 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getKmsKeyName()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getKmsKeyName()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,17 +145,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other = (com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) obj; + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other = + (com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) obj; if (hasKmsKeyName() != other.hasKmsKeyName()) return false; if (hasKmsKeyName()) { - if (!getKmsKeyName() - .equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -153,137 +178,147 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EncryptionConfiguration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration 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.EncryptionConfiguration parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EncryptionConfiguration 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.EncryptionConfiguration 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.EncryptionConfiguration parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration 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.EncryptionConfiguration + 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.EncryptionConfiguration 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.EncryptionConfiguration + 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.EncryptionConfiguration parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.EncryptionConfiguration parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the encryption configuration for a transfer.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.newBuilder() + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getKmsKeyNameFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,13 +332,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance(); } @@ -318,19 +354,21 @@ public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result = new com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result = + new com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.kmsKeyName_ = kmsKeyNameBuilder_ == null - ? kmsKeyName_ - : kmsKeyNameBuilder_.build(); + result.kmsKeyName_ = kmsKeyNameBuilder_ == null ? kmsKeyName_ : kmsKeyNameBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -340,46 +378,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EncryptionC public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance()) + return this; if (other.hasKmsKeyName()) { mergeKmsKeyName(other.getKmsKeyName()); } @@ -409,19 +451,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getKmsKeyNameFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getKmsKeyNameFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -431,38 +473,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.StringValue kmsKeyName_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> kmsKeyNameBuilder_; + com.google.protobuf.StringValue, + com.google.protobuf.StringValue.Builder, + com.google.protobuf.StringValueOrBuilder> + kmsKeyNameBuilder_; /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
* * .google.protobuf.StringValue kms_key_name = 1; + * * @return Whether the kmsKeyName field is set. */ public boolean hasKmsKeyName() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
* * .google.protobuf.StringValue kms_key_name = 1; + * * @return The kmsKeyName. */ public com.google.protobuf.StringValue getKmsKeyName() { if (kmsKeyNameBuilder_ == null) { - return kmsKeyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : kmsKeyName_; + return kmsKeyName_ == null + ? com.google.protobuf.StringValue.getDefaultInstance() + : kmsKeyName_; } else { return kmsKeyNameBuilder_.getMessage(); } } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -483,14 +539,15 @@ public Builder setKmsKeyName(com.google.protobuf.StringValue value) { return this; } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
* * .google.protobuf.StringValue kms_key_name = 1; */ - public Builder setKmsKeyName( - com.google.protobuf.StringValue.Builder builderForValue) { + public Builder setKmsKeyName(com.google.protobuf.StringValue.Builder builderForValue) { if (kmsKeyNameBuilder_ == null) { kmsKeyName_ = builderForValue.build(); } else { @@ -501,6 +558,8 @@ public Builder setKmsKeyName( return this; } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -509,9 +568,9 @@ public Builder setKmsKeyName( */ public Builder mergeKmsKeyName(com.google.protobuf.StringValue value) { if (kmsKeyNameBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - kmsKeyName_ != null && - kmsKeyName_ != com.google.protobuf.StringValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && kmsKeyName_ != null + && kmsKeyName_ != com.google.protobuf.StringValue.getDefaultInstance()) { getKmsKeyNameBuilder().mergeFrom(value); } else { kmsKeyName_ = value; @@ -526,6 +585,8 @@ public Builder mergeKmsKeyName(com.google.protobuf.StringValue value) { return this; } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -543,6 +604,8 @@ public Builder clearKmsKeyName() { return this; } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -555,6 +618,8 @@ public com.google.protobuf.StringValue.Builder getKmsKeyNameBuilder() { return getKmsKeyNameFieldBuilder().getBuilder(); } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -565,11 +630,14 @@ public com.google.protobuf.StringValueOrBuilder getKmsKeyNameOrBuilder() { if (kmsKeyNameBuilder_ != null) { return kmsKeyNameBuilder_.getMessageOrBuilder(); } else { - return kmsKeyName_ == null ? - com.google.protobuf.StringValue.getDefaultInstance() : kmsKeyName_; + return kmsKeyName_ == null + ? com.google.protobuf.StringValue.getDefaultInstance() + : kmsKeyName_; } } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -577,21 +645,24 @@ public com.google.protobuf.StringValueOrBuilder getKmsKeyNameOrBuilder() { * .google.protobuf.StringValue kms_key_name = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> + com.google.protobuf.StringValue, + com.google.protobuf.StringValue.Builder, + com.google.protobuf.StringValueOrBuilder> getKmsKeyNameFieldBuilder() { if (kmsKeyNameBuilder_ == null) { - kmsKeyNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>( - getKmsKeyName(), - getParentForChildren(), - isClean()); + kmsKeyNameBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.StringValue, + com.google.protobuf.StringValue.Builder, + com.google.protobuf.StringValueOrBuilder>( + getKmsKeyName(), getParentForChildren(), isClean()); kmsKeyName_ = null; } return kmsKeyNameBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,41 +672,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) - private static final com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration(); } - public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionConfiguration parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionConfiguration parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -647,9 +720,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java similarity index 61% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java index 09bfa86b2408..59dc206a9a64 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java @@ -1,32 +1,56 @@ +/* + * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface EncryptionConfigurationOrBuilder extends +public interface EncryptionConfigurationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; + * * @return Whether the kmsKeyName field is set. */ boolean hasKmsKeyName(); /** + * + * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; + * * @return The kmsKeyName. */ com.google.protobuf.StringValue getKmsKeyName(); /** + * + * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java similarity index 67% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java index 0adf88874651..ec9b739dcc7b 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,6 +20,8 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to enroll a set of data sources so they are visible in the
  * BigQuery UI's `Transfer` tab.
@@ -12,50 +29,55 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest}
  */
-public final class EnrollDataSourcesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class EnrollDataSourcesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)
     EnrollDataSourcesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EnrollDataSourcesRequest.newBuilder() to construct.
   private EnrollDataSourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private EnrollDataSourcesRequest() {
     name_ = "";
-    dataSourceIds_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EnrollDataSourcesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_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_EnrollDataSourcesRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class,
+            com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.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 @@ -64,29 +86,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -95,41 +117,50 @@ public java.lang.String getName() { } 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 enrolled. 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() { + public com.google.protobuf.ProtocolStringList getDataSourceIdsList() { return dataSourceIds_; } /** + * + * *
    * Data sources that are enrolled. 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 enrolled. 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. */ @@ -137,21 +168,24 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** + * + * *
    * Data sources that are enrolled. 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) { + 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; @@ -163,8 +197,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -199,17 +232,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other = (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other = + (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDataSourceIdsList() - .equals(other.getDataSourceIdsList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDataSourceIdsList().equals(other.getDataSourceIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,98 +265,105 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EnrollDataSourcesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest + 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.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest + 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.EnrollDataSourcesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.EnrollDataSourcesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to enroll a set of data sources so they are visible in the
    * BigQuery UI's `Transfer` tab.
@@ -332,52 +371,53 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)
       com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_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_EnrollDataSourcesRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class,
+              com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       name_ = "";
-      dataSourceIds_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -391,13 +431,17 @@ public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest build(
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result = new com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result =
+          new com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result) {
+    private void buildPartial0(
+        com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -412,46 +456,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EnrollDataS
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)other);
+        return mergeFrom(
+            (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other) {
+      if (other
+          == com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -493,23 +542,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureDataSourceIdsIsMutable();
-              dataSourceIds_.add(s);
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureDataSourceIdsIsMutable();
+                dataSourceIds_.add(s);
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -519,22 +571,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -543,20 +598,21 @@ public java.lang.String getName() { } } /** + * + * *
      * 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -564,28 +620,35 @@ public java.lang.String getName() { } } /** + * + * *
      * 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(); } + 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() { @@ -595,17 +658,21 @@ public Builder clearName() { 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -615,6 +682,7 @@ public Builder setNameBytes( private com.google.protobuf.LazyStringArrayList dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDataSourceIdsIsMutable() { if (!dataSourceIds_.isModifiable()) { dataSourceIds_ = new com.google.protobuf.LazyStringArrayList(dataSourceIds_); @@ -622,38 +690,46 @@ private void ensureDataSourceIdsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Data sources that are enrolled. 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() { + public com.google.protobuf.ProtocolStringList getDataSourceIdsList() { dataSourceIds_.makeImmutable(); return dataSourceIds_; } /** + * + * *
      * Data sources that are enrolled. 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 enrolled. 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. */ @@ -661,33 +737,39 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** + * + * *
      * Data sources that are enrolled. 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) { + public com.google.protobuf.ByteString getDataSourceIdsBytes(int index) { return dataSourceIds_.getByteString(index); } /** + * + * *
      * Data sources that are enrolled. 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(); } + public Builder setDataSourceIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDataSourceIdsIsMutable(); dataSourceIds_.set(index, value); bitField0_ |= 0x00000002; @@ -695,18 +777,22 @@ public Builder setDataSourceIds( return this; } /** + * + * *
      * Data sources that are enrolled. 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(); } + public Builder addDataSourceIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); bitField0_ |= 0x00000002; @@ -714,53 +800,61 @@ public Builder addDataSourceIds( return this; } /** + * + * *
      * Data sources that are enrolled. 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 values) { + public Builder addAllDataSourceIds(java.lang.Iterable values) { ensureDataSourceIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataSourceIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataSourceIds_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Data sources that are enrolled. 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);; + dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Data sources that are enrolled. 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(); } + public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); @@ -768,9 +862,9 @@ public Builder addDataSourceIdsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -780,41 +874,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnrollDataSourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnrollDataSourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,9 +922,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java index 99de948f5797..fde47f99b1d4 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java @@ -1,75 +1,106 @@ +/* + * 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; -public interface EnrollDataSourcesRequestOrBuilder extends +public interface EnrollDataSourcesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * 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(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Data sources that are enrolled. 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 - getDataSourceIdsList(); + java.util.List getDataSourceIdsList(); /** + * + * *
    * Data sources that are enrolled. 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 enrolled. 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 enrolled. 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); + com.google.protobuf.ByteString getDataSourceIdsBytes(int index); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java similarity index 63% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java index 1f38d97d34f4..d4e3c81d326e 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,56 +20,66 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to get data source info.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest} */ -public final class GetDataSourceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataSourceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) GetDataSourceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataSourceRequest.newBuilder() to construct. private GetDataSourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataSourceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataSourceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_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_GetDataSourceRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,31 +88,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest other = (com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest other = + (com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,131 +187,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetDataSourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest 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.GetDataSourceRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetDataSourceRequest 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.GetDataSourceRequest 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.GetDataSourceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest 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.GetDataSourceRequest 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.GetDataSourceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.GetDataSourceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to get data source info.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_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_GetDataSourceRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,13 +326,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance(); } @@ -315,13 +348,17 @@ public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result = new com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result = + new com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,38 +369,39 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetDataSour public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +409,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +443,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,24 +465,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -449,22 +496,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -472,32 +522,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -507,28 +568,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -538,41 +605,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataSourceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataSourceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -584,9 +653,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java new file mode 100644 index 000000000000..0482e8861974 --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java @@ -0,0 +1,59 @@ +/* + * 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; + +public interface GetDataSourceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java similarity index 61% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java index 633b84105904..23cae7d3abe4 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,56 +20,66 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to get data transfer information.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest} */ -public final class GetTransferConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) GetTransferConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTransferConfigRequest.newBuilder() to construct. private GetTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTransferConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTransferConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_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_GetTransferConfigRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,31 +88,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other = + (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,131 +187,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest 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.GetTransferConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferConfigRequest 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.GetTransferConfigRequest 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.GetTransferConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest 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.GetTransferConfigRequest + 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.GetTransferConfigRequest 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.GetTransferConfigRequest + 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.GetTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.GetTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to get data transfer information.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_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_GetTransferConfigRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,14 +328,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest + .getDefaultInstance(); } @java.lang.Override @@ -315,13 +351,17 @@ public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result = + new com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +372,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetTransfer public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +448,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,24 +470,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -449,22 +501,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -472,32 +527,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -507,28 +573,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -538,41 +610,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -584,9 +658,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java new file mode 100644 index 000000000000..a8ea06c2f34d --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java @@ -0,0 +1,59 @@ +/* + * 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; + +public interface GetTransferConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java similarity index 63% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java index 616ae2bf475a..93a5d2636a4c 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,49 +20,56 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to get data transfer run information.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest} */ -public final class GetTransferRunRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTransferRunRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) GetTransferRunRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTransferRunRequest.newBuilder() to construct. private GetTransferRunRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTransferRunRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTransferRunRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_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_GetTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -55,7 +77,10 @@ protected java.lang.Object newInstance(
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -64,14 +89,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -79,17 +105,18 @@ public java.lang.String getName() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other = (com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other = + (com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,131 +189,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferRunRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest 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.GetTransferRunRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferRunRequest 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.GetTransferRunRequest 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.GetTransferRunRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest 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.GetTransferRunRequest 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.GetTransferRunRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.GetTransferRunRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to get data transfer run information.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_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_GetTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,13 +328,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance(); } @@ -317,13 +350,17 @@ public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result = new com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result = + new com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -334,46 +371,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetTransfer public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +446,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,10 +468,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -436,14 +482,16 @@ public Builder mergeFrom(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -452,6 +500,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -459,16 +509,17 @@ public java.lang.String getName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -476,6 +527,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -483,19 +536,25 @@ public java.lang.String getName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -503,7 +562,10 @@ public Builder setName(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -513,6 +575,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -520,22 +584,26 @@ public Builder clearName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -545,41 +613,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTransferRunRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTransferRunRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -591,9 +661,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java index e7f3b36de58d..a0ea3524be87 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java @@ -1,14 +1,32 @@ +/* + * 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; -public interface GetTransferRunRequestOrBuilder extends +public interface GetTransferRunRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -16,11 +34,16 @@ public interface GetTransferRunRequestOrBuilder extends
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -28,9 +51,11 @@ public interface GetTransferRunRequestOrBuilder extends
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java similarity index 67% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java index 60c14fa4b8c0..a085c10a6771 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Request to list supported data sources and their data transfer settings.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest} */ -public final class ListDataSourcesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataSourcesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) ListDataSourcesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataSourcesRequest.newBuilder() to construct. private ListDataSourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataSourcesRequest() { parent_ = ""; pageToken_ = ""; @@ -27,35 +45,42 @@ private ListDataSourcesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataSourcesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_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_ListDataSourcesRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,31 +89,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -97,9 +124,12 @@ public java.lang.String getParent() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -109,6 +139,7 @@ public java.lang.String getParent() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -117,14 +148,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -134,16 +166,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -154,11 +185,14 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -167,6 +201,7 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -205,8 +239,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -216,19 +249,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other = + (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -252,131 +283,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest 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.ListDataSourcesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesRequest 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.ListDataSourcesRequest 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.ListDataSourcesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest 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.ListDataSourcesRequest 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.ListDataSourcesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListDataSourcesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to list supported data sources and their data transfer settings.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_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_ListDataSourcesRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -388,13 +424,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance(); } @@ -409,13 +446,17 @@ public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result = + new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -432,46 +473,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListDataSou public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -511,27 +556,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -541,24 +590,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -567,22 +621,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -590,32 +647,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -625,19 +693,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -647,6 +721,8 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -656,13 +732,13 @@ public Builder setParentBytes(
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -671,6 +747,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -680,15 +758,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -696,6 +773,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -705,18 +784,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -726,6 +809,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -735,6 +819,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -744,12 +830,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; @@ -757,13 +845,16 @@ public Builder setPageTokenBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -771,11 +862,14 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -787,11 +881,14 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -800,9 +897,9 @@ public Builder clearPageSize() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -812,41 +909,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataSourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataSourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -858,9 +957,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java index 6e0c5e34db84..4a0b6f865c99 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java @@ -1,38 +1,65 @@ +/* + * 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; -public interface ListDataSourcesRequestOrBuilder extends +public interface ListDataSourcesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -42,10 +69,13 @@ public interface ListDataSourcesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -55,17 +85,20 @@ public interface ListDataSourcesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java similarity index 72% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java index d2b144b020f1..aa14f721ea6d 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Returns list of supported data sources and their metadata.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse} */ -public final class ListDataSourcesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataSourcesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) ListDataSourcesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataSourcesResponse.newBuilder() to construct. private ListDataSourcesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataSourcesResponse() { dataSources_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,28 +45,32 @@ private ListDataSourcesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataSourcesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_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_ListDataSourcesResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); } public static final int DATA_SOURCES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List dataSources_; /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
@@ -60,6 +82,8 @@ public java.util.List getD return dataSources_; } /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
@@ -67,11 +91,13 @@ public java.util.List getD * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataSourcesOrBuilderList() { return dataSources_; } /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
@@ -83,6 +109,8 @@ public int getDataSourcesCount() { return dataSources_.size(); } /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
@@ -94,6 +122,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSources(int i return dataSources_.get(index); } /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
@@ -107,9 +137,12 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -118,6 +151,7 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -126,14 +160,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -142,16 +177,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dataSources_.size(); i++) { output.writeMessage(1, dataSources_.get(i)); } @@ -189,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataSources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dataSources_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataSources_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other = + (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) obj; - if (!getDataSourcesList() - .equals(other.getDataSourcesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDataSourcesList().equals(other.getDataSourcesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +269,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse 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.ListDataSourcesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesResponse 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.ListDataSourcesResponse 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.ListDataSourcesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse 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.ListDataSourcesResponse + 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.ListDataSourcesResponse 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.ListDataSourcesResponse + 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.ListDataSourcesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListDataSourcesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Returns list of supported data sources and their metadata.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_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_ListDataSourcesResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,13 +417,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance(); } @@ -399,14 +439,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result = + new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { if (dataSourcesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataSources_ = java.util.Collections.unmodifiableList(dataSources_); @@ -418,7 +462,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v } } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,46 +474,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListDataSou public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance()) + return this; if (dataSourcesBuilder_ == null) { if (!other.dataSources_.isEmpty()) { if (dataSources_.isEmpty()) { @@ -487,9 +536,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListDataSourc dataSourcesBuilder_ = null; dataSources_ = other.dataSources_; bitField0_ = (bitField0_ & ~0x00000001); - dataSourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDataSourcesFieldBuilder() : null; + dataSourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDataSourcesFieldBuilder() + : null; } else { dataSourcesBuilder_.addAllMessages(other.dataSources_); } @@ -526,30 +576,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.datatransfer.v1.DataSource m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.DataSource.parser(), - extensionRegistry); - if (dataSourcesBuilder_ == null) { - ensureDataSourcesIsMutable(); - dataSources_.add(m); - } else { - dataSourcesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.bigquery.datatransfer.v1.DataSource m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.DataSource.parser(), + extensionRegistry); + if (dataSourcesBuilder_ == null) { + ensureDataSourcesIsMutable(); + dataSources_.add(m); + } else { + dataSourcesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,28 +612,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List dataSources_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDataSourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataSources_ = new java.util.ArrayList(dataSources_); + dataSources_ = + new java.util.ArrayList( + dataSources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSource, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> dataSourcesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.DataSource, + com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> + dataSourcesBuilder_; /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - public java.util.List getDataSourcesList() { + public java.util.List + getDataSourcesList() { if (dataSourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(dataSources_); } else { @@ -588,6 +651,8 @@ public java.util.List getD } } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -602,6 +667,8 @@ public int getDataSourcesCount() { } } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -616,6 +683,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSources(int i } } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -637,6 +706,8 @@ public Builder setDataSources( return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -655,6 +726,8 @@ public Builder setDataSources( return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -675,6 +748,8 @@ public Builder addDataSources(com.google.cloud.bigquery.datatransfer.v1.DataSour return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -696,6 +771,8 @@ public Builder addDataSources( return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -714,6 +791,8 @@ public Builder addDataSources( return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -732,6 +811,8 @@ public Builder addDataSources( return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -742,8 +823,7 @@ public Builder addAllDataSources( java.lang.Iterable values) { if (dataSourcesBuilder_ == null) { ensureDataSourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataSources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataSources_); onChanged(); } else { dataSourcesBuilder_.addAllMessages(values); @@ -751,6 +831,8 @@ public Builder addAllDataSources( return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -768,6 +850,8 @@ public Builder clearDataSources() { return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -785,6 +869,8 @@ public Builder removeDataSources(int index) { return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -796,6 +882,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder getDataSourc return getDataSourcesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -805,19 +893,22 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder getDataSourc public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBuilder( int index) { if (dataSourcesBuilder_ == null) { - return dataSources_.get(index); } else { + return dataSources_.get(index); + } else { return dataSourcesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - public java.util.List - getDataSourcesOrBuilderList() { + public java.util.List + getDataSourcesOrBuilderList() { if (dataSourcesBuilder_ != null) { return dataSourcesBuilder_.getMessageOrBuilderList(); } else { @@ -825,6 +916,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour } } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -832,10 +925,12 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourcesBuilder() { - return getDataSourcesFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); + return getDataSourcesFieldBuilder() + .addBuilder(com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -844,30 +939,36 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourc */ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourcesBuilder( int index) { - return getDataSourcesFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); + return getDataSourcesFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - public java.util.List - getDataSourcesBuilderList() { + public java.util.List + getDataSourcesBuilderList() { return getDataSourcesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSource, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.DataSource, + com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> getDataSourcesFieldBuilder() { if (dataSourcesBuilder_ == null) { - dataSourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSource, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder>( - dataSources_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + dataSourcesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.DataSource, + com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder>( + dataSources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dataSources_ = null; } return dataSourcesBuilder_; @@ -875,6 +976,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourc private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -883,13 +986,13 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourc
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -898,6 +1001,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -906,15 +1011,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -922,6 +1026,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -930,18 +1036,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -950,6 +1060,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -959,6 +1070,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -967,21 +1080,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,41 +1106,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataSourcesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataSourcesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1154,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java index 34724b45911f..8d3b4d1ac5ad 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * 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; -public interface ListDataSourcesResponseOrBuilder extends +public interface ListDataSourcesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - java.util.List - getDataSourcesList(); + java.util.List getDataSourcesList(); /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
@@ -26,6 +45,8 @@ public interface ListDataSourcesResponseOrBuilder extends */ com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSources(int index); /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
@@ -34,25 +55,30 @@ public interface ListDataSourcesResponseOrBuilder extends */ int getDataSourcesCount(); /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - java.util.List + java.util.List getDataSourcesOrBuilderList(); /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBuilder( - int index); + com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBuilder(int index); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -61,10 +87,13 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBu
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -73,8 +102,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBu
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java similarity index 68% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java index b30b06196e19..a0b68db45243 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,59 +20,68 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to list data transfers configured for a BigQuery project.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest} */ -public final class ListTransferConfigsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTransferConfigsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) ListTransferConfigsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTransferConfigsRequest.newBuilder() to construct. private ListTransferConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTransferConfigsRequest() { parent_ = ""; - dataSourceIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTransferConfigsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_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_ListTransferConfigsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,38 +125,47 @@ public java.lang.String getParent() { } public static final int DATA_SOURCE_IDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; + * * @return A list containing the dataSourceIds. */ - public com.google.protobuf.ProtocolStringList - getDataSourceIdsList() { + public com.google.protobuf.ProtocolStringList getDataSourceIdsList() { return dataSourceIds_; } /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; + * * @return The count of dataSourceIds. */ public int getDataSourceIdsCount() { return dataSourceIds_.size(); } /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; + * * @param index The index of the element to return. * @return The dataSourceIds at the given index. */ @@ -138,23 +173,28 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * 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) { + public com.google.protobuf.ByteString getDataSourceIdsBytes(int index) { return dataSourceIds_.getByteString(index); } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -164,6 +204,7 @@ public java.lang.String getDataSourceIds(int index) {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -172,14 +213,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -189,16 +231,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -209,11 +250,14 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -222,6 +266,7 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +278,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -271,8 +315,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -282,21 +325,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getDataSourceIdsList() - .equals(other.getDataSourceIdsList())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other = + (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getDataSourceIdsList().equals(other.getDataSourceIdsList())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -324,152 +364,160 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest 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.ListTransferConfigsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsRequest 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.ListTransferConfigsRequest 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.ListTransferConfigsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest 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.ListTransferConfigsRequest + 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.ListTransferConfigsRequest 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.ListTransferConfigsRequest + 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.ListTransferConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListTransferConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to list data transfers configured for a BigQuery project.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_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_ListTransferConfigsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; parent_ = ""; - dataSourceIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); pageToken_ = ""; pageSize_ = 0; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest + .getDefaultInstance(); } @java.lang.Override @@ -483,13 +531,17 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest buil @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result = + new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -510,46 +562,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransfe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -599,33 +656,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureDataSourceIdsIsMutable(); - dataSourceIds_.add(s); - break; - } // case 18 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDataSourceIdsIsMutable(); + dataSourceIds_.add(s); + break; + } // case 18 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -635,24 +697,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -661,22 +728,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -684,32 +754,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -719,19 +800,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -741,6 +828,7 @@ public Builder setParentBytes( private com.google.protobuf.LazyStringArrayList dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDataSourceIdsIsMutable() { if (!dataSourceIds_.isModifiable()) { dataSourceIds_ = new com.google.protobuf.LazyStringArrayList(dataSourceIds_); @@ -748,35 +836,43 @@ private void ensureDataSourceIdsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; + * * @return A list containing the dataSourceIds. */ - public com.google.protobuf.ProtocolStringList - getDataSourceIdsList() { + public com.google.protobuf.ProtocolStringList getDataSourceIdsList() { dataSourceIds_.makeImmutable(); return dataSourceIds_; } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; + * * @return The count of dataSourceIds. */ public int getDataSourceIdsCount() { return dataSourceIds_.size(); } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; + * * @param index The index of the element to return. * @return The dataSourceIds at the given index. */ @@ -784,31 +880,37 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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) { + public com.google.protobuf.ByteString getDataSourceIdsBytes(int index) { return dataSourceIds_.getByteString(index); } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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(); } + public Builder setDataSourceIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDataSourceIdsIsMutable(); dataSourceIds_.set(index, value); bitField0_ |= 0x00000002; @@ -816,17 +918,21 @@ public Builder setDataSourceIds( return this; } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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(); } + public Builder addDataSourceIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); bitField0_ |= 0x00000002; @@ -834,50 +940,58 @@ public Builder addDataSourceIds( return this; } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; + * * @param values The dataSourceIds to add. * @return This builder for chaining. */ - public Builder addAllDataSourceIds( - java.lang.Iterable values) { + public Builder addAllDataSourceIds(java.lang.Iterable values) { ensureDataSourceIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataSourceIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataSourceIds_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; + * * @return This builder for chaining. */ public Builder clearDataSourceIds() { - dataSourceIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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(); } + public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); @@ -888,6 +1002,8 @@ public Builder addDataSourceIdsBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -897,13 +1013,13 @@ public Builder addDataSourceIdsBytes(
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -912,6 +1028,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -921,15 +1039,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -937,6 +1054,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -946,18 +1065,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -967,6 +1090,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -976,6 +1100,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -985,12 +1111,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -998,13 +1126,16 @@ public Builder setPageTokenBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1012,11 +1143,14 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1028,11 +1162,14 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1041,9 +1178,9 @@ public Builder clearPageSize() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1053,41 +1190,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferConfigsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferConfigsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1099,9 +1238,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java index d64042310a6c..8dd0c1b478d1 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java @@ -1,79 +1,116 @@ +/* + * 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; -public interface ListTransferConfigsRequestOrBuilder extends +public interface ListTransferConfigsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; + * * @return A list containing the dataSourceIds. */ - java.util.List - getDataSourceIdsList(); + java.util.List getDataSourceIdsList(); /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; + * * @return The count of dataSourceIds. */ int getDataSourceIdsCount(); /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * 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); /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * 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); + com.google.protobuf.ByteString getDataSourceIdsBytes(int index); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -83,10 +120,13 @@ public interface ListTransferConfigsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -96,17 +136,20 @@ public interface ListTransferConfigsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java similarity index 62% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java index d5d381e1b328..cd105c609638 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * The returned list of pipelines in the project.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse} */ -public final class ListTransferConfigsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTransferConfigsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) ListTransferConfigsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTransferConfigsResponse.newBuilder() to construct. private ListTransferConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTransferConfigsResponse() { transferConfigs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,89 +45,115 @@ private ListTransferConfigsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTransferConfigsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_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_ListTransferConfigsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); } public static final int TRANSFER_CONFIGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List transferConfigs_; /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getTransferConfigsList() { + public java.util.List + getTransferConfigsList() { return transferConfigs_; } /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getTransferConfigsOrBuilderList() { return transferConfigs_; } /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getTransferConfigsCount() { return transferConfigs_.size(); } /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfigs(int index) { return transferConfigs_.get(index); } /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigsOrBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder + getTransferConfigsOrBuilder(int index) { return transferConfigs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -118,6 +162,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -126,14 +171,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -142,16 +188,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +205,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < transferConfigs_.size(); i++) { output.writeMessage(1, transferConfigs_.get(i)); } @@ -189,8 +234,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, transferConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +247,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other = + (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) obj; - if (!getTransferConfigsList() - .equals(other.getTransferConfigsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTransferConfigsList().equals(other.getTransferConfigsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +280,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse 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.ListTransferConfigsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsResponse 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.ListTransferConfigsResponse 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.ListTransferConfigsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse 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.ListTransferConfigsResponse + 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.ListTransferConfigsResponse 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.ListTransferConfigsResponse + 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.ListTransferConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListTransferConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The returned list of pipelines in the project.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_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_ListTransferConfigsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,14 +428,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + .getDefaultInstance(); } @java.lang.Override @@ -399,14 +451,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse bui @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result = + new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { if (transferConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { transferConfigs_ = java.util.Collections.unmodifiableList(transferConfigs_); @@ -418,7 +474,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v } } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,46 +486,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransfe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + .getDefaultInstance()) return this; if (transferConfigsBuilder_ == null) { if (!other.transferConfigs_.isEmpty()) { if (transferConfigs_.isEmpty()) { @@ -487,9 +549,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferC transferConfigsBuilder_ = null; transferConfigs_ = other.transferConfigs_; bitField0_ = (bitField0_ & ~0x00000001); - transferConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTransferConfigsFieldBuilder() : null; + transferConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTransferConfigsFieldBuilder() + : null; } else { transferConfigsBuilder_.addAllMessages(other.transferConfigs_); } @@ -526,30 +589,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.datatransfer.v1.TransferConfig m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.parser(), - extensionRegistry); - if (transferConfigsBuilder_ == null) { - ensureTransferConfigsIsMutable(); - transferConfigs_.add(m); - } else { - transferConfigsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.bigquery.datatransfer.v1.TransferConfig m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.parser(), + extensionRegistry); + if (transferConfigsBuilder_ == null) { + ensureTransferConfigsIsMutable(); + transferConfigs_.add(m); + } else { + transferConfigsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,28 +625,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List transferConfigs_ = - java.util.Collections.emptyList(); + private java.util.List + transferConfigs_ = java.util.Collections.emptyList(); + private void ensureTransferConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferConfigs_ = new java.util.ArrayList(transferConfigs_); + transferConfigs_ = + new java.util.ArrayList( + transferConfigs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> transferConfigsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + transferConfigsBuilder_; /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getTransferConfigsList() { + public java.util.List + getTransferConfigsList() { if (transferConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(transferConfigs_); } else { @@ -588,11 +666,15 @@ public java.util.List } } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getTransferConfigsCount() { if (transferConfigsBuilder_ == null) { @@ -602,11 +684,15 @@ public int getTransferConfigsCount() { } } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfigs(int index) { if (transferConfigsBuilder_ == null) { @@ -616,11 +702,15 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi } } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTransferConfigs( int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { @@ -637,14 +727,19 @@ public Builder setTransferConfigs( return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTransferConfigs( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { if (transferConfigsBuilder_ == null) { ensureTransferConfigsIsMutable(); transferConfigs_.set(index, builderForValue.build()); @@ -655,13 +750,18 @@ public Builder setTransferConfigs( return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder addTransferConfigs( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -675,11 +775,15 @@ public Builder addTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.Tran return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferConfigs( int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { @@ -696,11 +800,15 @@ public Builder addTransferConfigs( return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferConfigs( com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { @@ -714,14 +822,19 @@ public Builder addTransferConfigs( return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferConfigs( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { if (transferConfigsBuilder_ == null) { ensureTransferConfigsIsMutable(); transferConfigs_.add(index, builderForValue.build()); @@ -732,18 +845,22 @@ public Builder addTransferConfigs( return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllTransferConfigs( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (transferConfigsBuilder_ == null) { ensureTransferConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, transferConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferConfigs_); onChanged(); } else { transferConfigsBuilder_.addAllMessages(values); @@ -751,11 +868,15 @@ public Builder addAllTransferConfigs( return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTransferConfigs() { if (transferConfigsBuilder_ == null) { @@ -768,11 +889,15 @@ public Builder clearTransferConfigs() { return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeTransferConfigs(int index) { if (transferConfigsBuilder_ == null) { @@ -785,39 +910,53 @@ public Builder removeTransferConfigs(int index) { return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder getTransferConfigsBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder + getTransferConfigsBuilder(int index) { return getTransferConfigsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigsOrBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder + getTransferConfigsOrBuilder(int index) { if (transferConfigsBuilder_ == null) { - return transferConfigs_.get(index); } else { + return transferConfigs_.get(index); + } else { return transferConfigsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTransferConfigsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + getTransferConfigsOrBuilderList() { if (transferConfigsBuilder_ != null) { return transferConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -825,45 +964,66 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran } } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder addTransferConfigsBuilder() { - return getTransferConfigsFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder + addTransferConfigsBuilder() { + return getTransferConfigsFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder addTransferConfigsBuilder( - int index) { - return getTransferConfigsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder + addTransferConfigsBuilder(int index) { + return getTransferConfigsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTransferConfigsBuilderList() { + public java.util.List + getTransferConfigsBuilderList() { return getTransferConfigsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> getTransferConfigsFieldBuilder() { if (transferConfigsBuilder_ == null) { - transferConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( + transferConfigsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( transferConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -875,6 +1035,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder addTrans private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -883,13 +1045,13 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder addTrans
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -898,6 +1060,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -906,15 +1070,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -922,6 +1085,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -930,18 +1095,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -950,6 +1119,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -959,6 +1129,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -967,21 +1139,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,41 +1165,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferConfigsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferConfigsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1213,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java index a5421827d475..e860a8617300 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java @@ -1,58 +1,95 @@ +/* + * 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; -public interface ListTransferConfigsResponseOrBuilder extends +public interface ListTransferConfigsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getTransferConfigsList(); + java.util.List getTransferConfigsList(); /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfigs(int index); /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getTransferConfigsCount(); /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getTransferConfigsOrBuilderList(); /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigsOrBuilder( int index); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -61,10 +98,13 @@ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferCon
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -73,8 +113,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferCon
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java similarity index 65% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java index 551e5a547230..6298b8237c29 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to get user facing log messages associated with data transfer run.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest} */ -public final class ListTransferLogsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTransferLogsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) ListTransferLogsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTransferLogsRequest.newBuilder() to construct. private ListTransferLogsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTransferLogsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,35 +46,42 @@ private ListTransferLogsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTransferLogsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_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_ListTransferLogsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,9 +125,12 @@ public java.lang.String getParent() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -110,6 +140,7 @@ public java.lang.String getParent() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -118,14 +149,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -135,16 +167,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -155,11 +186,14 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_ = 0; /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -168,38 +202,62 @@ public int getPageSize() { } public static final int MESSAGE_TYPES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private java.util.List messageTypes_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity> messageTypes_converter_ = + java.lang.Integer, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity> + messageTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>() { - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity convert(java.lang.Integer from) { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber(from); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED : result; + java.lang.Integer, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>() { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity + convert(java.lang.Integer from) { + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity + .forNumber(from); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity + .UNRECOGNIZED + : result; } }; /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return A list containing the messageTypes. */ @java.lang.Override - public java.util.List getMessageTypesList() { + public java.util.List + getMessageTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>(messageTypes_, messageTypes_converter_); + java.lang.Integer, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>( + messageTypes_, messageTypes_converter_); } /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return The count of messageTypes. */ @java.lang.Override @@ -207,40 +265,55 @@ public int getMessageTypesCount() { return messageTypes_.size(); } /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index of the element to return. * @return The messageTypes at the given index. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes( + int index) { return messageTypes_converter_.convert(messageTypes_.get(index)); } /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return A list containing the enum numeric values on the wire for messageTypes. */ @java.lang.Override - public java.util.List - getMessageTypesValueList() { + public java.util.List getMessageTypesValueList() { return messageTypes_; } /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of messageTypes at the given index. */ @@ -248,9 +321,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity public int getMessageTypesValue(int index) { return messageTypes_.get(index); } + private int messageTypesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +337,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -297,20 +371,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_); } { int dataSize = 0; for (int i = 0; i < messageTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(messageTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(messageTypes_.get(i)); } size += dataSize; - if (!getMessageTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }messageTypesMemoizedSerializedSize = dataSize; + if (!getMessageTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + messageTypesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -320,19 +394,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other = + (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (!messageTypes_.equals(other.messageTypes_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -361,131 +433,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest 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.ListTransferLogsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsRequest 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.ListTransferLogsRequest 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.ListTransferLogsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest 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.ListTransferLogsRequest + 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.ListTransferLogsRequest 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.ListTransferLogsRequest + 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.ListTransferLogsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListTransferLogsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to get user facing log messages associated with data transfer run.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_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_ListTransferLogsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -499,13 +578,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance(); } @@ -520,14 +600,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result = + new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { if (((bitField0_ & 0x00000008) != 0)) { messageTypes_ = java.util.Collections.unmodifiableList(messageTypes_); bitField0_ = (bitField0_ & ~0x00000008); @@ -535,7 +619,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v result.messageTypes_ = messageTypes_; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -552,46 +637,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransfe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -641,44 +730,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 34: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 34 - case 40: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 40 - case 48: { - int tmpRaw = input.readEnum(); - ensureMessageTypesIsMutable(); - messageTypes_.add(tmpRaw); - break; - } // case 48 - case 50: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 34 + case 40: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 40 + case 48: + { int tmpRaw = input.readEnum(); ensureMessageTypesIsMutable(); messageTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 48 + case 50: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureMessageTypesIsMutable(); + messageTypes_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -688,24 +783,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -714,22 +814,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -737,32 +840,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -772,19 +886,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -794,6 +914,8 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -803,13 +925,13 @@ public Builder setParentBytes(
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -818,6 +940,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -827,15 +951,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -843,6 +966,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -852,18 +977,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -873,6 +1002,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -882,6 +1012,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -891,12 +1023,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; @@ -904,13 +1038,16 @@ public Builder setPageTokenBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -918,11 +1055,14 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 5; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -934,11 +1074,14 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 5; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -948,8 +1091,8 @@ public Builder clearPageSize() { return this; } - private java.util.List messageTypes_ = - java.util.Collections.emptyList(); + private java.util.List messageTypes_ = java.util.Collections.emptyList(); + private void ensureMessageTypesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { messageTypes_ = new java.util.ArrayList(messageTypes_); @@ -957,56 +1100,81 @@ private void ensureMessageTypesIsMutable() { } } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return A list containing the messageTypes. */ - public java.util.List getMessageTypesList() { + public java.util.List + getMessageTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>(messageTypes_, messageTypes_converter_); + java.lang.Integer, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>( + messageTypes_, messageTypes_converter_); } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return The count of messageTypes. */ public int getMessageTypesCount() { return messageTypes_.size(); } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index of the element to return. * @return The messageTypes at the given index. */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity + getMessageTypes(int index) { return messageTypes_converter_.convert(messageTypes_.get(index)); } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index to set the value at. * @param value The messageTypes to set. * @return This builder for chaining. */ public Builder setMessageTypes( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { + int index, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { if (value == null) { throw new NullPointerException(); } @@ -1016,16 +1184,22 @@ public Builder setMessageTypes( return this; } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param value The messageTypes to add. * @return This builder for chaining. */ - public Builder addMessageTypes(com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { + public Builder addMessageTypes( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { if (value == null) { throw new NullPointerException(); } @@ -1035,31 +1209,44 @@ public Builder addMessageTypes(com.google.cloud.bigquery.datatransfer.v1.Transfe return this; } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param values The messageTypes to add. * @return This builder for chaining. */ public Builder addAllMessageTypes( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity> + values) { ensureMessageTypesIsMutable(); - for (com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value : values) { + for (com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value : + values) { messageTypes_.add(value.getNumber()); } onChanged(); return this; } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return This builder for chaining. */ public Builder clearMessageTypes() { @@ -1069,25 +1256,34 @@ public Builder clearMessageTypes() { return this; } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return A list containing the enum numeric values on the wire for messageTypes. */ - public java.util.List - getMessageTypesValueList() { + public java.util.List getMessageTypesValueList() { return java.util.Collections.unmodifiableList(messageTypes_); } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of messageTypes at the given index. */ @@ -1095,30 +1291,39 @@ public int getMessageTypesValue(int index) { return messageTypes_.get(index); } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for messageTypes to set. * @return This builder for chaining. */ - public Builder setMessageTypesValue( - int index, int value) { + public Builder setMessageTypesValue(int index, int value) { ensureMessageTypesIsMutable(); messageTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param value The enum numeric value on the wire for messageTypes to add. * @return This builder for chaining. */ @@ -1129,17 +1334,21 @@ public Builder addMessageTypesValue(int value) { return this; } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param values The enum numeric values on the wire for messageTypes to add. * @return This builder for chaining. */ - public Builder addAllMessageTypesValue( - java.lang.Iterable values) { + public Builder addAllMessageTypesValue(java.lang.Iterable values) { ensureMessageTypesIsMutable(); for (int value : values) { messageTypes_.add(value); @@ -1147,9 +1356,9 @@ public Builder addAllMessageTypesValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1159,41 +1368,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferLogsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferLogsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1205,9 +1416,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java index ac328bd5f25d..c1f81c9eca98 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java @@ -1,38 +1,65 @@ +/* + * 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; -public interface ListTransferLogsRequestOrBuilder extends +public interface ListTransferLogsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -42,10 +69,13 @@ public interface ListTransferLogsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -55,70 +85,99 @@ public interface ListTransferLogsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return A list containing the messageTypes. */ - java.util.List getMessageTypesList(); + java.util.List + getMessageTypesList(); /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return The count of messageTypes. */ int getMessageTypesCount(); /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index of the element to return. * @return The messageTypes at the given index. */ - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes(int index); + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes( + int index); /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return A list containing the enum numeric values on the wire for messageTypes. */ - java.util.List - getMessageTypesValueList(); + java.util.List getMessageTypesValueList(); /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of messageTypes at the given index. */ diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java similarity index 62% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java index 84ea5d2a7f55..e5c856f18b85 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * The returned list transfer run messages.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse} */ -public final class ListTransferLogsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTransferLogsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) ListTransferLogsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTransferLogsResponse.newBuilder() to construct. private ListTransferLogsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTransferLogsResponse() { transferMessages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,89 +45,117 @@ private ListTransferLogsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTransferLogsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_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_ListTransferLogsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); } public static final int TRANSFER_MESSAGES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List transferMessages_; + private java.util.List + transferMessages_; /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getTransferMessagesList() { + public java.util.List + getTransferMessagesList() { return transferMessages_; } /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> getTransferMessagesOrBuilderList() { return transferMessages_; } /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getTransferMessagesCount() { return transferMessages_.size(); } /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages(int index) { return transferMessages_.get(index); } /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMessagesOrBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder + getTransferMessagesOrBuilder(int index) { return transferMessages_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -118,6 +164,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTra
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -126,14 +173,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -142,16 +190,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +207,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +219,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < transferMessages_.size(); i++) { output.writeMessage(1, transferMessages_.get(i)); } @@ -189,8 +236,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferMessages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, transferMessages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferMessages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +249,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other = + (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) obj; - if (!getTransferMessagesList() - .equals(other.getTransferMessagesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTransferMessagesList().equals(other.getTransferMessagesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +282,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse 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.ListTransferLogsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsResponse 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.ListTransferLogsResponse 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.ListTransferLogsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse 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.ListTransferLogsResponse + 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.ListTransferLogsResponse 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.ListTransferLogsResponse + 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.ListTransferLogsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListTransferLogsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The returned list transfer run messages.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_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_ListTransferLogsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,14 +430,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse + .getDefaultInstance(); } @java.lang.Override @@ -399,14 +453,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result = + new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { if (transferMessagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { transferMessages_ = java.util.Collections.unmodifiableList(transferMessages_); @@ -418,7 +476,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v } } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,46 +488,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransfe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse + .getDefaultInstance()) return this; if (transferMessagesBuilder_ == null) { if (!other.transferMessages_.isEmpty()) { if (transferMessages_.isEmpty()) { @@ -487,9 +551,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferL transferMessagesBuilder_ = null; transferMessages_ = other.transferMessages_; bitField0_ = (bitField0_ & ~0x00000001); - transferMessagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTransferMessagesFieldBuilder() : null; + transferMessagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTransferMessagesFieldBuilder() + : null; } else { transferMessagesBuilder_.addAllMessages(other.transferMessages_); } @@ -526,30 +591,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.parser(), - extensionRegistry); - if (transferMessagesBuilder_ == null) { - ensureTransferMessagesIsMutable(); - transferMessages_.add(m); - } else { - transferMessagesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.bigquery.datatransfer.v1.TransferMessage m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.parser(), + extensionRegistry); + if (transferMessagesBuilder_ == null) { + ensureTransferMessagesIsMutable(); + transferMessages_.add(m); + } else { + transferMessagesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,28 +627,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List transferMessages_ = - java.util.Collections.emptyList(); + private java.util.List + transferMessages_ = java.util.Collections.emptyList(); + private void ensureTransferMessagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferMessages_ = new java.util.ArrayList(transferMessages_); + transferMessages_ = + new java.util.ArrayList( + transferMessages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferMessage, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> transferMessagesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferMessage, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> + transferMessagesBuilder_; /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getTransferMessagesList() { + public java.util.List + getTransferMessagesList() { if (transferMessagesBuilder_ == null) { return java.util.Collections.unmodifiableList(transferMessages_); } else { @@ -588,11 +668,15 @@ public java.util.List } } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getTransferMessagesCount() { if (transferMessagesBuilder_ == null) { @@ -602,13 +686,18 @@ public int getTransferMessagesCount() { } } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages( + int index) { if (transferMessagesBuilder_ == null) { return transferMessages_.get(index); } else { @@ -616,11 +705,15 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMess } } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTransferMessages( int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { @@ -637,14 +730,19 @@ public Builder setTransferMessages( return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTransferMessages( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { if (transferMessagesBuilder_ == null) { ensureTransferMessagesIsMutable(); transferMessages_.set(index, builderForValue.build()); @@ -655,13 +753,18 @@ public Builder setTransferMessages( return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addTransferMessages(com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { + public Builder addTransferMessages( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { if (transferMessagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -675,11 +778,15 @@ public Builder addTransferMessages(com.google.cloud.bigquery.datatransfer.v1.Tra return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferMessages( int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { @@ -696,11 +803,15 @@ public Builder addTransferMessages( return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferMessages( com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { @@ -714,14 +825,19 @@ public Builder addTransferMessages( return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferMessages( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { if (transferMessagesBuilder_ == null) { ensureTransferMessagesIsMutable(); transferMessages_.add(index, builderForValue.build()); @@ -732,18 +848,22 @@ public Builder addTransferMessages( return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllTransferMessages( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (transferMessagesBuilder_ == null) { ensureTransferMessagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, transferMessages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferMessages_); onChanged(); } else { transferMessagesBuilder_.addAllMessages(values); @@ -751,11 +871,15 @@ public Builder addAllTransferMessages( return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTransferMessages() { if (transferMessagesBuilder_ == null) { @@ -768,11 +892,15 @@ public Builder clearTransferMessages() { return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeTransferMessages(int index) { if (transferMessagesBuilder_ == null) { @@ -785,39 +913,53 @@ public Builder removeTransferMessages(int index) { return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder getTransferMessagesBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder + getTransferMessagesBuilder(int index) { return getTransferMessagesFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMessagesOrBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder + getTransferMessagesOrBuilder(int index) { if (transferMessagesBuilder_ == null) { - return transferMessages_.get(index); } else { + return transferMessages_.get(index); + } else { return transferMessagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTransferMessagesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> + getTransferMessagesOrBuilderList() { if (transferMessagesBuilder_ != null) { return transferMessagesBuilder_.getMessageOrBuilderList(); } else { @@ -825,45 +967,67 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTra } } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder addTransferMessagesBuilder() { - return getTransferMessagesFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder + addTransferMessagesBuilder() { + return getTransferMessagesFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder addTransferMessagesBuilder( - int index) { - return getTransferMessagesFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder + addTransferMessagesBuilder(int index) { + return getTransferMessagesFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTransferMessagesBuilderList() { + public java.util.List + getTransferMessagesBuilderList() { return getTransferMessagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferMessage, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferMessage, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> getTransferMessagesFieldBuilder() { if (transferMessagesBuilder_ == null) { - transferMessagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferMessage, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder>( + transferMessagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferMessage, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder>( transferMessages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -875,6 +1039,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder addTran private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -883,13 +1049,13 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder addTran
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -898,6 +1064,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -906,15 +1074,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -922,6 +1089,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -930,18 +1099,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -950,6 +1123,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -959,6 +1133,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -967,21 +1143,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,41 +1169,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferLogsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferLogsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1217,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java index 2e3c0bdb30d5..b373aa1ef5fb 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java @@ -1,58 +1,96 @@ +/* + * 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; -public interface ListTransferLogsResponseOrBuilder extends +public interface ListTransferLogsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getTransferMessagesList(); /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages(int index); /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getTransferMessagesCount(); /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getTransferMessagesOrBuilderList(); /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMessagesOrBuilder( int index); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -61,10 +99,13 @@ com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMe
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -73,8 +114,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMe
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java similarity index 69% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java index fc8b3fafa007..99913d8a9223 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to list data transfer runs.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest} */ -public final class ListTransferRunsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTransferRunsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) ListTransferRunsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTransferRunsRequest.newBuilder() to construct. private ListTransferRunsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTransferRunsRequest() { parent_ = ""; states_ = java.util.Collections.emptyList(); @@ -29,34 +47,38 @@ private ListTransferRunsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTransferRunsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_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_ListTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); } /** + * + * *
    * Represents which runs should be pulled.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt} */ - public enum RunAttempt - implements com.google.protobuf.ProtocolMessageEnum { + public enum RunAttempt implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * All runs should be returned.
      * 
@@ -65,6 +87,8 @@ public enum RunAttempt */ RUN_ATTEMPT_UNSPECIFIED(0), /** + * + * *
      * Only latest run per day should be returned.
      * 
@@ -76,6 +100,8 @@ public enum RunAttempt ; /** + * + * *
      * All runs should be returned.
      * 
@@ -84,6 +110,8 @@ public enum RunAttempt */ public static final int RUN_ATTEMPT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Only latest run per day should be returned.
      * 
@@ -92,7 +120,6 @@ public enum RunAttempt */ public static final int LATEST_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -117,48 +144,49 @@ public static RunAttempt valueOf(int value) { */ public static RunAttempt forNumber(int value) { switch (value) { - case 0: return RUN_ATTEMPT_UNSPECIFIED; - case 1: return LATEST; - default: return null; + case 0: + return RUN_ATTEMPT_UNSPECIFIED; + case 1: + return LATEST; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RunAttempt> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RunAttempt findValueByNumber(int number) { - return RunAttempt.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RunAttempt findValueByNumber(int number) { + return RunAttempt.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDescriptor() + .getEnumTypes() + .get(0); } private static final RunAttempt[] VALUES = values(); - public static RunAttempt valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RunAttempt valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -176,9 +204,12 @@ private RunAttempt(int value) { } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -186,7 +217,10 @@ private RunAttempt(int value) {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -195,14 +229,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -210,17 +245,18 @@ public java.lang.String getParent() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -229,36 +265,50 @@ public java.lang.String getParent() { } public static final int STATES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List states_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState> states_converter_ = + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState> + states_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>() { - public com.google.cloud.bigquery.datatransfer.v1.TransferState convert(java.lang.Integer from) { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(from); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; + public com.google.cloud.bigquery.datatransfer.v1.TransferState convert( + java.lang.Integer from) { + com.google.cloud.bigquery.datatransfer.v1.TransferState result = + com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(from); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED + : result; } }; /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return A list containing the states. */ @java.lang.Override public java.util.List getStatesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>(states_, states_converter_); + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>( + states_, states_converter_); } /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return The count of states. */ @java.lang.Override @@ -266,11 +316,14 @@ public int getStatesCount() { return states_.size(); } /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index of the element to return. * @return The states at the given index. */ @@ -279,24 +332,29 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int ind return states_converter_.convert(states_.get(index)); } /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return A list containing the enum numeric values on the wire for states. */ @java.lang.Override - public java.util.List - getStatesValueList() { + public java.util.List getStatesValueList() { return states_; } /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of states at the given index. */ @@ -304,12 +362,16 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int ind public int getStatesValue(int index) { return states_.get(index); } + private int statesMemoizedSerializedSize; public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -319,6 +381,7 @@ public int getStatesValue(int index) {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -327,14 +390,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -344,16 +408,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -364,11 +427,14 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -379,30 +445,48 @@ public int getPageSize() { public static final int RUN_ATTEMPT_FIELD_NUMBER = 5; private int runAttempt_ = 0; /** + * + * *
    * Indicates how run attempts are to be pulled.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @return The enum numeric value on the wire for runAttempt. */ - @java.lang.Override public int getRunAttemptValue() { + @java.lang.Override + public int getRunAttemptValue() { return runAttempt_; } /** + * + * *
    * Indicates how run attempts are to be pulled.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @return The runAttempt. */ - @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt getRunAttempt() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber(runAttempt_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt + getRunAttempt() { + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber( + runAttempt_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -414,8 +498,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -433,7 +516,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (pageSize_ != 0) { output.writeInt32(4, pageSize_); } - if (runAttempt_ != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.RUN_ATTEMPT_UNSPECIFIED.getNumber()) { + if (runAttempt_ + != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt + .RUN_ATTEMPT_UNSPECIFIED + .getNumber()) { output.writeEnum(5, runAttempt_); } getUnknownFields().writeTo(output); @@ -451,25 +537,26 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < states_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(states_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(states_.get(i)); } size += dataSize; - if (!getStatesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }statesMemoizedSerializedSize = dataSize; + if (!getStatesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + statesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } - if (runAttempt_ != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.RUN_ATTEMPT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, runAttempt_); + if (runAttempt_ + != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt + .RUN_ATTEMPT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, runAttempt_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -479,20 +566,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other = + (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!states_.equals(other.states_)) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (runAttempt_ != other.runAttempt_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -523,131 +608,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest 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.ListTransferRunsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsRequest 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.ListTransferRunsRequest 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.ListTransferRunsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest 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.ListTransferRunsRequest + 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.ListTransferRunsRequest 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.ListTransferRunsRequest + 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.ListTransferRunsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListTransferRunsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to list data transfer runs.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_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_ListTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -662,13 +754,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance(); } @@ -683,14 +776,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result = + new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { if (((bitField0_ & 0x00000002) != 0)) { states_ = java.util.Collections.unmodifiableList(states_); bitField0_ = (bitField0_ & ~0x00000002); @@ -698,7 +795,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v result.states_ = states_; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -718,46 +816,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransfe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -810,49 +912,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - int tmpRaw = input.readEnum(); - ensureStatesIsMutable(); - states_.add(tmpRaw); - break; - } // case 16 - case 18: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { int tmpRaw = input.readEnum(); ensureStatesIsMutable(); states_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 18 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - runAttempt_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 16 + case 18: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureStatesIsMutable(); + states_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 18 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + runAttempt_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -862,10 +971,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -873,14 +985,16 @@ public Builder mergeFrom(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -889,6 +1003,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -896,16 +1012,17 @@ public java.lang.String getParent() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -913,6 +1030,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -920,19 +1039,25 @@ public java.lang.String getParent() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -940,7 +1065,10 @@ public Builder setParent(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -950,6 +1078,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -957,13 +1087,17 @@ public Builder clearParent() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -971,8 +1105,8 @@ public Builder setParentBytes( return this; } - private java.util.List states_ = - java.util.Collections.emptyList(); + private java.util.List states_ = java.util.Collections.emptyList(); + private void ensureStatesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { states_ = new java.util.ArrayList(states_); @@ -980,34 +1114,44 @@ private void ensureStatesIsMutable() { } } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return A list containing the states. */ public java.util.List getStatesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>(states_, states_converter_); + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>( + states_, states_converter_); } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return The count of states. */ public int getStatesCount() { return states_.size(); } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index of the element to return. * @return The states at the given index. */ @@ -1015,11 +1159,14 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int ind return states_converter_.convert(states_.get(index)); } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index to set the value at. * @param value The states to set. * @return This builder for chaining. @@ -1035,11 +1182,14 @@ public Builder setStates( return this; } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param value The states to add. * @return This builder for chaining. */ @@ -1053,16 +1203,20 @@ public Builder addStates(com.google.cloud.bigquery.datatransfer.v1.TransferState return this; } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param values The states to add. * @return This builder for chaining. */ public Builder addAllStates( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureStatesIsMutable(); for (com.google.cloud.bigquery.datatransfer.v1.TransferState value : values) { states_.add(value.getNumber()); @@ -1071,11 +1225,14 @@ public Builder addAllStates( return this; } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return This builder for chaining. */ public Builder clearStates() { @@ -1085,23 +1242,28 @@ public Builder clearStates() { return this; } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return A list containing the enum numeric values on the wire for states. */ - public java.util.List - getStatesValueList() { + public java.util.List getStatesValueList() { return java.util.Collections.unmodifiableList(states_); } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of states at the given index. */ @@ -1109,28 +1271,33 @@ public int getStatesValue(int index) { return states_.get(index); } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for states to set. * @return This builder for chaining. */ - public Builder setStatesValue( - int index, int value) { + public Builder setStatesValue(int index, int value) { ensureStatesIsMutable(); states_.set(index, value); onChanged(); return this; } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param value The enum numeric value on the wire for states to add. * @return This builder for chaining. */ @@ -1141,16 +1308,18 @@ public Builder addStatesValue(int value) { return this; } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param values The enum numeric values on the wire for states to add. * @return This builder for chaining. */ - public Builder addAllStatesValue( - java.lang.Iterable values) { + public Builder addAllStatesValue(java.lang.Iterable values) { ensureStatesIsMutable(); for (int value : values) { states_.add(value); @@ -1161,6 +1330,8 @@ public Builder addAllStatesValue( private java.lang.Object pageToken_ = ""; /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1170,13 +1341,13 @@ public Builder addAllStatesValue(
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1185,6 +1356,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1194,15 +1367,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1210,6 +1382,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1219,18 +1393,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1240,6 +1418,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1249,6 +1428,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1258,12 +1439,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1271,13 +1454,16 @@ public Builder setPageTokenBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1285,11 +1471,14 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1301,11 +1490,14 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1317,22 +1509,33 @@ public Builder clearPageSize() { private int runAttempt_ = 0; /** + * + * *
      * Indicates how run attempts are to be pulled.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @return The enum numeric value on the wire for runAttempt. */ - @java.lang.Override public int getRunAttemptValue() { + @java.lang.Override + public int getRunAttemptValue() { return runAttempt_; } /** + * + * *
      * Indicates how run attempts are to be pulled.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @param value The enum numeric value on the wire for runAttempt to set. * @return This builder for chaining. */ @@ -1343,28 +1546,45 @@ public Builder setRunAttemptValue(int value) { return this; } /** + * + * *
      * Indicates how run attempts are to be pulled.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @return The runAttempt. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt getRunAttempt() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber(runAttempt_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.UNRECOGNIZED : result; + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt + getRunAttempt() { + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber( + runAttempt_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt + .UNRECOGNIZED + : result; } /** + * + * *
      * Indicates how run attempts are to be pulled.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @param value The runAttempt to set. * @return This builder for chaining. */ - public Builder setRunAttempt(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt value) { + public Builder setRunAttempt( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt value) { if (value == null) { throw new NullPointerException(); } @@ -1374,11 +1594,16 @@ public Builder setRunAttempt(com.google.cloud.bigquery.datatransfer.v1.ListTrans return this; } /** + * + * *
      * Indicates how run attempts are to be pulled.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @return This builder for chaining. */ public Builder clearRunAttempt() { @@ -1387,9 +1612,9 @@ public Builder clearRunAttempt() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1399,41 +1624,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferRunsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferRunsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1445,9 +1672,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java index fc167c71853b..86f082b0c7b0 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java @@ -1,14 +1,32 @@ +/* + * 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; -public interface ListTransferRunsRequestOrBuilder extends +public interface ListTransferRunsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -16,11 +34,16 @@ public interface ListTransferRunsRequestOrBuilder extends
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -28,62 +51,80 @@ public interface ListTransferRunsRequestOrBuilder extends
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return A list containing the states. */ java.util.List getStatesList(); /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return The count of states. */ int getStatesCount(); /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index of the element to return. * @return The states at the given index. */ com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int index); /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return A list containing the enum numeric values on the wire for states. */ - java.util.List - getStatesValueList(); + java.util.List getStatesValueList(); /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of states at the given index. */ int getStatesValue(int index); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -93,10 +134,13 @@ public interface ListTransferRunsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -106,36 +150,49 @@ public interface ListTransferRunsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Indicates how run attempts are to be pulled.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @return The enum numeric value on the wire for runAttempt. */ int getRunAttemptValue(); /** + * + * *
    * Indicates how run attempts are to be pulled.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @return The runAttempt. */ com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt getRunAttempt(); diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java similarity index 63% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java index 446cf8bf1248..32bacfa64182 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * The returned list of pipelines in the project.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse} */ -public final class ListTransferRunsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTransferRunsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) ListTransferRunsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTransferRunsResponse.newBuilder() to construct. private ListTransferRunsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTransferRunsResponse() { transferRuns_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,78 +45,101 @@ private ListTransferRunsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTransferRunsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_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_ListTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); } public static final int TRANSFER_RUNS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List transferRuns_; /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getTransferRunsList() { + public java.util.List + getTransferRunsList() { return transferRuns_; } /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getTransferRunsOrBuilderList() { return transferRuns_; } /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getTransferRunsCount() { return transferRuns_.size(); } /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int index) { return transferRuns_.get(index); } /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOrBuilder( @@ -107,9 +148,12 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransfe } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -118,6 +162,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransfe
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -126,14 +171,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -142,16 +188,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +205,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < transferRuns_.size(); i++) { output.writeMessage(1, transferRuns_.get(i)); } @@ -189,8 +234,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferRuns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, transferRuns_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferRuns_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +247,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other = + (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) obj; - if (!getTransferRunsList() - .equals(other.getTransferRunsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTransferRunsList().equals(other.getTransferRunsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +280,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse 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.ListTransferRunsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsResponse 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.ListTransferRunsResponse 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.ListTransferRunsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse 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.ListTransferRunsResponse + 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.ListTransferRunsResponse 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.ListTransferRunsResponse + 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.ListTransferRunsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListTransferRunsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The returned list of pipelines in the project.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_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_ListTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,14 +428,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse + .getDefaultInstance(); } @java.lang.Override @@ -399,14 +451,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result = + new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { if (transferRunsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { transferRuns_ = java.util.Collections.unmodifiableList(transferRuns_); @@ -418,7 +474,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v } } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,46 +486,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransfe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse + .getDefaultInstance()) return this; if (transferRunsBuilder_ == null) { if (!other.transferRuns_.isEmpty()) { if (transferRuns_.isEmpty()) { @@ -487,9 +549,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferR transferRunsBuilder_ = null; transferRuns_ = other.transferRuns_; bitField0_ = (bitField0_ & ~0x00000001); - transferRunsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTransferRunsFieldBuilder() : null; + transferRunsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTransferRunsFieldBuilder() + : null; } else { transferRunsBuilder_.addAllMessages(other.transferRuns_); } @@ -526,30 +589,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.datatransfer.v1.TransferRun m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), - extensionRegistry); - if (transferRunsBuilder_ == null) { - ensureTransferRunsIsMutable(); - transferRuns_.add(m); - } else { - transferRunsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.bigquery.datatransfer.v1.TransferRun m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), + extensionRegistry); + if (transferRunsBuilder_ == null) { + ensureTransferRunsIsMutable(); + transferRuns_.add(m); + } else { + transferRunsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,28 +625,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List transferRuns_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTransferRunsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferRuns_ = new java.util.ArrayList(transferRuns_); + transferRuns_ = + new java.util.ArrayList( + transferRuns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> transferRunsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + transferRunsBuilder_; /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getTransferRunsList() { + public java.util.List + getTransferRunsList() { if (transferRunsBuilder_ == null) { return java.util.Collections.unmodifiableList(transferRuns_); } else { @@ -588,11 +666,15 @@ public java.util.List get } } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getTransferRunsCount() { if (transferRunsBuilder_ == null) { @@ -602,11 +684,15 @@ public int getTransferRunsCount() { } } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int index) { if (transferRunsBuilder_ == null) { @@ -616,11 +702,15 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int } } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { @@ -637,11 +727,15 @@ public Builder setTransferRuns( return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder builderForValue) { @@ -655,11 +749,15 @@ public Builder setTransferRuns( return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferRuns(com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (transferRunsBuilder_ == null) { @@ -675,11 +773,15 @@ public Builder addTransferRuns(com.google.cloud.bigquery.datatransfer.v1.Transfe return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { @@ -696,11 +798,15 @@ public Builder addTransferRuns( return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferRuns( com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder builderForValue) { @@ -714,11 +820,15 @@ public Builder addTransferRuns( return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder builderForValue) { @@ -732,18 +842,22 @@ public Builder addTransferRuns( return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllTransferRuns( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (transferRunsBuilder_ == null) { ensureTransferRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, transferRuns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferRuns_); onChanged(); } else { transferRunsBuilder_.addAllMessages(values); @@ -751,11 +865,15 @@ public Builder addAllTransferRuns( return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTransferRuns() { if (transferRunsBuilder_ == null) { @@ -768,11 +886,15 @@ public Builder clearTransferRuns() { return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeTransferRuns(int index) { if (transferRunsBuilder_ == null) { @@ -785,39 +907,52 @@ public Builder removeTransferRuns(int index) { return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getTransferRunsBuilder( int index) { return getTransferRunsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOrBuilder( int index) { if (transferRunsBuilder_ == null) { - return transferRuns_.get(index); } else { + return transferRuns_.get(index); + } else { return transferRunsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTransferRunsOrBuilderList() { + public java.util.List + getTransferRunsOrBuilderList() { if (transferRunsBuilder_ != null) { return transferRunsBuilder_.getMessageOrBuilderList(); } else { @@ -825,49 +960,65 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransfe } } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransferRunsBuilder() { - return getTransferRunsFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getTransferRunsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransferRunsBuilder( int index) { - return getTransferRunsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getTransferRunsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTransferRunsBuilderList() { + public java.util.List + getTransferRunsBuilderList() { return getTransferRunsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> getTransferRunsFieldBuilder() { if (transferRunsBuilder_ == null) { - transferRunsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( - transferRuns_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + transferRunsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( + transferRuns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); transferRuns_ = null; } return transferRunsBuilder_; @@ -875,6 +1026,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransfer private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -883,13 +1036,13 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransfer
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -898,6 +1051,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -906,15 +1061,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -922,6 +1076,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -930,18 +1086,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -950,6 +1110,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -959,6 +1120,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -967,21 +1130,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,41 +1156,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferRunsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferRunsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1204,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java index a3ebd3673892..441f7eb074c7 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java @@ -1,58 +1,95 @@ +/* + * 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; -public interface ListTransferRunsResponseOrBuilder extends +public interface ListTransferRunsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getTransferRunsList(); + java.util.List getTransferRunsList(); /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int index); /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getTransferRunsCount(); /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getTransferRunsOrBuilderList(); /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOrBuilder( int index); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -61,10 +98,13 @@ com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOr
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -73,8 +113,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOr
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java similarity index 76% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java index 68a2e3729f98..e1a4c80d4b90 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,48 +20,53 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Options customizing the data transfer schedule.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleOptions} */ -public final class ScheduleOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ScheduleOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ScheduleOptions) ScheduleOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ScheduleOptions.newBuilder() to construct. private ScheduleOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ScheduleOptions() { - } + + private ScheduleOptions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ScheduleOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); } private int bitField0_; public static final int DISABLE_AUTO_SCHEDULING_FIELD_NUMBER = 3; private boolean disableAutoScheduling_ = false; /** + * + * *
    * If true, automatic scheduling of data transfer runs for this configuration
    * will be disabled. The runs can be started on ad-hoc basis using
@@ -55,6 +75,7 @@ protected java.lang.Object newInstance(
    * 
* * bool disable_auto_scheduling = 3; + * * @return The disableAutoScheduling. */ @java.lang.Override @@ -65,6 +86,8 @@ public boolean getDisableAutoScheduling() { public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -74,6 +97,7 @@ public boolean getDisableAutoScheduling() {
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -81,6 +105,8 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -90,6 +116,7 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -97,6 +124,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -115,6 +144,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp endTime_;
   /**
+   *
+   *
    * 
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -123,6 +154,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -130,6 +162,8 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -138,6 +172,7 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -145,6 +180,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -160,6 +197,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -171,8 +209,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getStartTime());
     }
@@ -192,16 +229,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getStartTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
     }
     if (disableAutoScheduling_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(3, disableAutoScheduling_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, disableAutoScheduling_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -211,24 +245,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions other = (com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) obj;
+    com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions other =
+        (com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) obj;
 
-    if (getDisableAutoScheduling()
-        != other.getDisableAutoScheduling()) return false;
+    if (getDisableAutoScheduling() != other.getDisableAutoScheduling()) return false;
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime()
-          .equals(other.getStartTime())) return false;
+      if (!getStartTime().equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -242,8 +274,7 @@ public int hashCode() {
     int hash = 41;
     hash = (19 * hash) + getDescriptor().hashCode();
     hash = (37 * hash) + DISABLE_AUTO_SCHEDULING_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getDisableAutoScheduling());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableAutoScheduling());
     if (hasStartTime()) {
       hash = (37 * hash) + START_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getStartTime().hashCode();
@@ -258,119 +289,127 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleOptions parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions 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.ScheduleOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleOptions 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.ScheduleOptions 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.ScheduleOptions parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions 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.ScheduleOptions 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.ScheduleOptions parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      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.ScheduleOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Options customizing the data transfer schedule.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ScheduleOptions) com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.newBuilder() @@ -378,18 +417,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +448,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; } @java.lang.Override @@ -430,8 +469,11 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions result = new com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions result = + new com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -443,15 +485,11 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleOpt } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -461,38 +499,39 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleOpt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) other); } else { super.mergeFrom(other); return this; @@ -500,7 +539,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) + return this; if (other.getDisableAutoScheduling() != false) { setDisableAutoScheduling(other.getDisableAutoScheduling()); } @@ -536,31 +576,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 24: { - disableAutoScheduling_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 24: + { + disableAutoScheduling_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -570,10 +610,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean disableAutoScheduling_ ; + private boolean disableAutoScheduling_; /** + * + * *
      * If true, automatic scheduling of data transfer runs for this configuration
      * will be disabled. The runs can be started on ad-hoc basis using
@@ -582,6 +625,7 @@ public Builder mergeFrom(
      * 
* * bool disable_auto_scheduling = 3; + * * @return The disableAutoScheduling. */ @java.lang.Override @@ -589,6 +633,8 @@ public boolean getDisableAutoScheduling() { return disableAutoScheduling_; } /** + * + * *
      * If true, automatic scheduling of data transfer runs for this configuration
      * will be disabled. The runs can be started on ad-hoc basis using
@@ -597,6 +643,7 @@ public boolean getDisableAutoScheduling() {
      * 
* * bool disable_auto_scheduling = 3; + * * @param value The disableAutoScheduling to set. * @return This builder for chaining. */ @@ -608,6 +655,8 @@ public Builder setDisableAutoScheduling(boolean value) { return this; } /** + * + * *
      * If true, automatic scheduling of data transfer runs for this configuration
      * will be disabled. The runs can be started on ad-hoc basis using
@@ -616,6 +665,7 @@ public Builder setDisableAutoScheduling(boolean value) {
      * 
* * bool disable_auto_scheduling = 3; + * * @return This builder for chaining. */ public Builder clearDisableAutoScheduling() { @@ -627,8 +677,13 @@ public Builder clearDisableAutoScheduling() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -638,12 +693,15 @@ public Builder clearDisableAutoScheduling() {
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -653,6 +711,7 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -663,6 +722,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -687,6 +748,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -697,8 +760,7 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 1;
      */
-    public Builder setStartTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
       } else {
@@ -709,6 +771,8 @@ public Builder setStartTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -721,9 +785,9 @@ public Builder setStartTime(
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          startTime_ != null &&
-          startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && startTime_ != null
+            && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getStartTimeBuilder().mergeFrom(value);
         } else {
           startTime_ = value;
@@ -738,6 +802,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -759,6 +825,8 @@ public Builder clearStartTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -775,6 +843,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -789,11 +859,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -805,14 +876,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getStartTime(),
-                getParentForChildren(),
-                isClean());
+        startTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getStartTime(), getParentForChildren(), isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -820,8 +894,13 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        endTimeBuilder_;
     /**
+     *
+     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -830,12 +909,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -844,6 +926,7 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -854,6 +937,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -877,6 +962,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -886,8 +973,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -898,6 +984,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -909,9 +997,9 @@ public Builder setEndTime(
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          endTime_ != null &&
-          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && endTime_ != null
+            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -926,6 +1014,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -946,6 +1036,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -961,6 +1053,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -974,11 +1068,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -989,21 +1084,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1013,12 +1111,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ScheduleOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ScheduleOptions)
   private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions();
   }
@@ -1027,27 +1125,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ScheduleOptions parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ScheduleOptions parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1062,6 +1160,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
similarity index 82%
rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
index ad59e6b42933..994416368412 100644
--- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
@@ -1,14 +1,32 @@
+/*
+ * 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/transfer.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.cloud.bigquery.datatransfer.v1;
 
-public interface ScheduleOptionsOrBuilder extends
+public interface ScheduleOptionsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ScheduleOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * If true, automatic scheduling of data transfer runs for this configuration
    * will be disabled. The runs can be started on ad-hoc basis using
@@ -17,11 +35,14 @@ public interface ScheduleOptionsOrBuilder extends
    * 
* * bool disable_auto_scheduling = 3; + * * @return The disableAutoScheduling. */ boolean getDisableAutoScheduling(); /** + * + * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -31,10 +52,13 @@ public interface ScheduleOptionsOrBuilder extends
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -44,10 +68,13 @@ public interface ScheduleOptionsOrBuilder extends
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -61,6 +88,8 @@ public interface ScheduleOptionsOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -69,10 +98,13 @@ public interface ScheduleOptionsOrBuilder extends
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -81,10 +113,13 @@ public interface ScheduleOptionsOrBuilder extends
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
similarity index 67%
rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
index f49fb4abe6d8..ee86a8894747 100644
--- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
@@ -1,3 +1,18 @@
+/*
+ * 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
 
@@ -5,57 +20,67 @@
 package com.google.cloud.bigquery.datatransfer.v1;
 
 /**
+ *
+ *
  * 
  * A request to schedule transfer runs for a time range.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest} */ -public final class ScheduleTransferRunsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ScheduleTransferRunsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) ScheduleTransferRunsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ScheduleTransferRunsRequest.newBuilder() to construct. private ScheduleTransferRunsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ScheduleTransferRunsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ScheduleTransferRunsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_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_ScheduleTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,31 +89,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,12 +126,16 @@ public java.lang.String getParent() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -112,12 +143,16 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startTime. */ @java.lang.Override @@ -125,12 +160,15 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -140,12 +178,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -153,12 +194,15 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The endTime. */ @java.lang.Override @@ -166,6 +210,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
@@ -179,6 +225,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -190,8 +237,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -214,12 +260,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getStartTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -229,24 +273,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) obj;
+    com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other =
+        (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
+    if (!getParent().equals(other.getParent())) return false;
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime()
-          .equals(other.getStartTime())) return false;
+      if (!getStartTime().equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -275,138 +317,148 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleTransferRunsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest
+      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.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest
+      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.ScheduleTransferRunsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      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.ScheduleTransferRunsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A request to schedule transfer runs for a time range.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_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_ScheduleTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,14 +478,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest + .getDefaultInstance(); } @java.lang.Override @@ -447,28 +501,28 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest bui @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result = + new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -478,46 +532,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleTra public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -555,31 +614,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -589,24 +648,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -615,22 +679,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -638,32 +705,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -673,19 +751,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -695,26 +779,37 @@ public Builder setParentBytes( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -725,12 +820,15 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -746,15 +844,17 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -765,18 +865,21 @@ public Builder setStartTime( return this; } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -791,12 +894,15 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -809,12 +915,15 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000002; @@ -822,38 +931,46 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -861,26 +978,37 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -891,12 +1019,15 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -912,15 +1043,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -931,18 +1064,21 @@ public Builder setEndTime( return this; } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -957,12 +1093,15 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -975,12 +1114,15 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -988,45 +1130,53 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1036,41 +1186,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ScheduleTransferRunsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ScheduleTransferRunsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1082,9 +1234,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java index 75d3a40539d3..906f4741dbce 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java @@ -1,88 +1,132 @@ +/* + * 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; -public interface ScheduleTransferRunsRequestOrBuilder extends +public interface ScheduleTransferRunsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
similarity index 67%
rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
index a82b174e6108..399505372a18 100644
--- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
@@ -1,3 +1,18 @@
+/*
+ * 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
 
@@ -5,49 +20,56 @@
 package com.google.cloud.bigquery.datatransfer.v1;
 
 /**
+ *
+ *
  * 
  * A response to schedule transfer runs for a time range.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse} */ -public final class ScheduleTransferRunsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ScheduleTransferRunsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) ScheduleTransferRunsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ScheduleTransferRunsResponse.newBuilder() to construct. private ScheduleTransferRunsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ScheduleTransferRunsResponse() { runs_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ScheduleTransferRunsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_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_ScheduleTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); } public static final int RUNS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List runs_; /** + * + * *
    * The transfer runs that were scheduled.
    * 
@@ -59,6 +81,8 @@ public java.util.List get return runs_; } /** + * + * *
    * The transfer runs that were scheduled.
    * 
@@ -66,11 +90,13 @@ public java.util.List get * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRunsOrBuilderList() { return runs_; } /** + * + * *
    * The transfer runs that were scheduled.
    * 
@@ -82,6 +108,8 @@ public int getRunsCount() { return runs_.size(); } /** + * + * *
    * The transfer runs that were scheduled.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) return runs_.get(index); } /** + * + * *
    * The transfer runs that were scheduled.
    * 
@@ -106,6 +136,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,8 +148,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < runs_.size(); i++) { output.writeMessage(1, runs_.get(i)); } @@ -132,8 +162,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < runs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, runs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, runs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -143,15 +172,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other = + (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) obj; - if (!getRunsList() - .equals(other.getRunsList())) return false; + if (!getRunsList().equals(other.getRunsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,131 +202,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ScheduleTransferRunsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse + 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.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse + 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.ScheduleTransferRunsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ScheduleTransferRunsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response to schedule transfer runs for a time range.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_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_ScheduleTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -313,19 +349,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse build() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = buildPartial(); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -334,14 +373,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse bu @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = + new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { if (runsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { runs_ = java.util.Collections.unmodifiableList(runs_); @@ -353,7 +396,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v } } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { int from_bitField0_ = bitField0_; } @@ -361,46 +405,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleTra public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + .getDefaultInstance()) return this; if (runsBuilder_ == null) { if (!other.runs_.isEmpty()) { if (runs_.isEmpty()) { @@ -419,9 +468,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ScheduleTrans runsBuilder_ = null; runs_ = other.runs_; bitField0_ = (bitField0_ & ~0x00000001); - runsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRunsFieldBuilder() : null; + runsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRunsFieldBuilder() + : null; } else { runsBuilder_.addAllMessages(other.runs_); } @@ -453,25 +503,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.datatransfer.v1.TransferRun m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), - extensionRegistry); - if (runsBuilder_ == null) { - ensureRunsIsMutable(); - runs_.add(m); - } else { - runsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.bigquery.datatransfer.v1.TransferRun m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), + extensionRegistry); + if (runsBuilder_ == null) { + ensureRunsIsMutable(); + runs_.add(m); + } else { + runsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -481,21 +533,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List runs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRunsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - runs_ = new java.util.ArrayList(runs_); + runs_ = + new java.util.ArrayList(runs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> runsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + runsBuilder_; /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -510,6 +570,8 @@ public java.util.List get } } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -524,6 +586,8 @@ public int getRunsCount() { } } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -538,14 +602,15 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) } } /** + * + * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder setRuns( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder setRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -559,6 +624,8 @@ public Builder setRuns( return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -577,6 +644,8 @@ public Builder setRuns( return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -597,14 +666,15 @@ public Builder addRuns(com.google.cloud.bigquery.datatransfer.v1.TransferRun val return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder addRuns( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder addRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -618,6 +688,8 @@ public Builder addRuns( return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -636,6 +708,8 @@ public Builder addRuns( return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -654,6 +728,8 @@ public Builder addRuns( return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -661,11 +737,11 @@ public Builder addRuns( * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public Builder addAllRuns( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (runsBuilder_ == null) { ensureRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, runs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, runs_); onChanged(); } else { runsBuilder_.addAllMessages(values); @@ -673,6 +749,8 @@ public Builder addAllRuns( return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -690,6 +768,8 @@ public Builder clearRuns() { return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -707,17 +787,20 @@ public Builder removeRuns(int index) { return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder(int index) { return getRunsFieldBuilder().getBuilder(index); } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -727,19 +810,22 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuil public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( int index) { if (runsBuilder_ == null) { - return runs_.get(index); } else { + return runs_.get(index); + } else { return runsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsOrBuilderList() { + public java.util.List + getRunsOrBuilderList() { if (runsBuilder_ != null) { return runsBuilder_.getMessageOrBuilderList(); } else { @@ -747,6 +833,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -754,49 +842,56 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder() { - return getRunsFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getRunsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** + * + * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder( - int index) { - return getRunsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder(int index) { + return getRunsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** + * + * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsBuilderList() { + public java.util.List + getRunsBuilderList() { return getRunsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> getRunsFieldBuilder() { if (runsBuilder_ == null) { - runsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( - runs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + runsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( + runs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); runs_ = null; } return runsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -806,41 +901,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ScheduleTransferRunsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ScheduleTransferRunsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -852,9 +949,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java index db8b4d18ddad..3b45c2406542 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * 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; -public interface ScheduleTransferRunsResponseOrBuilder extends +public interface ScheduleTransferRunsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The transfer runs that were scheduled.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List - getRunsList(); + java.util.List getRunsList(); /** + * + * *
    * The transfer runs that were scheduled.
    * 
@@ -26,6 +45,8 @@ public interface ScheduleTransferRunsResponseOrBuilder extends */ com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index); /** + * + * *
    * The transfer runs that were scheduled.
    * 
@@ -34,21 +55,24 @@ public interface ScheduleTransferRunsResponseOrBuilder extends */ int getRunsCount(); /** + * + * *
    * The transfer runs that were scheduled.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List + java.util.List getRunsOrBuilderList(); /** + * + * *
    * The transfer runs that were scheduled.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( - int index); + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder(int index); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java similarity index 67% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java index e634118f3248..2e0a4f3a5646 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,50 +20,58 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to start manual transfer runs.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest} */ -public final class StartManualTransferRunsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StartManualTransferRunsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) StartManualTransferRunsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StartManualTransferRunsRequest.newBuilder() to construct. - private StartManualTransferRunsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StartManualTransferRunsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StartManualTransferRunsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StartManualTransferRunsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_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_StartManualTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder.class); } - public interface TimeRangeOrBuilder extends + public interface TimeRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -57,10 +80,13 @@ public interface TimeRangeOrBuilder extends
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -69,10 +95,13 @@ public interface TimeRangeOrBuilder extends
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -85,6 +114,8 @@ public interface TimeRangeOrBuilder extends
     com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
     /**
+     *
+     *
      * 
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -93,10 +124,13 @@ public interface TimeRangeOrBuilder extends
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -105,10 +139,13 @@ public interface TimeRangeOrBuilder extends
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -121,49 +158,57 @@ public interface TimeRangeOrBuilder extends
     com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
   }
   /**
+   *
+   *
    * 
    * A specification for a time range, this will request transfer runs with
    * run_time between start_time (inclusive) and end_time (exclusive).
    * 
* - * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} + * Protobuf type {@code + * google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} */ - public static final class TimeRange extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TimeRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) TimeRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimeRange.newBuilder() to construct. private TimeRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimeRange() { - } + + private TimeRange() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimeRange(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_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_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .class, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .Builder.class); } private int bitField0_; public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -172,6 +217,7 @@ protected java.lang.Object newInstance(
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -179,6 +225,8 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -187,6 +235,7 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -194,6 +243,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -211,6 +262,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
     public static final int END_TIME_FIELD_NUMBER = 2;
     private com.google.protobuf.Timestamp endTime_;
     /**
+     *
+     *
      * 
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -219,6 +272,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -226,6 +280,8 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -234,6 +290,7 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -241,6 +298,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -256,6 +315,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -267,8 +327,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (((bitField0_ & 0x00000001) != 0)) {
         output.writeMessage(1, getStartTime());
       }
@@ -285,12 +344,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getStartTime());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
       }
       if (((bitField0_ & 0x00000002) != 0)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getEndTime());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -300,22 +357,23 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
-      if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)) {
+      if (!(obj
+          instanceof
+          com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)) {
         return super.equals(obj);
       }
-      com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange other = (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) obj;
+      com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange other =
+          (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) obj;
 
       if (hasStartTime() != other.hasStartTime()) return false;
       if (hasStartTime()) {
-        if (!getStartTime()
-            .equals(other.getStartTime())) return false;
+        if (!getStartTime().equals(other.getStartTime())) return false;
       }
       if (hasEndTime() != other.hasEndTime()) return false;
       if (hasEndTime()) {
-        if (!getEndTime()
-            .equals(other.getEndTime())) return false;
+        if (!getEndTime().equals(other.getEndTime())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -341,90 +399,102 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        parseFrom(java.nio.ByteBuffer data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        parseFrom(com.google.protobuf.ByteString data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange parseFrom(
-        com.google.protobuf.CodedInputStream 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.StartManualTransferRunsRequest.TimeRange
+        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 Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+            prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -434,47 +504,57 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A specification for a time range, this will request transfer runs with
      * run_time between start_time (inclusive) and end_time (exclusive).
      * 
* - * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} + * Protobuf type {@code + * google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRangeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_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_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .class, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.newBuilder() + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -493,19 +573,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange build() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = buildPartial(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + build() { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -513,26 +597,29 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest. } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + buildPartial() { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = + new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -542,46 +629,57 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManual public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)other); + if (other + instanceof + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) { + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance()) return this; if (other.hasStartTime()) { mergeStartTime(other.getStartTime()); } @@ -614,26 +712,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -643,12 +740,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -657,12 +760,15 @@ public Builder mergeFrom(
        * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -671,16 +777,21 @@ public boolean hasStartTime() {
        * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** + * + * *
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -704,6 +815,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -713,8 +826,7 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp start_time = 1;
        */
-      public Builder setStartTime(
-          com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
         if (startTimeBuilder_ == null) {
           startTime_ = builderForValue.build();
         } else {
@@ -725,6 +837,8 @@ public Builder setStartTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -736,9 +850,9 @@ public Builder setStartTime(
        */
       public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
         if (startTimeBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0) &&
-            startTime_ != null &&
-            startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0)
+              && startTime_ != null
+              && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getStartTimeBuilder().mergeFrom(value);
           } else {
             startTime_ = value;
@@ -753,6 +867,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -773,6 +889,8 @@ public Builder clearStartTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -788,6 +906,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
         return getStartTimeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -801,11 +921,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
         if (startTimeBuilder_ != null) {
           return startTimeBuilder_.getMessageOrBuilder();
         } else {
-          return startTime_ == null ?
-              com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+          return startTime_ == null
+              ? com.google.protobuf.Timestamp.getDefaultInstance()
+              : startTime_;
         }
       }
       /**
+       *
+       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -816,14 +939,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
        * .google.protobuf.Timestamp start_time = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
           getStartTimeFieldBuilder() {
         if (startTimeBuilder_ == null) {
-          startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                  getStartTime(),
-                  getParentForChildren(),
-                  isClean());
+          startTimeBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Timestamp,
+                  com.google.protobuf.Timestamp.Builder,
+                  com.google.protobuf.TimestampOrBuilder>(
+                  getStartTime(), getParentForChildren(), isClean());
           startTime_ = null;
         }
         return startTimeBuilder_;
@@ -831,8 +957,13 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
       private com.google.protobuf.Timestamp endTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
+          endTimeBuilder_;
       /**
+       *
+       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -841,12 +972,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
        * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -855,6 +989,7 @@ public boolean hasEndTime() {
        * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -865,6 +1000,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -888,6 +1025,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -897,8 +1036,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp end_time = 2;
        */
-      public Builder setEndTime(
-          com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
         if (endTimeBuilder_ == null) {
           endTime_ = builderForValue.build();
         } else {
@@ -909,6 +1047,8 @@ public Builder setEndTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -920,9 +1060,9 @@ public Builder setEndTime(
        */
       public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
         if (endTimeBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0) &&
-            endTime_ != null &&
-            endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0)
+              && endTime_ != null
+              && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getEndTimeBuilder().mergeFrom(value);
           } else {
             endTime_ = value;
@@ -937,6 +1077,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -957,6 +1099,8 @@ public Builder clearEndTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -972,6 +1116,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
         return getEndTimeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -985,11 +1131,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
         if (endTimeBuilder_ != null) {
           return endTimeBuilder_.getMessageOrBuilder();
         } else {
-          return endTime_ == null ?
-              com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+          return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
         }
       }
       /**
+       *
+       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1000,18 +1147,22 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
        * .google.protobuf.Timestamp end_time = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
           getEndTimeFieldBuilder() {
         if (endTimeBuilder_ == null) {
-          endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                  getEndTime(),
-                  getParentForChildren(),
-                  isClean());
+          endTimeBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Timestamp,
+                  com.google.protobuf.Timestamp.Builder,
+                  com.google.protobuf.TimestampOrBuilder>(
+                  getEndTime(), getParentForChildren(), isClean());
           endTime_ = null;
         }
         return endTimeBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1024,41 +1175,46 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
-    private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange DEFAULT_INSTANCE;
+    private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
+            .TimeRange
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange();
+      DEFAULT_INSTANCE =
+          new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange();
     }
 
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getDefaultInstance() {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public TimeRange parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public TimeRange parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1070,22 +1226,26 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int timeCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object time_;
+
   public enum TimeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     REQUESTED_TIME_RANGE(3),
     REQUESTED_RUN_TIME(4),
     TIME_NOT_SET(0);
     private final int value;
+
     private TimeCase(int value) {
       this.value = value;
     }
@@ -1101,27 +1261,33 @@ public static TimeCase valueOf(int value) {
 
     public static TimeCase forNumber(int value) {
       switch (value) {
-        case 3: return REQUESTED_TIME_RANGE;
-        case 4: return REQUESTED_RUN_TIME;
-        case 0: return TIME_NOT_SET;
-        default: return null;
+        case 3:
+          return REQUESTED_TIME_RANGE;
+        case 4:
+          return REQUESTED_RUN_TIME;
+        case 0:
+          return TIME_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TimeCase
-  getTimeCase() {
-    return TimeCase.forNumber(
-        timeCase_);
+  public TimeCase getTimeCase() {
+    return TimeCase.forNumber(timeCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1129,6 +1295,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The parent. */ @java.lang.Override @@ -1137,14 +1304,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1152,16 +1320,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1171,6 +1338,8 @@ public java.lang.String getParent() { public static final int REQUESTED_TIME_RANGE_FIELD_NUMBER = 3; /** + * + * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1178,7 +1347,10 @@ public java.lang.String getParent() {
    * values.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * * @return Whether the requestedTimeRange field is set. */ @java.lang.Override @@ -1186,6 +1358,8 @@ public boolean hasRequestedTimeRange() { return timeCase_ == 3; } /** + * + * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1193,17 +1367,25 @@ public boolean hasRequestedTimeRange() {
    * values.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * * @return The requestedTimeRange. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getRequestedTimeRange() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + getRequestedTimeRange() { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) + time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance(); } /** + * + * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1211,18 +1393,25 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.
    * values.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder getRequestedTimeRangeOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder + getRequestedTimeRangeOrBuilder() { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) + time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance(); } public static final int REQUESTED_RUN_TIME_FIELD_NUMBER = 4; /** + * + * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1231,6 +1420,7 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; + * * @return Whether the requestedRunTime field is set. */ @java.lang.Override @@ -1238,6 +1428,8 @@ public boolean hasRequestedRunTime() { return timeCase_ == 4; } /** + * + * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1246,16 +1438,19 @@ public boolean hasRequestedRunTime() {
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; + * * @return The requestedRunTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRequestedRunTime() { if (timeCase_ == 4) { - return (com.google.protobuf.Timestamp) time_; + return (com.google.protobuf.Timestamp) time_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1268,12 +1463,13 @@ public com.google.protobuf.Timestamp getRequestedRunTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getRequestedRunTimeOrBuilder() {
     if (timeCase_ == 4) {
-       return (com.google.protobuf.Timestamp) time_;
+      return (com.google.protobuf.Timestamp) time_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1285,13 +1481,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
     if (timeCase_ == 3) {
-      output.writeMessage(3, (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_);
+      output.writeMessage(
+          3,
+          (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
+              time_);
     }
     if (timeCase_ == 4) {
       output.writeMessage(4, (com.google.protobuf.Timestamp) time_);
@@ -1309,12 +1507,16 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (timeCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3,
+              (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
+                  time_);
     }
     if (timeCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.protobuf.Timestamp) time_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.protobuf.Timestamp) time_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1324,24 +1526,23 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
-    if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)) {
+    if (!(obj
+        instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other = (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) obj;
+    com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other =
+        (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
+    if (!getParent().equals(other.getParent())) return false;
     if (!getTimeCase().equals(other.getTimeCase())) return false;
     switch (timeCase_) {
       case 3:
-        if (!getRequestedTimeRange()
-            .equals(other.getRequestedTimeRange())) return false;
+        if (!getRequestedTimeRange().equals(other.getRequestedTimeRange())) return false;
         break;
       case 4:
-        if (!getRequestedRunTime()
-            .equals(other.getRequestedRunTime())) return false;
+        if (!getRequestedRunTime().equals(other.getRequestedRunTime())) return false;
         break;
       case 0:
       default:
@@ -1377,131 +1578,139 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.StartManualTransferRunsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest
+      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.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest
+      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.StartManualTransferRunsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      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.StartManualTransferRunsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A request to start manual transfer runs.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_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_StartManualTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder + .class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1519,19 +1728,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest build() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = buildPartial(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1540,29 +1752,32 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = + new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } } - private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { + private void buildPartialOneofs( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { result.timeCase_ = timeCase_; result.time_ = this.time_; - if (timeCase_ == 3 && - requestedTimeRangeBuilder_ != null) { + if (timeCase_ == 3 && requestedTimeRangeBuilder_ != null) { result.time_ = requestedTimeRangeBuilder_.build(); } - if (timeCase_ == 4 && - requestedRunTimeBuilder_ != null) { + if (timeCase_ == 4 && requestedRunTimeBuilder_ != null) { result.time_ = requestedRunTimeBuilder_.build(); } } @@ -1571,63 +1786,72 @@ private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.StartM public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)other); + if (other + instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) { + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; onChanged(); } switch (other.getTimeCase()) { - case REQUESTED_TIME_RANGE: { - mergeRequestedTimeRange(other.getRequestedTimeRange()); - break; - } - case REQUESTED_RUN_TIME: { - mergeRequestedRunTime(other.getRequestedRunTime()); - break; - } - case TIME_NOT_SET: { - break; - } + case REQUESTED_TIME_RANGE: + { + mergeRequestedTimeRange(other.getRequestedTimeRange()); + break; + } + case REQUESTED_RUN_TIME: + { + mergeRequestedRunTime(other.getRequestedRunTime()); + break; + } + case TIME_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1655,31 +1879,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - input.readMessage( - getRequestedTimeRangeFieldBuilder().getBuilder(), - extensionRegistry); - timeCase_ = 3; - break; - } // case 26 - case 34: { - input.readMessage( - getRequestedRunTimeFieldBuilder().getBuilder(), - extensionRegistry); - timeCase_ = 4; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + input.readMessage( + getRequestedTimeRangeFieldBuilder().getBuilder(), extensionRegistry); + timeCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage( + getRequestedRunTimeFieldBuilder().getBuilder(), extensionRegistry); + timeCase_ = 4; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1689,12 +1915,12 @@ public Builder mergeFrom( } // finally return this; } + private int timeCase_ = 0; private java.lang.Object time_; - public TimeCase - getTimeCase() { - return TimeCase.forNumber( - timeCase_); + + public TimeCase getTimeCase() { + return TimeCase.forNumber(timeCase_); } public Builder clearTime() { @@ -1708,6 +1934,8 @@ public Builder clearTime() { private java.lang.Object parent_ = ""; /** + * + * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1715,13 +1943,13 @@ public Builder clearTime() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1730,6 +1958,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1737,15 +1967,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1753,6 +1982,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1760,18 +1991,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1779,6 +2014,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1788,6 +2024,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1795,12 +2033,14 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1809,8 +2049,15 @@ public Builder setParentBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder> requestedTimeRangeBuilder_; + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .Builder, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRangeOrBuilder> + requestedTimeRangeBuilder_; /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1818,7 +2065,10 @@ public Builder setParentBytes(
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * * @return Whether the requestedTimeRange field is set. */ @java.lang.Override @@ -1826,6 +2076,8 @@ public boolean hasRequestedTimeRange() { return timeCase_ == 3; } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1833,24 +2085,34 @@ public boolean hasRequestedTimeRange() {
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * * @return The requestedTimeRange. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getRequestedTimeRange() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + getRequestedTimeRange() { if (requestedTimeRangeBuilder_ == null) { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRange) + time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance(); } else { if (timeCase_ == 3) { return requestedTimeRangeBuilder_.getMessage(); } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance(); } } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1858,9 +2120,12 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ - public Builder setRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { + public Builder setRequestedTimeRange( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { if (requestedTimeRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1874,6 +2139,8 @@ public Builder setRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1.S return this; } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1881,10 +2148,13 @@ public Builder setRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1.S
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ public Builder setRequestedTimeRange( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder builderForValue) { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder + builderForValue) { if (requestedTimeRangeBuilder_ == null) { time_ = builderForValue.build(); onChanged(); @@ -1895,6 +2165,8 @@ public Builder setRequestedTimeRange( return this; } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1902,14 +2174,25 @@ public Builder setRequestedTimeRange(
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ - public Builder mergeRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { + public Builder mergeRequestedTimeRange( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { if (requestedTimeRangeBuilder_ == null) { - if (timeCase_ == 3 && - time_ != com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance()) { - time_ = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.newBuilder((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_) - .mergeFrom(value).buildPartial(); + if (timeCase_ == 3 + && time_ + != com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRange.getDefaultInstance()) { + time_ = + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .newBuilder( + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRange) + time_) + .mergeFrom(value) + .buildPartial(); } else { time_ = value; } @@ -1925,6 +2208,8 @@ public Builder mergeRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1 return this; } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1932,7 +2217,9 @@ public Builder mergeRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ public Builder clearRequestedTimeRange() { if (requestedTimeRangeBuilder_ == null) { @@ -1951,6 +2238,8 @@ public Builder clearRequestedTimeRange() { return this; } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1958,12 +2247,18 @@ public Builder clearRequestedTimeRange() {
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder getRequestedTimeRangeBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .Builder + getRequestedTimeRangeBuilder() { return getRequestedTimeRangeFieldBuilder().getBuilder(); } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1971,20 +2266,29 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder getRequestedTimeRangeOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRangeOrBuilder + getRequestedTimeRangeOrBuilder() { if ((timeCase_ == 3) && (requestedTimeRangeBuilder_ != null)) { return requestedTimeRangeBuilder_.getMessageOrBuilder(); } else { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRange) + time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance(); } } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1992,18 +2296,32 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .Builder, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRangeOrBuilder> getRequestedTimeRangeFieldBuilder() { if (requestedTimeRangeBuilder_ == null) { if (!(timeCase_ == 3)) { - time_ = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); + time_ = + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance(); } - requestedTimeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder>( - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_, + requestedTimeRangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .Builder, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRangeOrBuilder>( + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) + time_, getParentForChildren(), isClean()); time_ = null; @@ -2014,8 +2332,13 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest. } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestedRunTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + requestedRunTimeBuilder_; /** + * + * *
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2024,6 +2347,7 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.
      * 
* * .google.protobuf.Timestamp requested_run_time = 4; + * * @return Whether the requestedRunTime field is set. */ @java.lang.Override @@ -2031,6 +2355,8 @@ public boolean hasRequestedRunTime() { return timeCase_ == 4; } /** + * + * *
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2039,6 +2365,7 @@ public boolean hasRequestedRunTime() {
      * 
* * .google.protobuf.Timestamp requested_run_time = 4; + * * @return The requestedRunTime. */ @java.lang.Override @@ -2056,6 +2383,8 @@ public com.google.protobuf.Timestamp getRequestedRunTime() { } } /** + * + * *
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2079,6 +2408,8 @@ public Builder setRequestedRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2088,8 +2419,7 @@ public Builder setRequestedRunTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp requested_run_time = 4;
      */
-    public Builder setRequestedRunTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setRequestedRunTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (requestedRunTimeBuilder_ == null) {
         time_ = builderForValue.build();
         onChanged();
@@ -2100,6 +2430,8 @@ public Builder setRequestedRunTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2111,10 +2443,11 @@ public Builder setRequestedRunTime(
      */
     public Builder mergeRequestedRunTime(com.google.protobuf.Timestamp value) {
       if (requestedRunTimeBuilder_ == null) {
-        if (timeCase_ == 4 &&
-            time_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          time_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) time_)
-              .mergeFrom(value).buildPartial();
+        if (timeCase_ == 4 && time_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          time_ =
+              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) time_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           time_ = value;
         }
@@ -2130,6 +2463,8 @@ public Builder mergeRequestedRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2156,6 +2491,8 @@ public Builder clearRequestedRunTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2169,6 +2506,8 @@ public com.google.protobuf.Timestamp.Builder getRequestedRunTimeBuilder() {
       return getRequestedRunTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2190,6 +2529,8 @@ public com.google.protobuf.TimestampOrBuilder getRequestedRunTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2200,26 +2541,29 @@ public com.google.protobuf.TimestampOrBuilder getRequestedRunTimeOrBuilder() {
      * .google.protobuf.Timestamp requested_run_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getRequestedRunTimeFieldBuilder() {
       if (requestedRunTimeBuilder_ == null) {
         if (!(timeCase_ == 4)) {
           time_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        requestedRunTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) time_,
-                getParentForChildren(),
-                isClean());
+        requestedRunTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) time_, getParentForChildren(), isClean());
         time_ = null;
       }
       timeCase_ = 4;
       onChanged();
       return requestedRunTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2229,41 +2573,44 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)
-  private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest DEFAULT_INSTANCE;
+  private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
+      DEFAULT_INSTANCE;
+
   static {
-    DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest();
+    DEFAULT_INSTANCE =
+        new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest();
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest getDefaultInstance() {
+  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public StartManualTransferRunsRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public StartManualTransferRunsRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2275,9 +2622,8 @@ public com.google.protobuf.Parser getParserForTy
   }
 
   @java.lang.Override
-  public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest getDefaultInstanceForType() {
+  public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
similarity index 72%
rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
index 5012792d35e7..e80292f89be9 100644
--- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
@@ -1,14 +1,32 @@
+/*
+ * 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;
 
-public interface StartManualTransferRunsRequestOrBuilder extends
+public interface StartManualTransferRunsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -16,10 +34,13 @@ public interface StartManualTransferRunsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -27,12 +48,14 @@ public interface StartManualTransferRunsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -40,11 +63,16 @@ public interface StartManualTransferRunsRequestOrBuilder extends
    * values.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * * @return Whether the requestedTimeRange field is set. */ boolean hasRequestedTimeRange(); /** + * + * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -52,11 +80,17 @@ public interface StartManualTransferRunsRequestOrBuilder extends
    * values.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * * @return The requestedTimeRange. */ - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getRequestedTimeRange(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + getRequestedTimeRange(); /** + * + * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -64,11 +98,16 @@ public interface StartManualTransferRunsRequestOrBuilder extends
    * values.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder getRequestedTimeRangeOrBuilder(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder + getRequestedTimeRangeOrBuilder(); /** + * + * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -77,10 +116,13 @@ public interface StartManualTransferRunsRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; + * * @return Whether the requestedRunTime field is set. */ boolean hasRequestedRunTime(); /** + * + * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -89,10 +131,13 @@ public interface StartManualTransferRunsRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; + * * @return The requestedRunTime. */ com.google.protobuf.Timestamp getRequestedRunTime(); /** + * + * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
similarity index 66%
rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
index 32f8c99911f2..95947e599cbf 100644
--- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
@@ -1,3 +1,18 @@
+/*
+ * 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
 
@@ -5,49 +20,58 @@
 package com.google.cloud.bigquery.datatransfer.v1;
 
 /**
+ *
+ *
  * 
  * A response to start manual transfer runs.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse} */ -public final class StartManualTransferRunsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StartManualTransferRunsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) StartManualTransferRunsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StartManualTransferRunsResponse.newBuilder() to construct. - private StartManualTransferRunsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StartManualTransferRunsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StartManualTransferRunsResponse() { runs_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StartManualTransferRunsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_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_StartManualTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder + .class); } public static final int RUNS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List runs_; /** + * + * *
    * The transfer runs that were created.
    * 
@@ -59,6 +83,8 @@ public java.util.List get return runs_; } /** + * + * *
    * The transfer runs that were created.
    * 
@@ -66,11 +92,13 @@ public java.util.List get * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRunsOrBuilderList() { return runs_; } /** + * + * *
    * The transfer runs that were created.
    * 
@@ -82,6 +110,8 @@ public int getRunsCount() { return runs_.size(); } /** + * + * *
    * The transfer runs that were created.
    * 
@@ -93,6 +123,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) return runs_.get(index); } /** + * + * *
    * The transfer runs that were created.
    * 
@@ -106,6 +138,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,8 +150,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < runs_.size(); i++) { output.writeMessage(1, runs_.get(i)); } @@ -132,8 +164,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < runs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, runs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, runs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -143,15 +174,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse)) { + if (!(obj + instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other = (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other = + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) obj; - if (!getRunsList() - .equals(other.getRunsList())) return false; + if (!getRunsList().equals(other.getRunsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,131 +205,139 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StartManualTransferRunsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse + 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.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse + 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.StartManualTransferRunsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.StartManualTransferRunsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response to start manual transfer runs.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_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_StartManualTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder + .class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -313,19 +353,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse build() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = buildPartial(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -333,15 +376,20 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(this); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + buildPartial() { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = + new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { if (runsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { runs_ = java.util.Collections.unmodifiableList(runs_); @@ -353,7 +401,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v } } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { int from_bitField0_ = bitField0_; } @@ -361,46 +410,52 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManual public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse)other); + if (other + instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) { + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + .getDefaultInstance()) return this; if (runsBuilder_ == null) { if (!other.runs_.isEmpty()) { if (runs_.isEmpty()) { @@ -419,9 +474,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.StartManualTr runsBuilder_ = null; runs_ = other.runs_; bitField0_ = (bitField0_ & ~0x00000001); - runsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRunsFieldBuilder() : null; + runsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRunsFieldBuilder() + : null; } else { runsBuilder_.addAllMessages(other.runs_); } @@ -453,25 +509,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.datatransfer.v1.TransferRun m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), - extensionRegistry); - if (runsBuilder_ == null) { - ensureRunsIsMutable(); - runs_.add(m); - } else { - runsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.bigquery.datatransfer.v1.TransferRun m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), + extensionRegistry); + if (runsBuilder_ == null) { + ensureRunsIsMutable(); + runs_.add(m); + } else { + runsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -481,21 +539,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List runs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRunsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - runs_ = new java.util.ArrayList(runs_); + runs_ = + new java.util.ArrayList(runs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> runsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + runsBuilder_; /** + * + * *
      * The transfer runs that were created.
      * 
@@ -510,6 +576,8 @@ public java.util.List get } } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -524,6 +592,8 @@ public int getRunsCount() { } } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -538,14 +608,15 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) } } /** + * + * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder setRuns( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder setRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -559,6 +630,8 @@ public Builder setRuns( return this; } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -577,6 +650,8 @@ public Builder setRuns( return this; } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -597,14 +672,15 @@ public Builder addRuns(com.google.cloud.bigquery.datatransfer.v1.TransferRun val return this; } /** + * + * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder addRuns( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder addRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -618,6 +694,8 @@ public Builder addRuns( return this; } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -636,6 +714,8 @@ public Builder addRuns( return this; } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -654,6 +734,8 @@ public Builder addRuns( return this; } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -661,11 +743,11 @@ public Builder addRuns( * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public Builder addAllRuns( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (runsBuilder_ == null) { ensureRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, runs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, runs_); onChanged(); } else { runsBuilder_.addAllMessages(values); @@ -673,6 +755,8 @@ public Builder addAllRuns( return this; } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -690,6 +774,8 @@ public Builder clearRuns() { return this; } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -707,17 +793,20 @@ public Builder removeRuns(int index) { return this; } /** + * + * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder(int index) { return getRunsFieldBuilder().getBuilder(index); } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -727,19 +816,22 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuil public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( int index) { if (runsBuilder_ == null) { - return runs_.get(index); } else { + return runs_.get(index); + } else { return runsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsOrBuilderList() { + public java.util.List + getRunsOrBuilderList() { if (runsBuilder_ != null) { return runsBuilder_.getMessageOrBuilderList(); } else { @@ -747,6 +839,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -754,49 +848,56 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder() { - return getRunsFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getRunsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** + * + * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder( - int index) { - return getRunsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder(int index) { + return getRunsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** + * + * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsBuilderList() { + public java.util.List + getRunsBuilderList() { return getRunsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> getRunsFieldBuilder() { if (runsBuilder_ == null) { - runsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( - runs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + runsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( + runs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); runs_ = null; } return runsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -806,41 +907,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartManualTransferRunsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartManualTransferRunsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -852,9 +956,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java index eccac85e79d5..4d7fe4adfe1f 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * 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; -public interface StartManualTransferRunsResponseOrBuilder extends +public interface StartManualTransferRunsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The transfer runs that were created.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List - getRunsList(); + java.util.List getRunsList(); /** + * + * *
    * The transfer runs that were created.
    * 
@@ -26,6 +45,8 @@ public interface StartManualTransferRunsResponseOrBuilder extends */ com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index); /** + * + * *
    * The transfer runs that were created.
    * 
@@ -34,21 +55,24 @@ public interface StartManualTransferRunsResponseOrBuilder extends */ int getRunsCount(); /** + * + * *
    * The transfer runs that were created.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List + java.util.List getRunsOrBuilderList(); /** + * + * *
    * The transfer runs that were created.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( - int index); + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder(int index); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java similarity index 72% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java index 6aa44fac9487..cb1cfa4e9c63 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,6 +20,8 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Represents a data transfer configuration. A transfer configuration
  * contains all metadata needed to perform a data transfer. For example,
@@ -16,15 +33,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferConfig}
  */
-public final class TransferConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TransferConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.TransferConfig)
     TransferConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransferConfig.newBuilder() to construct.
   private TransferConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TransferConfig() {
     name_ = "";
     displayName_ = "";
@@ -37,34 +55,39 @@ private TransferConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TransferConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class,
+            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
   }
 
   private int bitField0_;
   private int destinationCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object destination_;
+
   public enum DestinationCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     DESTINATION_DATASET_ID(2),
     DESTINATION_NOT_SET(0);
     private final int value;
+
     private DestinationCase(int value) {
       this.value = value;
     }
@@ -80,26 +103,31 @@ public static DestinationCase valueOf(int value) {
 
     public static DestinationCase forNumber(int value) {
       switch (value) {
-        case 2: return DESTINATION_DATASET_ID;
-        case 0: return DESTINATION_NOT_SET;
-        default: return null;
+        case 2:
+          return DESTINATION_DATASET_ID;
+        case 0:
+          return DESTINATION_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DestinationCase
-  getDestinationCase() {
-    return DestinationCase.forNumber(
-        destinationCase_);
+  public DestinationCase getDestinationCase() {
+    return DestinationCase.forNumber(destinationCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -111,6 +139,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -119,14 +148,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -138,16 +168,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -157,22 +186,28 @@ public java.lang.String getName() { public static final int DESTINATION_DATASET_ID_FIELD_NUMBER = 2; /** + * + * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; + * * @return Whether the destinationDatasetId field is set. */ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** + * + * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; + * * @return The destinationDatasetId. */ public java.lang.String getDestinationDatasetId() { @@ -183,8 +218,7 @@ public java.lang.String getDestinationDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -193,23 +227,24 @@ public java.lang.String getDestinationDatasetId() { } } /** + * + * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; + * * @return The bytes for destinationDatasetId. */ - public com.google.protobuf.ByteString - getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -220,14 +255,18 @@ public java.lang.String getDestinationDatasetId() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -236,29 +275,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -267,9 +306,12 @@ public java.lang.String getDisplayName() { } public static final int DATA_SOURCE_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object dataSourceId_ = ""; /** + * + * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -277,6 +319,7 @@ public java.lang.String getDisplayName() {
    * 
* * string data_source_id = 5; + * * @return The dataSourceId. */ @java.lang.Override @@ -285,14 +328,15 @@ public java.lang.String getDataSourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; } } /** + * + * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -300,16 +344,15 @@ public java.lang.String getDataSourceId() {
    * 
* * string data_source_id = 5; + * * @return The bytes for dataSourceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataSourceIdBytes() { + public com.google.protobuf.ByteString getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -320,6 +363,8 @@ public java.lang.String getDataSourceId() { public static final int PARAMS_FIELD_NUMBER = 9; private com.google.protobuf.Struct params_; /** + * + * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -328,6 +373,7 @@ public java.lang.String getDataSourceId() {
    * 
* * .google.protobuf.Struct params = 9; + * * @return Whether the params field is set. */ @java.lang.Override @@ -335,6 +381,8 @@ public boolean hasParams() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -343,6 +391,7 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 9; + * * @return The params. */ @java.lang.Override @@ -350,6 +399,8 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** + * + * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -365,9 +416,12 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
   }
 
   public static final int SCHEDULE_FIELD_NUMBER = 7;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object schedule_ = "";
   /**
+   *
+   *
    * 
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -386,6 +440,7 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
    * 
* * string schedule = 7; + * * @return The schedule. */ @java.lang.Override @@ -394,14 +449,15 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; } } /** + * + * *
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -420,16 +476,15 @@ public java.lang.String getSchedule() {
    * 
* * string schedule = 7; + * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schedule_ = b; return b; } else { @@ -440,11 +495,14 @@ public java.lang.String getSchedule() { public static final int SCHEDULE_OPTIONS_FIELD_NUMBER = 24; private com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions scheduleOptions_; /** + * + * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; + * * @return Whether the scheduleOptions field is set. */ @java.lang.Override @@ -452,18 +510,25 @@ public boolean hasScheduleOptions() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; + * * @return The scheduleOptions. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOptions() { - return scheduleOptions_ == null ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; + return scheduleOptions_ == null + ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() + : scheduleOptions_; } /** + * + * *
    * Options customizing the data transfer schedule.
    * 
@@ -471,13 +536,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOpti * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getScheduleOptionsOrBuilder() { - return scheduleOptions_ == null ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; + public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder + getScheduleOptionsOrBuilder() { + return scheduleOptions_ == null + ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() + : scheduleOptions_; } public static final int DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER = 12; private int dataRefreshWindowDays_ = 0; /** + * + * *
    * The number of days to look back to automatically refresh the data.
    * For example, if `data_refresh_window_days = 10`, then every day
@@ -488,6 +558,7 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getSch
    * 
* * int32 data_refresh_window_days = 12; + * * @return The dataRefreshWindowDays. */ @java.lang.Override @@ -498,12 +569,15 @@ public int getDataRefreshWindowDays() { public static final int DISABLED_FIELD_NUMBER = 13; private boolean disabled_ = false; /** + * + * *
    * Is this config disabled. When set to true, no runs are scheduled
    * for a given transfer.
    * 
* * bool disabled = 13; + * * @return The disabled. */ @java.lang.Override @@ -514,11 +588,15 @@ public boolean getDisabled() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -526,11 +604,15 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -538,11 +620,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -552,11 +637,16 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int NEXT_RUN_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp nextRunTime_; /** + * + * *
    * Output only. Next time when data transfer will run.
    * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the nextRunTime field is set. */ @java.lang.Override @@ -564,11 +654,16 @@ public boolean hasNextRunTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
    * Output only. Next time when data transfer will run.
    * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The nextRunTime. */ @java.lang.Override @@ -576,11 +671,15 @@ public com.google.protobuf.Timestamp getNextRunTime() { return nextRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextRunTime_; } /** + * + * *
    * Output only. Next time when data transfer will run.
    * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { @@ -590,37 +689,55 @@ public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 10; private int state_ = 0; /** + * + * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { + com.google.cloud.bigquery.datatransfer.v1.TransferState result = + com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED + : result; } public static final int USER_ID_FIELD_NUMBER = 11; private long userId_ = 0L; /** + * + * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; + * * @return The userId. */ @java.lang.Override @@ -629,14 +746,18 @@ public long getUserId() { } public static final int DATASET_REGION_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private volatile java.lang.Object datasetRegion_ = ""; /** + * + * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The datasetRegion. */ @java.lang.Override @@ -645,29 +766,29 @@ public java.lang.String getDatasetRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetRegion_ = s; return s; } } /** + * + * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for datasetRegion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatasetRegionBytes() { + public com.google.protobuf.ByteString getDatasetRegionBytes() { java.lang.Object ref = datasetRegion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetRegion_ = b; return b; } else { @@ -676,9 +797,12 @@ public java.lang.String getDatasetRegion() { } public static final int NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER = 15; + @SuppressWarnings("serial") private volatile java.lang.Object notificationPubsubTopic_ = ""; /** + * + * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -688,6 +812,7 @@ public java.lang.String getDatasetRegion() {
    * 
* * string notification_pubsub_topic = 15; + * * @return The notificationPubsubTopic. */ @java.lang.Override @@ -696,14 +821,15 @@ public java.lang.String getNotificationPubsubTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; } } /** + * + * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -713,16 +839,15 @@ public java.lang.String getNotificationPubsubTopic() {
    * 
* * string notification_pubsub_topic = 15; + * * @return The bytes for notificationPubsubTopic. */ @java.lang.Override - public com.google.protobuf.ByteString - getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -733,12 +858,15 @@ public java.lang.String getNotificationPubsubTopic() { public static final int EMAIL_PREFERENCES_FIELD_NUMBER = 18; private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; /** + * + * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; + * * @return Whether the emailPreferences field is set. */ @java.lang.Override @@ -746,19 +874,26 @@ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; + * * @return The emailPreferences. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { - return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; + return emailPreferences_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() + : emailPreferences_; } /** + * + * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
@@ -767,20 +902,28 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPrefer
    * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
    */
   @java.lang.Override
-  public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() {
-    return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_;
+  public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder
+      getEmailPreferencesOrBuilder() {
+    return emailPreferences_ == null
+        ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()
+        : emailPreferences_;
   }
 
   public static final int OWNER_INFO_FIELD_NUMBER = 27;
   private com.google.cloud.bigquery.datatransfer.v1.UserInfo ownerInfo_;
   /**
+   *
+   *
    * 
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the ownerInfo field is set. */ @java.lang.Override @@ -788,36 +931,52 @@ public boolean hasOwnerInfo() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The ownerInfo. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.UserInfo getOwnerInfo() { - return ownerInfo_ == null ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; + return ownerInfo_ == null + ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() + : ownerInfo_; } /** + * + * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoOrBuilder() { - return ownerInfo_ == null ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; + return ownerInfo_ == null + ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() + : ownerInfo_; } public static final int ENCRYPTION_CONFIGURATION_FIELD_NUMBER = 28; - private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryptionConfiguration_; + private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + encryptionConfiguration_; /** + * + * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -826,7 +985,10 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoO
    * otherwise try to apply project default keys if it is absent.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * * @return Whether the encryptionConfiguration field is set. */ @java.lang.Override @@ -834,6 +996,8 @@ public boolean hasEncryptionConfiguration() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -842,14 +1006,22 @@ public boolean hasEncryptionConfiguration() {
    * otherwise try to apply project default keys if it is absent.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * * @return The encryptionConfiguration. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncryptionConfiguration() { - return encryptionConfiguration_ == null ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + getEncryptionConfiguration() { + return encryptionConfiguration_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() + : encryptionConfiguration_; } /** + * + * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -858,14 +1030,20 @@ public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncr
    * otherwise try to apply project default keys if it is absent.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder getEncryptionConfigurationOrBuilder() { - return encryptionConfiguration_ == null ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder + getEncryptionConfigurationOrBuilder() { + return encryptionConfiguration_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() + : encryptionConfiguration_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -877,8 +1055,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -903,7 +1080,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(9, getParams()); } - if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(10, state_); } if (userId_ != 0L) { @@ -952,8 +1131,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataSourceId_); @@ -962,50 +1140,45 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, schedule_); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getNextRunTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getNextRunTime()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getParams()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getParams()); } - if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, state_); + if (state_ + != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, state_); } if (userId_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(11, userId_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, userId_); } if (dataRefreshWindowDays_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(12, dataRefreshWindowDays_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(12, dataRefreshWindowDays_); } if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(13, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, disabled_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetRegion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, datasetRegion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(notificationPubsubTopic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, notificationPubsubTopic_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(15, notificationPubsubTopic_); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, getEmailPreferences()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getEmailPreferences()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, getScheduleOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getScheduleOptions()); } if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, getOwnerInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getOwnerInfo()); } if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, getEncryptionConfiguration()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 28, getEncryptionConfiguration()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1015,72 +1188,56 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.TransferConfig)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.TransferConfig other = (com.google.cloud.bigquery.datatransfer.v1.TransferConfig) obj; + com.google.cloud.bigquery.datatransfer.v1.TransferConfig other = + (com.google.cloud.bigquery.datatransfer.v1.TransferConfig) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDataSourceId() - .equals(other.getDataSourceId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDataSourceId().equals(other.getDataSourceId())) return false; if (hasParams() != other.hasParams()) return false; if (hasParams()) { - if (!getParams() - .equals(other.getParams())) return false; + if (!getParams().equals(other.getParams())) return false; } - if (!getSchedule() - .equals(other.getSchedule())) return false; + if (!getSchedule().equals(other.getSchedule())) return false; if (hasScheduleOptions() != other.hasScheduleOptions()) return false; if (hasScheduleOptions()) { - if (!getScheduleOptions() - .equals(other.getScheduleOptions())) return false; + if (!getScheduleOptions().equals(other.getScheduleOptions())) return false; } - if (getDataRefreshWindowDays() - != other.getDataRefreshWindowDays()) return false; - if (getDisabled() - != other.getDisabled()) return false; + if (getDataRefreshWindowDays() != other.getDataRefreshWindowDays()) return false; + if (getDisabled() != other.getDisabled()) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasNextRunTime() != other.hasNextRunTime()) return false; if (hasNextRunTime()) { - if (!getNextRunTime() - .equals(other.getNextRunTime())) return false; + if (!getNextRunTime().equals(other.getNextRunTime())) return false; } if (state_ != other.state_) return false; - if (getUserId() - != other.getUserId()) return false; - if (!getDatasetRegion() - .equals(other.getDatasetRegion())) return false; - if (!getNotificationPubsubTopic() - .equals(other.getNotificationPubsubTopic())) return false; + if (getUserId() != other.getUserId()) return false; + if (!getDatasetRegion().equals(other.getDatasetRegion())) return false; + if (!getNotificationPubsubTopic().equals(other.getNotificationPubsubTopic())) return false; if (hasEmailPreferences() != other.hasEmailPreferences()) return false; if (hasEmailPreferences()) { - if (!getEmailPreferences() - .equals(other.getEmailPreferences())) return false; + if (!getEmailPreferences().equals(other.getEmailPreferences())) return false; } if (hasOwnerInfo() != other.hasOwnerInfo()) return false; if (hasOwnerInfo()) { - if (!getOwnerInfo() - .equals(other.getOwnerInfo())) return false; + if (!getOwnerInfo().equals(other.getOwnerInfo())) return false; } if (hasEncryptionConfiguration() != other.hasEncryptionConfiguration()) return false; if (hasEncryptionConfiguration()) { - if (!getEncryptionConfiguration() - .equals(other.getEncryptionConfiguration())) return false; + if (!getEncryptionConfiguration().equals(other.getEncryptionConfiguration())) return false; } if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 2: - if (!getDestinationDatasetId() - .equals(other.getDestinationDatasetId())) return false; + if (!getDestinationDatasetId().equals(other.getDestinationDatasetId())) return false; break; case 0: default: @@ -1115,8 +1272,7 @@ public int hashCode() { hash = (37 * hash) + DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER; hash = (53 * hash) + getDataRefreshWindowDays(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); if (hasUpdateTime()) { hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getUpdateTime().hashCode(); @@ -1128,8 +1284,7 @@ public int hashCode() { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + USER_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getUserId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserId()); hash = (37 * hash) + DATASET_REGION_FIELD_NUMBER; hash = (53 * hash) + getDatasetRegion().hashCode(); hash = (37 * hash) + NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER; @@ -1160,98 +1315,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig 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.TransferConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferConfig 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.TransferConfig 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.TransferConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig 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.TransferConfig 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.TransferConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.TransferConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a data transfer configuration. A transfer configuration
    * contains all metadata needed to perform a data transfer. For example,
@@ -1263,21 +1424,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.TransferConfig)
       com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class,
+              com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.datatransfer.v1.TransferConfig.newBuilder()
@@ -1285,14 +1448,13 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getParamsFieldBuilder();
         getScheduleOptionsFieldBuilder();
         getUpdateTimeFieldBuilder();
@@ -1302,6 +1464,7 @@ private void maybeForceBuilderInitialization() {
         getEncryptionConfigurationFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1357,9 +1520,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1378,8 +1541,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.TransferConfig buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.TransferConfig result = new com.google.cloud.bigquery.datatransfer.v1.TransferConfig(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.TransferConfig result =
+          new com.google.cloud.bigquery.datatransfer.v1.TransferConfig(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1398,18 +1564,15 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferCon
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.params_ = paramsBuilder_ == null
-            ? params_
-            : paramsBuilder_.build();
+        result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.schedule_ = schedule_;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.scheduleOptions_ = scheduleOptionsBuilder_ == null
-            ? scheduleOptions_
-            : scheduleOptionsBuilder_.build();
+        result.scheduleOptions_ =
+            scheduleOptionsBuilder_ == null ? scheduleOptions_ : scheduleOptionsBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
@@ -1419,15 +1582,12 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferCon
         result.disabled_ = disabled_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.nextRunTime_ = nextRunTimeBuilder_ == null
-            ? nextRunTime_
-            : nextRunTimeBuilder_.build();
+        result.nextRunTime_ =
+            nextRunTimeBuilder_ == null ? nextRunTime_ : nextRunTimeBuilder_.build();
         to_bitField0_ |= 0x00000008;
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
@@ -1443,27 +1603,26 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferCon
         result.notificationPubsubTopic_ = notificationPubsubTopic_;
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
-        result.emailPreferences_ = emailPreferencesBuilder_ == null
-            ? emailPreferences_
-            : emailPreferencesBuilder_.build();
+        result.emailPreferences_ =
+            emailPreferencesBuilder_ == null ? emailPreferences_ : emailPreferencesBuilder_.build();
         to_bitField0_ |= 0x00000010;
       }
       if (((from_bitField0_ & 0x00010000) != 0)) {
-        result.ownerInfo_ = ownerInfoBuilder_ == null
-            ? ownerInfo_
-            : ownerInfoBuilder_.build();
+        result.ownerInfo_ = ownerInfoBuilder_ == null ? ownerInfo_ : ownerInfoBuilder_.build();
         to_bitField0_ |= 0x00000020;
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
-        result.encryptionConfiguration_ = encryptionConfigurationBuilder_ == null
-            ? encryptionConfiguration_
-            : encryptionConfigurationBuilder_.build();
+        result.encryptionConfiguration_ =
+            encryptionConfigurationBuilder_ == null
+                ? encryptionConfiguration_
+                : encryptionConfigurationBuilder_.build();
         to_bitField0_ |= 0x00000040;
       }
       result.bitField0_ |= to_bitField0_;
     }
 
-    private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.TransferConfig result) {
+    private void buildPartialOneofs(
+        com.google.cloud.bigquery.datatransfer.v1.TransferConfig result) {
       result.destinationCase_ = destinationCase_;
       result.destination_ = this.destination_;
     }
@@ -1472,38 +1631,39 @@ private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.Transf
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.TransferConfig) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferConfig)other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1511,7 +1671,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferConfig other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -1576,15 +1737,17 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferConfi
         mergeEncryptionConfiguration(other.getEncryptionConfiguration());
       }
       switch (other.getDestinationCase()) {
-        case DESTINATION_DATASET_ID: {
-          destinationCase_ = 2;
-          destination_ = other.destination_;
-          onChanged();
-          break;
-        }
-        case DESTINATION_NOT_SET: {
-          break;
-        }
+        case DESTINATION_DATASET_ID:
+          {
+            destinationCase_ = 2;
+            destination_ = other.destination_;
+            onChanged();
+            break;
+          }
+        case DESTINATION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1612,117 +1775,124 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              destinationCase_ = 2;
-              destination_ = s;
-              break;
-            } // case 18
-            case 26: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 34
-            case 42: {
-              dataSourceId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 42
-            case 58: {
-              schedule_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getNextRunTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getParamsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 74
-            case 80: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 80
-            case 88: {
-              userId_ = input.readInt64();
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 88
-            case 96: {
-              dataRefreshWindowDays_ = input.readInt32();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 96
-            case 104: {
-              disabled_ = input.readBool();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 104
-            case 114: {
-              datasetRegion_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00002000;
-              break;
-            } // case 114
-            case 122: {
-              notificationPubsubTopic_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00004000;
-              break;
-            } // case 122
-            case 146: {
-              input.readMessage(
-                  getEmailPreferencesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 146
-            case 194: {
-              input.readMessage(
-                  getScheduleOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 194
-            case 218: {
-              input.readMessage(
-                  getOwnerInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00010000;
-              break;
-            } // case 218
-            case 226: {
-              input.readMessage(
-                  getEncryptionConfigurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00020000;
-              break;
-            } // case 226
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                destinationCase_ = 2;
+                destination_ = s;
+                break;
+              } // case 18
+            case 26:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 34
+            case 42:
+              {
+                dataSourceId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 42
+            case 58:
+              {
+                schedule_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getNextRunTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 74
+            case 80:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 80
+            case 88:
+              {
+                userId_ = input.readInt64();
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 88
+            case 96:
+              {
+                dataRefreshWindowDays_ = input.readInt32();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 96
+            case 104:
+              {
+                disabled_ = input.readBool();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 104
+            case 114:
+              {
+                datasetRegion_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00002000;
+                break;
+              } // case 114
+            case 122:
+              {
+                notificationPubsubTopic_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00004000;
+                break;
+              } // case 122
+            case 146:
+              {
+                input.readMessage(
+                    getEmailPreferencesFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 146
+            case 194:
+              {
+                input.readMessage(getScheduleOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 194
+            case 218:
+              {
+                input.readMessage(getOwnerInfoFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00010000;
+                break;
+              } // case 218
+            case 226:
+              {
+                input.readMessage(
+                    getEncryptionConfigurationFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00020000;
+                break;
+              } // case 226
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1732,12 +1902,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int destinationCase_ = 0;
     private java.lang.Object destination_;
-    public DestinationCase
-        getDestinationCase() {
-      return DestinationCase.forNumber(
-          destinationCase_);
+
+    public DestinationCase getDestinationCase() {
+      return DestinationCase.forNumber(destinationCase_);
     }
 
     public Builder clearDestination() {
@@ -1751,6 +1921,8 @@ public Builder clearDestination() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1762,13 +1934,13 @@ public Builder clearDestination() {
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1777,6 +1949,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1788,15 +1962,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1804,6 +1977,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1815,18 +1990,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1838,6 +2017,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1847,6 +2027,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1858,12 +2040,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1872,11 +2056,14 @@ public Builder setNameBytes( } /** + * + * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; + * * @return Whether the destinationDatasetId field is set. */ @java.lang.Override @@ -1884,11 +2071,14 @@ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** + * + * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; + * * @return The destinationDatasetId. */ @java.lang.Override @@ -1898,8 +2088,7 @@ public java.lang.String getDestinationDatasetId() { ref = destination_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -1910,24 +2099,25 @@ public java.lang.String getDestinationDatasetId() { } } /** + * + * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; + * * @return The bytes for destinationDatasetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -1937,28 +2127,35 @@ public java.lang.String getDestinationDatasetId() { } } /** + * + * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; + * * @param value The destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationDatasetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationCase_ = 2; destination_ = value; onChanged(); return this; } /** + * + * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; + * * @return This builder for chaining. */ public Builder clearDestinationDatasetId() { @@ -1970,17 +2167,21 @@ public Builder clearDestinationDatasetId() { return this; } /** + * + * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; + * * @param value The bytes for destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationCase_ = 2; destination_ = value; @@ -1990,18 +2191,20 @@ public Builder setDestinationDatasetIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2010,20 +2213,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -2031,28 +2235,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2062,17 +2273,21 @@ public Builder clearDisplayName() { return this; } /** - *
+     *
+     *
+     * 
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -2082,6 +2297,8 @@ public Builder setDisplayNameBytes( private java.lang.Object dataSourceId_ = ""; /** + * + * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2089,13 +2306,13 @@ public Builder setDisplayNameBytes(
      * 
* * string data_source_id = 5; + * * @return The dataSourceId. */ public java.lang.String getDataSourceId() { java.lang.Object ref = dataSourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; @@ -2104,6 +2321,8 @@ public java.lang.String getDataSourceId() { } } /** + * + * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2111,15 +2330,14 @@ public java.lang.String getDataSourceId() {
      * 
* * string data_source_id = 5; + * * @return The bytes for dataSourceId. */ - public com.google.protobuf.ByteString - getDataSourceIdBytes() { + public com.google.protobuf.ByteString getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -2127,6 +2345,8 @@ public java.lang.String getDataSourceId() { } } /** + * + * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2134,18 +2354,22 @@ public java.lang.String getDataSourceId() {
      * 
* * string data_source_id = 5; + * * @param value The dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSourceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataSourceId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2153,6 +2377,7 @@ public Builder setDataSourceId(
      * 
* * string data_source_id = 5; + * * @return This builder for chaining. */ public Builder clearDataSourceId() { @@ -2162,6 +2387,8 @@ public Builder clearDataSourceId() { return this; } /** + * + * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2169,12 +2396,14 @@ public Builder clearDataSourceId() {
      * 
* * string data_source_id = 5; + * * @param value The bytes for dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataSourceId_ = value; bitField0_ |= 0x00000008; @@ -2184,8 +2413,13 @@ public Builder setDataSourceIdBytes( private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + paramsBuilder_; /** + * + * *
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2194,12 +2428,15 @@ public Builder setDataSourceIdBytes(
      * 
* * .google.protobuf.Struct params = 9; + * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2208,6 +2445,7 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 9; + * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -2218,6 +2456,8 @@ public com.google.protobuf.Struct getParams() { } } /** + * + * *
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2241,6 +2481,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2250,8 +2492,7 @@ public Builder setParams(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct params = 9;
      */
-    public Builder setParams(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
       if (paramsBuilder_ == null) {
         params_ = builderForValue.build();
       } else {
@@ -2262,6 +2503,8 @@ public Builder setParams(
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2273,9 +2516,9 @@ public Builder setParams(
      */
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          params_ != null &&
-          params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && params_ != null
+            && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getParamsBuilder().mergeFrom(value);
         } else {
           params_ = value;
@@ -2290,6 +2533,8 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2310,6 +2555,8 @@ public Builder clearParams() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2325,6 +2572,8 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
       return getParamsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2338,11 +2587,12 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       if (paramsBuilder_ != null) {
         return paramsBuilder_.getMessageOrBuilder();
       } else {
-        return params_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : params_;
+        return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
       }
     }
     /**
+     *
+     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2353,14 +2603,17 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * .google.protobuf.Struct params = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getParamsFieldBuilder() {
       if (paramsBuilder_ == null) {
-        paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getParams(),
-                getParentForChildren(),
-                isClean());
+        paramsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                getParams(), getParentForChildren(), isClean());
         params_ = null;
       }
       return paramsBuilder_;
@@ -2368,6 +2621,8 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
 
     private java.lang.Object schedule_ = "";
     /**
+     *
+     *
      * 
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2386,13 +2641,13 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * 
* * string schedule = 7; + * * @return The schedule. */ public java.lang.String getSchedule() { java.lang.Object ref = schedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; @@ -2401,6 +2656,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2419,15 +2676,14 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 7; + * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schedule_ = b; return b; } else { @@ -2435,6 +2691,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2453,18 +2711,22 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 7; + * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSchedule(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } schedule_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2483,6 +2745,7 @@ public Builder setSchedule(
      * 
* * string schedule = 7; + * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -2492,6 +2755,8 @@ public Builder clearSchedule() { return this; } /** + * + * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2510,12 +2775,14 @@ public Builder clearSchedule() {
      * 
* * string schedule = 7; + * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setScheduleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); schedule_ = value; bitField0_ |= 0x00000020; @@ -2525,41 +2792,55 @@ public Builder setScheduleBytes( private com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions scheduleOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> scheduleOptionsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> + scheduleOptionsBuilder_; /** + * + * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; + * * @return Whether the scheduleOptions field is set. */ public boolean hasScheduleOptions() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; + * * @return The scheduleOptions. */ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOptions() { if (scheduleOptionsBuilder_ == null) { - return scheduleOptions_ == null ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; + return scheduleOptions_ == null + ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() + : scheduleOptions_; } else { return scheduleOptionsBuilder_.getMessage(); } } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public Builder setScheduleOptions(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { + public Builder setScheduleOptions( + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { if (scheduleOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2573,6 +2854,8 @@ public Builder setScheduleOptions(com.google.cloud.bigquery.datatransfer.v1.Sche return this; } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
@@ -2591,17 +2874,21 @@ public Builder setScheduleOptions( return this; } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public Builder mergeScheduleOptions(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { + public Builder mergeScheduleOptions( + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { if (scheduleOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - scheduleOptions_ != null && - scheduleOptions_ != com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && scheduleOptions_ != null + && scheduleOptions_ + != com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) { getScheduleOptionsBuilder().mergeFrom(value); } else { scheduleOptions_ = value; @@ -2616,6 +2903,8 @@ public Builder mergeScheduleOptions(com.google.cloud.bigquery.datatransfer.v1.Sc return this; } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
@@ -2633,33 +2922,42 @@ public Builder clearScheduleOptions() { return this; } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder getScheduleOptionsBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder + getScheduleOptionsBuilder() { bitField0_ |= 0x00000040; onChanged(); return getScheduleOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getScheduleOptionsOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder + getScheduleOptionsOrBuilder() { if (scheduleOptionsBuilder_ != null) { return scheduleOptionsBuilder_.getMessageOrBuilder(); } else { - return scheduleOptions_ == null ? - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; + return scheduleOptions_ == null + ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() + : scheduleOptions_; } } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
@@ -2667,21 +2965,26 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getSch * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> getScheduleOptionsFieldBuilder() { if (scheduleOptionsBuilder_ == null) { - scheduleOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder>( - getScheduleOptions(), - getParentForChildren(), - isClean()); + scheduleOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder>( + getScheduleOptions(), getParentForChildren(), isClean()); scheduleOptions_ = null; } return scheduleOptionsBuilder_; } - private int dataRefreshWindowDays_ ; + private int dataRefreshWindowDays_; /** + * + * *
      * The number of days to look back to automatically refresh the data.
      * For example, if `data_refresh_window_days = 10`, then every day
@@ -2692,6 +2995,7 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getSch
      * 
* * int32 data_refresh_window_days = 12; + * * @return The dataRefreshWindowDays. */ @java.lang.Override @@ -2699,6 +3003,8 @@ public int getDataRefreshWindowDays() { return dataRefreshWindowDays_; } /** + * + * *
      * The number of days to look back to automatically refresh the data.
      * For example, if `data_refresh_window_days = 10`, then every day
@@ -2709,6 +3015,7 @@ public int getDataRefreshWindowDays() {
      * 
* * int32 data_refresh_window_days = 12; + * * @param value The dataRefreshWindowDays to set. * @return This builder for chaining. */ @@ -2720,6 +3027,8 @@ public Builder setDataRefreshWindowDays(int value) { return this; } /** + * + * *
      * The number of days to look back to automatically refresh the data.
      * For example, if `data_refresh_window_days = 10`, then every day
@@ -2730,6 +3039,7 @@ public Builder setDataRefreshWindowDays(int value) {
      * 
* * int32 data_refresh_window_days = 12; + * * @return This builder for chaining. */ public Builder clearDataRefreshWindowDays() { @@ -2739,14 +3049,17 @@ public Builder clearDataRefreshWindowDays() { return this; } - private boolean disabled_ ; + private boolean disabled_; /** + * + * *
      * Is this config disabled. When set to true, no runs are scheduled
      * for a given transfer.
      * 
* * bool disabled = 13; + * * @return The disabled. */ @java.lang.Override @@ -2754,12 +3067,15 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
      * Is this config disabled. When set to true, no runs are scheduled
      * for a given transfer.
      * 
* * bool disabled = 13; + * * @param value The disabled to set. * @return This builder for chaining. */ @@ -2771,12 +3087,15 @@ public Builder setDisabled(boolean value) { return this; } /** + * + * *
      * Is this config disabled. When set to true, no runs are scheduled
      * for a given transfer.
      * 
* * bool disabled = 13; + * * @return This builder for chaining. */ public Builder clearDisabled() { @@ -2788,39 +3107,58 @@ public Builder clearDisabled() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2836,14 +3174,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2854,17 +3195,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2879,11 +3224,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -2896,11 +3245,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000200; @@ -2908,36 +3261,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2945,39 +3310,58 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp nextRunTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> nextRunTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + nextRunTimeBuilder_; /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the nextRunTime field is set. */ public boolean hasNextRunTime() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The nextRunTime. */ public com.google.protobuf.Timestamp getNextRunTime() { if (nextRunTimeBuilder_ == null) { - return nextRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextRunTime_; + return nextRunTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : nextRunTime_; } else { return nextRunTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setNextRunTime(com.google.protobuf.Timestamp value) { if (nextRunTimeBuilder_ == null) { @@ -2993,14 +3377,17 @@ public Builder setNextRunTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setNextRunTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setNextRunTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (nextRunTimeBuilder_ == null) { nextRunTime_ = builderForValue.build(); } else { @@ -3011,17 +3398,21 @@ public Builder setNextRunTime( return this; } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeNextRunTime(com.google.protobuf.Timestamp value) { if (nextRunTimeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - nextRunTime_ != null && - nextRunTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && nextRunTime_ != null + && nextRunTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getNextRunTimeBuilder().mergeFrom(value); } else { nextRunTime_ = value; @@ -3036,11 +3427,15 @@ public Builder mergeNextRunTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearNextRunTime() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3053,11 +3448,15 @@ public Builder clearNextRunTime() { return this; } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getNextRunTimeBuilder() { bitField0_ |= 0x00000400; @@ -3065,36 +3464,48 @@ public com.google.protobuf.Timestamp.Builder getNextRunTimeBuilder() { return getNextRunTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { if (nextRunTimeBuilder_ != null) { return nextRunTimeBuilder_.getMessageOrBuilder(); } else { - return nextRunTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : nextRunTime_; + return nextRunTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : nextRunTime_; } } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getNextRunTimeFieldBuilder() { if (nextRunTimeBuilder_ == null) { - nextRunTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getNextRunTime(), - getParentForChildren(), - isClean()); + nextRunTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getNextRunTime(), getParentForChildren(), isClean()); nextRunTime_ = null; } return nextRunTimeBuilder_; @@ -3102,22 +3513,33 @@ public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3128,24 +3550,37 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; + com.google.cloud.bigquery.datatransfer.v1.TransferState result = + com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -3159,11 +3594,16 @@ public Builder setState(com.google.cloud.bigquery.datatransfer.v1.TransferState return this; } /** + * + * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -3173,13 +3613,16 @@ public Builder clearState() { return this; } - private long userId_ ; + private long userId_; /** + * + * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; + * * @return The userId. */ @java.lang.Override @@ -3187,11 +3630,14 @@ public long getUserId() { return userId_; } /** + * + * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; + * * @param value The userId to set. * @return This builder for chaining. */ @@ -3203,11 +3649,14 @@ public Builder setUserId(long value) { return this; } /** + * + * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; + * * @return This builder for chaining. */ public Builder clearUserId() { @@ -3219,18 +3668,20 @@ public Builder clearUserId() { private java.lang.Object datasetRegion_ = ""; /** + * + * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The datasetRegion. */ public java.lang.String getDatasetRegion() { java.lang.Object ref = datasetRegion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetRegion_ = s; return s; @@ -3239,20 +3690,21 @@ public java.lang.String getDatasetRegion() { } } /** + * + * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for datasetRegion. */ - public com.google.protobuf.ByteString - getDatasetRegionBytes() { + public com.google.protobuf.ByteString getDatasetRegionBytes() { java.lang.Object ref = datasetRegion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetRegion_ = b; return b; } else { @@ -3260,28 +3712,35 @@ public java.lang.String getDatasetRegion() { } } /** + * + * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The datasetRegion to set. * @return This builder for chaining. */ - public Builder setDatasetRegion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatasetRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } datasetRegion_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDatasetRegion() { @@ -3291,17 +3750,21 @@ public Builder clearDatasetRegion() { return this; } /** + * + * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for datasetRegion to set. * @return This builder for chaining. */ - public Builder setDatasetRegionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatasetRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); datasetRegion_ = value; bitField0_ |= 0x00002000; @@ -3311,6 +3774,8 @@ public Builder setDatasetRegionBytes( private java.lang.Object notificationPubsubTopic_ = ""; /** + * + * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3320,13 +3785,13 @@ public Builder setDatasetRegionBytes(
      * 
* * string notification_pubsub_topic = 15; + * * @return The notificationPubsubTopic. */ public java.lang.String getNotificationPubsubTopic() { java.lang.Object ref = notificationPubsubTopic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; @@ -3335,6 +3800,8 @@ public java.lang.String getNotificationPubsubTopic() { } } /** + * + * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3344,15 +3811,14 @@ public java.lang.String getNotificationPubsubTopic() {
      * 
* * string notification_pubsub_topic = 15; + * * @return The bytes for notificationPubsubTopic. */ - public com.google.protobuf.ByteString - getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -3360,6 +3826,8 @@ public java.lang.String getNotificationPubsubTopic() { } } /** + * + * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3369,18 +3837,22 @@ public java.lang.String getNotificationPubsubTopic() {
      * 
* * string notification_pubsub_topic = 15; + * * @param value The notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopic( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNotificationPubsubTopic(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } notificationPubsubTopic_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** + * + * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3390,6 +3862,7 @@ public Builder setNotificationPubsubTopic(
      * 
* * string notification_pubsub_topic = 15; + * * @return This builder for chaining. */ public Builder clearNotificationPubsubTopic() { @@ -3399,6 +3872,8 @@ public Builder clearNotificationPubsubTopic() { return this; } /** + * + * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3408,12 +3883,14 @@ public Builder clearNotificationPubsubTopic() {
      * 
* * string notification_pubsub_topic = 15; + * * @param value The bytes for notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopicBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); notificationPubsubTopic_ = value; bitField0_ |= 0x00004000; @@ -3423,36 +3900,49 @@ public Builder setNotificationPubsubTopicBytes( private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> emailPreferencesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> + emailPreferencesBuilder_; /** + * + * *
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
      * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; + * * @return Whether the emailPreferences field is set. */ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * *
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
      * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; + * * @return The emailPreferences. */ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { if (emailPreferencesBuilder_ == null) { - return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; + return emailPreferences_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() + : emailPreferences_; } else { return emailPreferencesBuilder_.getMessage(); } } /** + * + * *
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3460,7 +3950,8 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPrefer
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public Builder setEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
+    public Builder setEmailPreferences(
+        com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
       if (emailPreferencesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3474,6 +3965,8 @@ public Builder setEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.Ema
       return this;
     }
     /**
+     *
+     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3493,6 +3986,8 @@ public Builder setEmailPreferences(
       return this;
     }
     /**
+     *
+     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3500,11 +3995,14 @@ public Builder setEmailPreferences(
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public Builder mergeEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
+    public Builder mergeEmailPreferences(
+        com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
       if (emailPreferencesBuilder_ == null) {
-        if (((bitField0_ & 0x00008000) != 0) &&
-          emailPreferences_ != null &&
-          emailPreferences_ != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()) {
+        if (((bitField0_ & 0x00008000) != 0)
+            && emailPreferences_ != null
+            && emailPreferences_
+                != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences
+                    .getDefaultInstance()) {
           getEmailPreferencesBuilder().mergeFrom(value);
         } else {
           emailPreferences_ = value;
@@ -3519,6 +4017,8 @@ public Builder mergeEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.E
       return this;
     }
     /**
+     *
+     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3537,6 +4037,8 @@ public Builder clearEmailPreferences() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3544,12 +4046,15 @@ public Builder clearEmailPreferences() {
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder getEmailPreferencesBuilder() {
+    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder
+        getEmailPreferencesBuilder() {
       bitField0_ |= 0x00008000;
       onChanged();
       return getEmailPreferencesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3557,15 +4062,19 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder getEma
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() {
+    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder
+        getEmailPreferencesOrBuilder() {
       if (emailPreferencesBuilder_ != null) {
         return emailPreferencesBuilder_.getMessageOrBuilder();
       } else {
-        return emailPreferences_ == null ?
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_;
+        return emailPreferences_ == null
+            ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()
+            : emailPreferences_;
       }
     }
     /**
+     *
+     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3574,14 +4083,17 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEm
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> 
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences,
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder,
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>
         getEmailPreferencesFieldBuilder() {
       if (emailPreferencesBuilder_ == null) {
-        emailPreferencesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>(
-                getEmailPreferences(),
-                getParentForChildren(),
-                isClean());
+        emailPreferencesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.bigquery.datatransfer.v1.EmailPreferences,
+                com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder,
+                com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>(
+                getEmailPreferences(), getParentForChildren(), isClean());
         emailPreferences_ = null;
       }
       return emailPreferencesBuilder_;
@@ -3589,45 +4101,64 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEm
 
     private com.google.cloud.bigquery.datatransfer.v1.UserInfo ownerInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.datatransfer.v1.UserInfo, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder> ownerInfoBuilder_;
+            com.google.cloud.bigquery.datatransfer.v1.UserInfo,
+            com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder,
+            com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder>
+        ownerInfoBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the ownerInfo field is set. */ public boolean hasOwnerInfo() { return ((bitField0_ & 0x00010000) != 0); } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The ownerInfo. */ public com.google.cloud.bigquery.datatransfer.v1.UserInfo getOwnerInfo() { if (ownerInfoBuilder_ == null) { - return ownerInfo_ == null ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; + return ownerInfo_ == null + ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() + : ownerInfo_; } else { return ownerInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo value) { if (ownerInfoBuilder_ == null) { @@ -3643,13 +4174,17 @@ public Builder setOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo v return this; } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOwnerInfo( com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder builderForValue) { @@ -3663,19 +4198,24 @@ public Builder setOwnerInfo( return this; } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo value) { if (ownerInfoBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) && - ownerInfo_ != null && - ownerInfo_ != com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00010000) != 0) + && ownerInfo_ != null + && ownerInfo_ + != com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) { getOwnerInfoBuilder().mergeFrom(value); } else { ownerInfo_ = value; @@ -3690,13 +4230,17 @@ public Builder mergeOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo return this; } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearOwnerInfo() { bitField0_ = (bitField0_ & ~0x00010000); @@ -3709,13 +4253,17 @@ public Builder clearOwnerInfo() { return this; } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder getOwnerInfoBuilder() { bitField0_ |= 0x00010000; @@ -3723,49 +4271,67 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder getOwnerInfoBu return getOwnerInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoOrBuilder() { if (ownerInfoBuilder_ != null) { return ownerInfoBuilder_.getMessageOrBuilder(); } else { - return ownerInfo_ == null ? - com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; + return ownerInfo_ == null + ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() + : ownerInfo_; } } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.UserInfo, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.UserInfo, + com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, + com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder> getOwnerInfoFieldBuilder() { if (ownerInfoBuilder_ == null) { - ownerInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.UserInfo, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder>( - getOwnerInfo(), - getParentForChildren(), - isClean()); + ownerInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.UserInfo, + com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, + com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder>( + getOwnerInfo(), getParentForChildren(), isClean()); ownerInfo_ = null; } return ownerInfoBuilder_; } - private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryptionConfiguration_; + private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + encryptionConfiguration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> encryptionConfigurationBuilder_; + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> + encryptionConfigurationBuilder_; /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3774,13 +4340,18 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoO
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * * @return Whether the encryptionConfiguration field is set. */ public boolean hasEncryptionConfiguration() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3789,17 +4360,25 @@ public boolean hasEncryptionConfiguration() {
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * * @return The encryptionConfiguration. */ - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncryptionConfiguration() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + getEncryptionConfiguration() { if (encryptionConfigurationBuilder_ == null) { - return encryptionConfiguration_ == null ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; + return encryptionConfiguration_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() + : encryptionConfiguration_; } else { return encryptionConfigurationBuilder_.getMessage(); } } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3808,9 +4387,12 @@ public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncr
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ - public Builder setEncryptionConfiguration(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { + public Builder setEncryptionConfiguration( + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { if (encryptionConfigurationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3824,6 +4406,8 @@ public Builder setEncryptionConfiguration(com.google.cloud.bigquery.datatransfer return this; } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3832,7 +4416,9 @@ public Builder setEncryptionConfiguration(com.google.cloud.bigquery.datatransfer
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ public Builder setEncryptionConfiguration( com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder builderForValue) { @@ -3846,6 +4432,8 @@ public Builder setEncryptionConfiguration( return this; } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3854,13 +4442,18 @@ public Builder setEncryptionConfiguration(
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ - public Builder mergeEncryptionConfiguration(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { + public Builder mergeEncryptionConfiguration( + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { if (encryptionConfigurationBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) && - encryptionConfiguration_ != null && - encryptionConfiguration_ != com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) + && encryptionConfiguration_ != null + && encryptionConfiguration_ + != com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + .getDefaultInstance()) { getEncryptionConfigurationBuilder().mergeFrom(value); } else { encryptionConfiguration_ = value; @@ -3875,6 +4468,8 @@ public Builder mergeEncryptionConfiguration(com.google.cloud.bigquery.datatransf return this; } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3883,7 +4478,9 @@ public Builder mergeEncryptionConfiguration(com.google.cloud.bigquery.datatransf
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ public Builder clearEncryptionConfiguration() { bitField0_ = (bitField0_ & ~0x00020000); @@ -3896,6 +4493,8 @@ public Builder clearEncryptionConfiguration() { return this; } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3904,14 +4503,19 @@ public Builder clearEncryptionConfiguration() {
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder getEncryptionConfigurationBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder + getEncryptionConfigurationBuilder() { bitField0_ |= 0x00020000; onChanged(); return getEncryptionConfigurationFieldBuilder().getBuilder(); } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3920,17 +4524,23 @@ public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder getEncryptionConfigurationOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder + getEncryptionConfigurationOrBuilder() { if (encryptionConfigurationBuilder_ != null) { return encryptionConfigurationBuilder_.getMessageOrBuilder(); } else { - return encryptionConfiguration_ == null ? - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; + return encryptionConfiguration_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() + : encryptionConfiguration_; } } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3939,24 +4549,29 @@ public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilde
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> getEncryptionConfigurationFieldBuilder() { if (encryptionConfigurationBuilder_ == null) { - encryptionConfigurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder>( - getEncryptionConfiguration(), - getParentForChildren(), - isClean()); + encryptionConfigurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder>( + getEncryptionConfiguration(), getParentForChildren(), isClean()); encryptionConfiguration_ = null; } return encryptionConfigurationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3966,12 +4581,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.TransferConfig) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.TransferConfig) private static final com.google.cloud.bigquery.datatransfer.v1.TransferConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.TransferConfig(); } @@ -3980,27 +4595,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4015,6 +4630,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java similarity index 81% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java index eb87cbb6c1d2..99e48ae5df33 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java @@ -1,14 +1,32 @@ +/* + * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface TransferConfigOrBuilder extends +public interface TransferConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.TransferConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -20,10 +38,13 @@ public interface TransferConfigOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -35,61 +56,76 @@ public interface TransferConfigOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; + * * @return Whether the destinationDatasetId field is set. */ boolean hasDestinationDatasetId(); /** + * + * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; + * * @return The destinationDatasetId. */ java.lang.String getDestinationDatasetId(); /** + * + * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; + * * @return The bytes for destinationDatasetId. */ - com.google.protobuf.ByteString - getDestinationDatasetIdBytes(); + com.google.protobuf.ByteString getDestinationDatasetIdBytes(); /** + * + * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -97,10 +133,13 @@ public interface TransferConfigOrBuilder extends
    * 
* * string data_source_id = 5; + * * @return The dataSourceId. */ java.lang.String getDataSourceId(); /** + * + * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -108,12 +147,14 @@ public interface TransferConfigOrBuilder extends
    * 
* * string data_source_id = 5; + * * @return The bytes for dataSourceId. */ - com.google.protobuf.ByteString - getDataSourceIdBytes(); + com.google.protobuf.ByteString getDataSourceIdBytes(); /** + * + * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -122,10 +163,13 @@ public interface TransferConfigOrBuilder extends
    * 
* * .google.protobuf.Struct params = 9; + * * @return Whether the params field is set. */ boolean hasParams(); /** + * + * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -134,10 +178,13 @@ public interface TransferConfigOrBuilder extends
    * 
* * .google.protobuf.Struct params = 9; + * * @return The params. */ com.google.protobuf.Struct getParams(); /** + * + * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -150,6 +197,8 @@ public interface TransferConfigOrBuilder extends
   com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -168,10 +217,13 @@ public interface TransferConfigOrBuilder extends
    * 
* * string schedule = 7; + * * @return The schedule. */ java.lang.String getSchedule(); /** + * + * *
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -190,30 +242,38 @@ public interface TransferConfigOrBuilder extends
    * 
* * string schedule = 7; + * * @return The bytes for schedule. */ - com.google.protobuf.ByteString - getScheduleBytes(); + com.google.protobuf.ByteString getScheduleBytes(); /** + * + * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; + * * @return Whether the scheduleOptions field is set. */ boolean hasScheduleOptions(); /** + * + * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; + * * @return The scheduleOptions. */ com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOptions(); /** + * + * *
    * Options customizing the data transfer schedule.
    * 
@@ -223,6 +283,8 @@ public interface TransferConfigOrBuilder extends com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getScheduleOptionsOrBuilder(); /** + * + * *
    * The number of days to look back to automatically refresh the data.
    * For example, if `data_refresh_window_days = 10`, then every day
@@ -233,125 +295,174 @@ public interface TransferConfigOrBuilder extends
    * 
* * int32 data_refresh_window_days = 12; + * * @return The dataRefreshWindowDays. */ int getDataRefreshWindowDays(); /** + * + * *
    * Is this config disabled. When set to true, no runs are scheduled
    * for a given transfer.
    * 
* * bool disabled = 13; + * * @return The disabled. */ boolean getDisabled(); /** + * + * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Next time when data transfer will run.
    * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the nextRunTime field is set. */ boolean hasNextRunTime(); /** + * + * *
    * Output only. Next time when data transfer will run.
    * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The nextRunTime. */ com.google.protobuf.Timestamp getNextRunTime(); /** + * + * *
    * Output only. Next time when data transfer will run.
    * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder(); /** + * + * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.bigquery.datatransfer.v1.TransferState getState(); /** + * + * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; + * * @return The userId. */ long getUserId(); /** + * + * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The datasetRegion. */ java.lang.String getDatasetRegion(); /** + * + * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for datasetRegion. */ - com.google.protobuf.ByteString - getDatasetRegionBytes(); + com.google.protobuf.ByteString getDatasetRegionBytes(); /** + * + * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -361,10 +472,13 @@ public interface TransferConfigOrBuilder extends
    * 
* * string notification_pubsub_topic = 15; + * * @return The notificationPubsubTopic. */ java.lang.String getNotificationPubsubTopic(); /** + * + * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -374,32 +488,40 @@ public interface TransferConfigOrBuilder extends
    * 
* * string notification_pubsub_topic = 15; + * * @return The bytes for notificationPubsubTopic. */ - com.google.protobuf.ByteString - getNotificationPubsubTopicBytes(); + com.google.protobuf.ByteString getNotificationPubsubTopicBytes(); /** + * + * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; + * * @return Whether the emailPreferences field is set. */ boolean hasEmailPreferences(); /** + * + * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; + * * @return The emailPreferences. */ com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences(); /** + * + * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
@@ -407,42 +529,59 @@ public interface TransferConfigOrBuilder extends
    *
    * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
    */
-  com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder();
+  com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder
+      getEmailPreferencesOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the ownerInfo field is set. */ boolean hasOwnerInfo(); /** + * + * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The ownerInfo. */ com.google.cloud.bigquery.datatransfer.v1.UserInfo getOwnerInfo(); /** + * + * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoOrBuilder(); /** + * + * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -451,11 +590,16 @@ public interface TransferConfigOrBuilder extends
    * otherwise try to apply project default keys if it is absent.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * * @return Whether the encryptionConfiguration field is set. */ boolean hasEncryptionConfiguration(); /** + * + * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -464,11 +608,16 @@ public interface TransferConfigOrBuilder extends
    * otherwise try to apply project default keys if it is absent.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * * @return The encryptionConfiguration. */ com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncryptionConfiguration(); /** + * + * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -477,9 +626,12 @@ public interface TransferConfigOrBuilder extends
    * otherwise try to apply project default keys if it is absent.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder getEncryptionConfigurationOrBuilder(); + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder + getEncryptionConfigurationOrBuilder(); com.google.cloud.bigquery.datatransfer.v1.TransferConfig.DestinationCase getDestinationCase(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java similarity index 68% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java index 4ce63973e0e7..0d168c1d6df6 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Represents a user facing message for a particular data transfer run.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferMessage} */ -public final class TransferMessage extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransferMessage extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.TransferMessage) TransferMessageOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferMessage.newBuilder() to construct. private TransferMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransferMessage() { severity_ = 0; messageText_ = ""; @@ -27,34 +45,38 @@ private TransferMessage() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferMessage(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); } /** + * + * *
    * Represents data transfer user facing message severity.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity} */ - public enum MessageSeverity - implements com.google.protobuf.ProtocolMessageEnum { + public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No severity specified.
      * 
@@ -63,6 +85,8 @@ public enum MessageSeverity */ MESSAGE_SEVERITY_UNSPECIFIED(0), /** + * + * *
      * Informational message.
      * 
@@ -71,6 +95,8 @@ public enum MessageSeverity */ INFO(1), /** + * + * *
      * Warning message.
      * 
@@ -79,6 +105,8 @@ public enum MessageSeverity */ WARNING(2), /** + * + * *
      * Error message.
      * 
@@ -90,6 +118,8 @@ public enum MessageSeverity ; /** + * + * *
      * No severity specified.
      * 
@@ -98,6 +128,8 @@ public enum MessageSeverity */ public static final int MESSAGE_SEVERITY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Informational message.
      * 
@@ -106,6 +138,8 @@ public enum MessageSeverity */ public static final int INFO_VALUE = 1; /** + * + * *
      * Warning message.
      * 
@@ -114,6 +148,8 @@ public enum MessageSeverity */ public static final int WARNING_VALUE = 2; /** + * + * *
      * Error message.
      * 
@@ -122,7 +158,6 @@ public enum MessageSeverity */ public static final int ERROR_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -147,41 +182,47 @@ public static MessageSeverity valueOf(int value) { */ public static MessageSeverity forNumber(int value) { switch (value) { - case 0: return MESSAGE_SEVERITY_UNSPECIFIED; - case 1: return INFO; - case 2: return WARNING; - case 3: return ERROR; - default: return null; + case 0: + return MESSAGE_SEVERITY_UNSPECIFIED; + case 1: + return INFO; + case 2: + return WARNING; + case 3: + return ERROR; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - MessageSeverity> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MessageSeverity findValueByNumber(int number) { - return MessageSeverity.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MessageSeverity findValueByNumber(int number) { + return MessageSeverity.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDescriptor() + .getEnumTypes() + .get(0); } private static final MessageSeverity[] VALUES = values(); @@ -189,8 +230,7 @@ public MessageSeverity findValueByNumber(int number) { public static MessageSeverity valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -211,11 +251,14 @@ private MessageSeverity(int value) { public static final int MESSAGE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp messageTime_; /** + * + * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; + * * @return Whether the messageTime field is set. */ @java.lang.Override @@ -223,11 +266,14 @@ public boolean hasMessageTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; + * * @return The messageTime. */ @java.lang.Override @@ -235,6 +281,8 @@ public com.google.protobuf.Timestamp getMessageTime() { return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; } /** + * + * *
    * Time when message was logged.
    * 
@@ -249,38 +297,56 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { public static final int SEVERITY_FIELD_NUMBER = 2; private int severity_ = 0; /** + * + * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @return The enum numeric value on the wire for severity. */ - @java.lang.Override public int getSeverityValue() { + @java.lang.Override + public int getSeverityValue() { return severity_; } /** + * + * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @return The severity. */ - @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity() { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber(severity_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity() { + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber( + severity_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED + : result; } public static final int MESSAGE_TEXT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object messageText_ = ""; /** + * + * *
    * Message text.
    * 
* * string message_text = 3; + * * @return The messageText. */ @java.lang.Override @@ -289,29 +355,29 @@ public java.lang.String getMessageText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); messageText_ = s; return s; } } /** + * + * *
    * Message text.
    * 
* * string message_text = 3; + * * @return The bytes for messageText. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageTextBytes() { + public com.google.protobuf.ByteString getMessageTextBytes() { java.lang.Object ref = messageText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); messageText_ = b; return b; } else { @@ -320,6 +386,7 @@ public java.lang.String getMessageText() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -331,12 +398,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getMessageTime()); } - if (severity_ != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.MESSAGE_SEVERITY_UNSPECIFIED.getNumber()) { + if (severity_ + != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity + .MESSAGE_SEVERITY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, severity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(messageText_)) { @@ -352,12 +421,13 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMessageTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMessageTime()); } - if (severity_ != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.MESSAGE_SEVERITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, severity_); + if (severity_ + != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity + .MESSAGE_SEVERITY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, severity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(messageText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, messageText_); @@ -370,21 +440,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.TransferMessage)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.TransferMessage other = (com.google.cloud.bigquery.datatransfer.v1.TransferMessage) obj; + com.google.cloud.bigquery.datatransfer.v1.TransferMessage other = + (com.google.cloud.bigquery.datatransfer.v1.TransferMessage) obj; if (hasMessageTime() != other.hasMessageTime()) return false; if (hasMessageTime()) { - if (!getMessageTime() - .equals(other.getMessageTime())) return false; + if (!getMessageTime().equals(other.getMessageTime())) return false; } if (severity_ != other.severity_) return false; - if (!getMessageText() - .equals(other.getMessageText())) return false; + if (!getMessageText().equals(other.getMessageText())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -410,119 +479,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage 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.TransferMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferMessage 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.TransferMessage 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.TransferMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage 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.TransferMessage 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.TransferMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.TransferMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferMessage prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a user facing message for a particular data transfer run.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferMessage} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.TransferMessage) com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.TransferMessage.newBuilder() @@ -530,17 +607,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMessageTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -556,9 +633,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; } @java.lang.Override @@ -577,8 +654,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage result = new com.google.cloud.bigquery.datatransfer.v1.TransferMessage(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.TransferMessage result = + new com.google.cloud.bigquery.datatransfer.v1.TransferMessage(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -587,9 +667,8 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferMes int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.messageTime_ = messageTimeBuilder_ == null - ? messageTime_ - : messageTimeBuilder_.build(); + result.messageTime_ = + messageTimeBuilder_ == null ? messageTime_ : messageTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { @@ -605,38 +684,39 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferMes public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.TransferMessage) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferMessage)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferMessage) other); } else { super.mergeFrom(other); return this; @@ -644,7 +724,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferMessage other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()) + return this; if (other.hasMessageTime()) { mergeMessageTime(other.getMessageTime()); } @@ -682,29 +763,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getMessageTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - severity_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - messageText_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getMessageTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + severity_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + messageText_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -714,38 +797,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp messageTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> messageTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + messageTimeBuilder_; /** + * + * *
      * Time when message was logged.
      * 
* * .google.protobuf.Timestamp message_time = 1; + * * @return Whether the messageTime field is set. */ public boolean hasMessageTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Time when message was logged.
      * 
* * .google.protobuf.Timestamp message_time = 1; + * * @return The messageTime. */ public com.google.protobuf.Timestamp getMessageTime() { if (messageTimeBuilder_ == null) { - return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; + return messageTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : messageTime_; } else { return messageTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when message was logged.
      * 
@@ -766,14 +863,15 @@ public Builder setMessageTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when message was logged.
      * 
* * .google.protobuf.Timestamp message_time = 1; */ - public Builder setMessageTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setMessageTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (messageTimeBuilder_ == null) { messageTime_ = builderForValue.build(); } else { @@ -784,6 +882,8 @@ public Builder setMessageTime( return this; } /** + * + * *
      * Time when message was logged.
      * 
@@ -792,9 +892,9 @@ public Builder setMessageTime( */ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { if (messageTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - messageTime_ != null && - messageTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && messageTime_ != null + && messageTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getMessageTimeBuilder().mergeFrom(value); } else { messageTime_ = value; @@ -809,6 +909,8 @@ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when message was logged.
      * 
@@ -826,6 +928,8 @@ public Builder clearMessageTime() { return this; } /** + * + * *
      * Time when message was logged.
      * 
@@ -838,6 +942,8 @@ public com.google.protobuf.Timestamp.Builder getMessageTimeBuilder() { return getMessageTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when message was logged.
      * 
@@ -848,11 +954,14 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { if (messageTimeBuilder_ != null) { return messageTimeBuilder_.getMessageOrBuilder(); } else { - return messageTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; + return messageTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : messageTime_; } } /** + * + * *
      * Time when message was logged.
      * 
@@ -860,14 +969,17 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { * .google.protobuf.Timestamp message_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getMessageTimeFieldBuilder() { if (messageTimeBuilder_ == null) { - messageTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getMessageTime(), - getParentForChildren(), - isClean()); + messageTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getMessageTime(), getParentForChildren(), isClean()); messageTime_ = null; } return messageTimeBuilder_; @@ -875,22 +987,31 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { private int severity_ = 0; /** + * + * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @return The enum numeric value on the wire for severity. */ - @java.lang.Override public int getSeverityValue() { + @java.lang.Override + public int getSeverityValue() { return severity_; } /** + * + * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @param value The enum numeric value on the wire for severity to set. * @return This builder for chaining. */ @@ -901,28 +1022,41 @@ public Builder setSeverityValue(int value) { return this; } /** + * + * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @return The severity. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity() { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber(severity_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED : result; + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber( + severity_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED + : result; } /** + * + * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity(com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { + public Builder setSeverity( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { if (value == null) { throw new NullPointerException(); } @@ -932,11 +1066,15 @@ public Builder setSeverity(com.google.cloud.bigquery.datatransfer.v1.TransferMes return this; } /** + * + * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @return This builder for chaining. */ public Builder clearSeverity() { @@ -948,18 +1086,20 @@ public Builder clearSeverity() { private java.lang.Object messageText_ = ""; /** + * + * *
      * Message text.
      * 
* * string message_text = 3; + * * @return The messageText. */ public java.lang.String getMessageText() { java.lang.Object ref = messageText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); messageText_ = s; return s; @@ -968,20 +1108,21 @@ public java.lang.String getMessageText() { } } /** + * + * *
      * Message text.
      * 
* * string message_text = 3; + * * @return The bytes for messageText. */ - public com.google.protobuf.ByteString - getMessageTextBytes() { + public com.google.protobuf.ByteString getMessageTextBytes() { java.lang.Object ref = messageText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); messageText_ = b; return b; } else { @@ -989,28 +1130,35 @@ public java.lang.String getMessageText() { } } /** + * + * *
      * Message text.
      * 
* * string message_text = 3; + * * @param value The messageText to set. * @return This builder for chaining. */ - public Builder setMessageText( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageText(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } messageText_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Message text.
      * 
* * string message_text = 3; + * * @return This builder for chaining. */ public Builder clearMessageText() { @@ -1020,26 +1168,30 @@ public Builder clearMessageText() { return this; } /** + * + * *
      * Message text.
      * 
* * string message_text = 3; + * * @param value The bytes for messageText to set. * @return This builder for chaining. */ - public Builder setMessageTextBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageTextBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); messageText_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1049,12 +1201,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.TransferMessage) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.TransferMessage) private static final com.google.cloud.bigquery.datatransfer.v1.TransferMessage DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.TransferMessage(); } @@ -1063,27 +1215,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1098,6 +1250,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java similarity index 66% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java index 467992092e26..0e9b4035b43e 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java @@ -1,32 +1,56 @@ +/* + * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface TransferMessageOrBuilder extends +public interface TransferMessageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.TransferMessage) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; + * * @return Whether the messageTime field is set. */ boolean hasMessageTime(); /** + * + * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; + * * @return The messageTime. */ com.google.protobuf.Timestamp getMessageTime(); /** + * + * *
    * Time when message was logged.
    * 
@@ -36,41 +60,54 @@ public interface TransferMessageOrBuilder extends com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder(); /** + * + * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @return The enum numeric value on the wire for severity. */ int getSeverityValue(); /** + * + * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @return The severity. */ com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity(); /** + * + * *
    * Message text.
    * 
* * string message_text = 3; + * * @return The messageText. */ java.lang.String getMessageText(); /** + * + * *
    * Message text.
    * 
* * string message_text = 3; + * * @return The bytes for messageText. */ - com.google.protobuf.ByteString - getMessageTextBytes(); + com.google.protobuf.ByteString getMessageTextBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java new file mode 100644 index 000000000000..3a9069e8b6f7 --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java @@ -0,0 +1,266 @@ +/* + * 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/transfer.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.datatransfer.v1; + +public final class TransferProto { + private TransferProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n4google/cloud/bigquery/datatransfer/v1/" + + "transfer.proto\022%google.cloud.bigquery.da" + + "tatransfer.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\034googl" + + "e/protobuf/struct.proto\032\037google/protobuf" + + "/timestamp.proto\032\036google/protobuf/wrappe" + + "rs.proto\032\027google/rpc/status.proto\"0\n\020Ema" + + "ilPreferences\022\034\n\024enable_failure_email\030\001 " + + "\001(\010\"\220\001\n\017ScheduleOptions\022\037\n\027disable_auto_" + + "scheduling\030\003 \001(\010\022.\n\nstart_time\030\001 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022,\n\010end_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\"(\n\010UserIn" + + "fo\022\022\n\005email\030\001 \001(\tH\000\210\001\001B\010\n\006_email\"\227\010\n\016Tra" + + "nsferConfig\022\014\n\004name\030\001 \001(\t\022 \n\026destination" + + "_dataset_id\030\002 \001(\tH\000\022\024\n\014display_name\030\003 \001(" + + "\t\022\026\n\016data_source_id\030\005 \001(\t\022\'\n\006params\030\t \001(" + + "\0132\027.google.protobuf.Struct\022\020\n\010schedule\030\007" + + " \001(\t\022P\n\020schedule_options\030\030 \001(\01326.google." + + "cloud.bigquery.datatransfer.v1.ScheduleO" + + "ptions\022 \n\030data_refresh_window_days\030\014 \001(\005" + + "\022\020\n\010disabled\030\r \001(\010\0224\n\013update_time\030\004 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\0226\n\rnext" + + "_run_time\030\010 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022H\n\005state\030\n \001(\01624.google.cloud.b" + + "igquery.datatransfer.v1.TransferStateB\003\340" + + "A\003\022\017\n\007user_id\030\013 \001(\003\022\033\n\016dataset_region\030\016 " + + "\001(\tB\003\340A\003\022!\n\031notification_pubsub_topic\030\017 " + + "\001(\t\022R\n\021email_preferences\030\022 \001(\01327.google." + + "cloud.bigquery.datatransfer.v1.EmailPref" + + "erences\022M\n\nowner_info\030\033 \001(\0132/.google.clo" + + "ud.bigquery.datatransfer.v1.UserInfoB\003\340A" + + "\003H\001\210\001\001\022`\n\030encryption_configuration\030\034 \001(\013" + + "2>.google.cloud.bigquery.datatransfer.v1" + + ".EncryptionConfiguration:\271\001\352A\265\001\n2bigquer" + + "ydatatransfer.googleapis.com/TransferCon" + + "fig\0224projects/{project}/transferConfigs/" + + "{transfer_config}\022Iprojects/{project}/lo" + + "cations/{location}/transferConfigs/{tran" + + "sfer_config}B\r\n\013destinationB\r\n\013_owner_in" + + "fo\"M\n\027EncryptionConfiguration\0222\n\014kms_key" + + "_name\030\001 \001(\0132\034.google.protobuf.StringValu" + + "e\"\372\006\n\013TransferRun\022\014\n\004name\030\001 \001(\t\0221\n\rsched" + + "ule_time\030\003 \001(\0132\032.google.protobuf.Timesta" + + "mp\022,\n\010run_time\030\n \001(\0132\032.google.protobuf.T" + + "imestamp\022(\n\014error_status\030\025 \001(\0132\022.google." + + "rpc.Status\0223\n\nstart_time\030\004 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" + + "date_time\030\006 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022,\n\006params\030\t \001(\0132\027.google.protob" + + "uf.StructB\003\340A\003\022%\n\026destination_dataset_id" + + "\030\002 \001(\tB\003\340A\003H\000\022\033\n\016data_source_id\030\007 \001(\tB\003\340" + + "A\003\022C\n\005state\030\010 \001(\01624.google.cloud.bigquer" + + "y.datatransfer.v1.TransferState\022\017\n\007user_" + + "id\030\013 \001(\003\022\025\n\010schedule\030\014 \001(\tB\003\340A\003\022&\n\031notif" + + "ication_pubsub_topic\030\027 \001(\tB\003\340A\003\022W\n\021email" + + "_preferences\030\031 \001(\01327.google.cloud.bigque" + + "ry.datatransfer.v1.EmailPreferencesB\003\340A\003" + + ":\304\001\352A\300\001\n\'bigquerydatatransfer.googleapis" + + ".com/Run\022?projects/{project}/transferCon" + + "figs/{transfer_config}/runs/{run}\022Tproje" + + "cts/{project}/locations/{location}/trans" + + "ferConfigs/{transfer_config}/runs/{run}B" + + "\r\n\013destination\"\212\002\n\017TransferMessage\0220\n\014me" + + "ssage_time\030\001 \001(\0132\032.google.protobuf.Times" + + "tamp\022X\n\010severity\030\002 \001(\0162F.google.cloud.bi" + + "gquery.datatransfer.v1.TransferMessage.M" + + "essageSeverity\022\024\n\014message_text\030\003 \001(\t\"U\n\017" + + "MessageSeverity\022 \n\034MESSAGE_SEVERITY_UNSP" + + "ECIFIED\020\000\022\010\n\004INFO\020\001\022\013\n\007WARNING\020\002\022\t\n\005ERRO" + + "R\020\003*K\n\014TransferType\022\035\n\031TRANSFER_TYPE_UNS" + + "PECIFIED\020\000\022\t\n\005BATCH\020\001\022\r\n\tSTREAMING\020\002\032\002\030\001" + + "*s\n\rTransferState\022\036\n\032TRANSFER_STATE_UNSP" + + "ECIFIED\020\000\022\013\n\007PENDING\020\002\022\013\n\007RUNNING\020\003\022\r\n\tS" + + "UCCEEDED\020\004\022\n\n\006FAILED\020\005\022\r\n\tCANCELLED\020\006B\217\002" + + "\n)com.google.cloud.bigquery.datatransfer" + + ".v1B\rTransferProtoP\001ZMcloud.google.com/g" + + "o/bigquery/datatransfer/apiv1/datatransf" + + "erpb;datatransferpb\242\002\005GCBDT\252\002%Google.Clo" + + "ud.BigQuery.DataTransfer.V1\312\002%Google\\Clo" + + "ud\\BigQuery\\DataTransfer\\V1\352\002)Google::Cl" + + "oud::Bigquery::DataTransfer::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor, + new java.lang.String[] { + "EnableFailureEmail", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor, + new java.lang.String[] { + "DisableAutoScheduling", "StartTime", "EndTime", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor, + new java.lang.String[] { + "Email", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor, + new java.lang.String[] { + "Name", + "DestinationDatasetId", + "DisplayName", + "DataSourceId", + "Params", + "Schedule", + "ScheduleOptions", + "DataRefreshWindowDays", + "Disabled", + "UpdateTime", + "NextRunTime", + "State", + "UserId", + "DatasetRegion", + "NotificationPubsubTopic", + "EmailPreferences", + "OwnerInfo", + "EncryptionConfiguration", + "Destination", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor, + new java.lang.String[] { + "KmsKeyName", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor, + new java.lang.String[] { + "Name", + "ScheduleTime", + "RunTime", + "ErrorStatus", + "StartTime", + "EndTime", + "UpdateTime", + "Params", + "DestinationDatasetId", + "DataSourceId", + "State", + "UserId", + "Schedule", + "NotificationPubsubTopic", + "EmailPreferences", + "Destination", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor, + new java.lang.String[] { + "MessageTime", "Severity", "MessageText", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java similarity index 73% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java index 0d224cd7fb9c..dfc9bdceaa34 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Represents a data transfer run.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferRun} */ -public final class TransferRun extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransferRun extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.TransferRun) TransferRunOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferRun.newBuilder() to construct. private TransferRun(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransferRun() { name_ = ""; dataSourceId_ = ""; @@ -30,34 +48,39 @@ private TransferRun() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferRun(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); } private int bitField0_; private int destinationCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object destination_; + public enum DestinationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DESTINATION_DATASET_ID(2), DESTINATION_NOT_SET(0); private final int value; + private DestinationCase(int value) { this.value = value; } @@ -73,26 +96,31 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 2: return DESTINATION_DATASET_ID; - case 0: return DESTINATION_NOT_SET; - default: return null; + case 2: + return DESTINATION_DATASET_ID; + case 0: + return DESTINATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -101,6 +129,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,14 +138,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -125,16 +155,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -145,11 +174,14 @@ public java.lang.String getName() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -157,18 +189,25 @@ public boolean hasScheduleTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Minimum time after which a transfer run can be started.
    * 
@@ -177,18 +216,23 @@ public com.google.protobuf.Timestamp getScheduleTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } public static final int RUN_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp runTime_; /** + * + * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; + * * @return Whether the runTime field is set. */ @java.lang.Override @@ -196,12 +240,15 @@ public boolean hasRunTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; + * * @return The runTime. */ @java.lang.Override @@ -209,6 +256,8 @@ public com.google.protobuf.Timestamp getRunTime() { return runTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runTime_; } /** + * + * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
@@ -224,11 +273,14 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
   public static final int ERROR_STATUS_FIELD_NUMBER = 21;
   private com.google.rpc.Status errorStatus_;
   /**
+   *
+   *
    * 
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; + * * @return Whether the errorStatus field is set. */ @java.lang.Override @@ -236,11 +288,14 @@ public boolean hasErrorStatus() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; + * * @return The errorStatus. */ @java.lang.Override @@ -248,6 +303,8 @@ public com.google.rpc.Status getErrorStatus() { return errorStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : errorStatus_; } /** + * + * *
    * Status of the transfer run.
    * 
@@ -262,12 +319,16 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -275,12 +336,16 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ @java.lang.Override @@ -288,12 +353,15 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -303,12 +371,16 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -316,12 +388,16 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -329,12 +405,15 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -344,11 +423,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -356,11 +439,15 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -368,11 +455,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -382,6 +472,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int PARAMS_FIELD_NUMBER = 9; private com.google.protobuf.Struct params_; /** + * + * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -391,6 +483,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the params field is set. */ @java.lang.Override @@ -398,6 +491,8 @@ public boolean hasParams() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -407,6 +502,7 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The params. */ @java.lang.Override @@ -414,6 +510,8 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** + * + * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -431,22 +529,28 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
 
   public static final int DESTINATION_DATASET_ID_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the destinationDatasetId field is set. */ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** + * + * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The destinationDatasetId. */ public java.lang.String getDestinationDatasetId() { @@ -457,8 +561,7 @@ public java.lang.String getDestinationDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -467,23 +570,24 @@ public java.lang.String getDestinationDatasetId() { } } /** + * + * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for destinationDatasetId. */ - public com.google.protobuf.ByteString - getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -494,14 +598,18 @@ public java.lang.String getDestinationDatasetId() { } public static final int DATA_SOURCE_ID_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object dataSourceId_ = ""; /** + * + * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dataSourceId. */ @java.lang.Override @@ -510,29 +618,29 @@ public java.lang.String getDataSourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; } } /** + * + * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dataSourceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataSourceIdBytes() { + public com.google.protobuf.ByteString getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -543,37 +651,51 @@ public java.lang.String getDataSourceId() { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** + * + * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @return The state. */ - @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { + com.google.cloud.bigquery.datatransfer.v1.TransferState result = + com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED + : result; } public static final int USER_ID_FIELD_NUMBER = 11; private long userId_ = 0L; /** + * + * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; + * * @return The userId. */ @java.lang.Override @@ -582,9 +704,12 @@ public long getUserId() { } public static final int SCHEDULE_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object schedule_ = ""; /** + * + * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -594,6 +719,7 @@ public long getUserId() {
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The schedule. */ @java.lang.Override @@ -602,14 +728,15 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; } } /** + * + * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -619,16 +746,15 @@ public java.lang.String getSchedule() {
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schedule_ = b; return b; } else { @@ -637,9 +763,12 @@ public java.lang.String getSchedule() { } public static final int NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER = 23; + @SuppressWarnings("serial") private volatile java.lang.Object notificationPubsubTopic_ = ""; /** + * + * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -648,7 +777,9 @@ public java.lang.String getSchedule() {
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The notificationPubsubTopic. */ @java.lang.Override @@ -657,14 +788,15 @@ public java.lang.String getNotificationPubsubTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; } } /** + * + * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -673,17 +805,17 @@ public java.lang.String getNotificationPubsubTopic() {
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for notificationPubsubTopic. */ @java.lang.Override - public com.google.protobuf.ByteString - getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -694,13 +826,18 @@ public java.lang.String getNotificationPubsubTopic() { public static final int EMAIL_PREFERENCES_FIELD_NUMBER = 25; private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; /** + * + * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the emailPreferences field is set. */ @java.lang.Override @@ -708,34 +845,49 @@ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The emailPreferences. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { - return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; + return emailPreferences_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() + : emailPreferences_; } /** + * + * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() { - return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; + public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder + getEmailPreferencesOrBuilder() { + return emailPreferences_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() + : emailPreferences_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -747,8 +899,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -770,7 +921,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, dataSourceId_); } - if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(8, state_); } if (((bitField0_ & 0x00000040) != 0)) { @@ -810,53 +963,46 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destination_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getScheduleTime()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartTime()); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndTime()); } if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, dataSourceId_); } - if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, state_); + if (state_ + != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); } if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getParams()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getParams()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getRunTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getRunTime()); } if (userId_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(11, userId_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, userId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schedule_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, schedule_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getErrorStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getErrorStatus()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(notificationPubsubTopic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, notificationPubsubTopic_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(23, notificationPubsubTopic_); } if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, getEmailPreferences()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getEmailPreferences()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -866,69 +1012,56 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.TransferRun)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.TransferRun other = (com.google.cloud.bigquery.datatransfer.v1.TransferRun) obj; + com.google.cloud.bigquery.datatransfer.v1.TransferRun other = + (com.google.cloud.bigquery.datatransfer.v1.TransferRun) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (hasRunTime() != other.hasRunTime()) return false; if (hasRunTime()) { - if (!getRunTime() - .equals(other.getRunTime())) return false; + if (!getRunTime().equals(other.getRunTime())) return false; } if (hasErrorStatus() != other.hasErrorStatus()) return false; if (hasErrorStatus()) { - if (!getErrorStatus() - .equals(other.getErrorStatus())) return false; + if (!getErrorStatus().equals(other.getErrorStatus())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasParams() != other.hasParams()) return false; if (hasParams()) { - if (!getParams() - .equals(other.getParams())) return false; + if (!getParams().equals(other.getParams())) return false; } - if (!getDataSourceId() - .equals(other.getDataSourceId())) return false; + if (!getDataSourceId().equals(other.getDataSourceId())) return false; if (state_ != other.state_) return false; - if (getUserId() - != other.getUserId()) return false; - if (!getSchedule() - .equals(other.getSchedule())) return false; - if (!getNotificationPubsubTopic() - .equals(other.getNotificationPubsubTopic())) return false; + if (getUserId() != other.getUserId()) return false; + if (!getSchedule().equals(other.getSchedule())) return false; + if (!getNotificationPubsubTopic().equals(other.getNotificationPubsubTopic())) return false; if (hasEmailPreferences() != other.hasEmailPreferences()) return false; if (hasEmailPreferences()) { - if (!getEmailPreferences() - .equals(other.getEmailPreferences())) return false; + if (!getEmailPreferences().equals(other.getEmailPreferences())) return false; } if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 2: - if (!getDestinationDatasetId() - .equals(other.getDestinationDatasetId())) return false; + if (!getDestinationDatasetId().equals(other.getDestinationDatasetId())) return false; break; case 0: default: @@ -979,8 +1112,7 @@ public int hashCode() { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + USER_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getUserId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserId()); hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getSchedule().hashCode(); hash = (37 * hash) + NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER; @@ -1003,119 +1135,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferRun parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferRun 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.TransferRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferRun 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.TransferRun 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.TransferRun parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferRun 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.TransferRun 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.TransferRun parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.TransferRun parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferRun prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a data transfer run.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferRun} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.TransferRun) com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.TransferRun.newBuilder() @@ -1123,14 +1263,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getScheduleTimeFieldBuilder(); getRunTimeFieldBuilder(); getErrorStatusFieldBuilder(); @@ -1141,6 +1280,7 @@ private void maybeForceBuilderInitialization() { getEmailPreferencesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1197,9 +1337,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; } @java.lang.Override @@ -1218,8 +1358,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferRun buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.TransferRun result = new com.google.cloud.bigquery.datatransfer.v1.TransferRun(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.TransferRun result = + new com.google.cloud.bigquery.datatransfer.v1.TransferRun(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1232,45 +1375,33 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferRun } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.scheduleTime_ = scheduleTimeBuilder_ == null - ? scheduleTime_ - : scheduleTimeBuilder_.build(); + result.scheduleTime_ = + scheduleTimeBuilder_ == null ? scheduleTime_ : scheduleTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.runTime_ = runTimeBuilder_ == null - ? runTime_ - : runTimeBuilder_.build(); + result.runTime_ = runTimeBuilder_ == null ? runTime_ : runTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.errorStatus_ = errorStatusBuilder_ == null - ? errorStatus_ - : errorStatusBuilder_.build(); + result.errorStatus_ = + errorStatusBuilder_ == null ? errorStatus_ : errorStatusBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.params_ = paramsBuilder_ == null - ? params_ - : paramsBuilder_.build(); + result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build(); to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000200) != 0)) { @@ -1289,9 +1420,8 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferRun result.notificationPubsubTopic_ = notificationPubsubTopic_; } if (((from_bitField0_ & 0x00004000) != 0)) { - result.emailPreferences_ = emailPreferencesBuilder_ == null - ? emailPreferences_ - : emailPreferencesBuilder_.build(); + result.emailPreferences_ = + emailPreferencesBuilder_ == null ? emailPreferences_ : emailPreferencesBuilder_.build(); to_bitField0_ |= 0x00000080; } result.bitField0_ |= to_bitField0_; @@ -1306,38 +1436,39 @@ private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.Transf public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.TransferRun) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferRun)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferRun) other); } else { super.mergeFrom(other); return this; @@ -1345,7 +1476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferRun other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1397,15 +1529,17 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferRun o mergeEmailPreferences(other.getEmailPreferences()); } switch (other.getDestinationCase()) { - case DESTINATION_DATASET_ID: { - destinationCase_ = 2; - destination_ = other.destination_; - onChanged(); - break; - } - case DESTINATION_NOT_SET: { - break; - } + case DESTINATION_DATASET_ID: + { + destinationCase_ = 2; + destination_ = other.destination_; + onChanged(); + break; + } + case DESTINATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1433,104 +1567,105 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - destinationCase_ = 2; - destination_ = s; - break; - } // case 18 - case 26: { - input.readMessage( - getScheduleTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 50: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 58: { - dataSourceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 58 - case 64: { - state_ = input.readEnum(); - bitField0_ |= 0x00000400; - break; - } // case 64 - case 74: { - input.readMessage( - getParamsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 74 - case 82: { - input.readMessage( - getRunTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 82 - case 88: { - userId_ = input.readInt64(); - bitField0_ |= 0x00000800; - break; - } // case 88 - case 98: { - schedule_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 98 - case 170: { - input.readMessage( - getErrorStatusFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 170 - case 186: { - notificationPubsubTopic_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 186 - case 202: { - input.readMessage( - getEmailPreferencesFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 202 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + destinationCase_ = 2; + destination_ = s; + break; + } // case 18 + case 26: + { + input.readMessage(getScheduleTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 50: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 58: + { + dataSourceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 58 + case 64: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000400; + break; + } // case 64 + case 74: + { + input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: + { + input.readMessage(getRunTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 82 + case 88: + { + userId_ = input.readInt64(); + bitField0_ |= 0x00000800; + break; + } // case 88 + case 98: + { + schedule_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 98 + case 170: + { + input.readMessage(getErrorStatusFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 170 + case 186: + { + notificationPubsubTopic_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 186 + case 202: + { + input.readMessage( + getEmailPreferencesFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 202 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1540,12 +1675,12 @@ public Builder mergeFrom( } // finally return this; } + private int destinationCase_ = 0; private java.lang.Object destination_; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public Builder clearDestination() { @@ -1559,6 +1694,8 @@ public Builder clearDestination() { private java.lang.Object name_ = ""; /** + * + * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1567,13 +1704,13 @@ public Builder clearDestination() {
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1582,6 +1719,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1590,15 +1729,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1606,6 +1744,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1614,18 +1754,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1634,6 +1778,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1643,6 +1788,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1651,12 +1798,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1666,34 +1815,47 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
* * .google.protobuf.Timestamp schedule_time = 3; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
* * .google.protobuf.Timestamp schedule_time = 3; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1714,14 +1876,15 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
* * .google.protobuf.Timestamp schedule_time = 3; */ - public Builder setScheduleTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); } else { @@ -1732,6 +1895,8 @@ public Builder setScheduleTime( return this; } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1740,9 +1905,9 @@ public Builder setScheduleTime( */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - scheduleTime_ != null && - scheduleTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && scheduleTime_ != null + && scheduleTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getScheduleTimeBuilder().mergeFrom(value); } else { scheduleTime_ = value; @@ -1757,6 +1922,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1774,6 +1941,8 @@ public Builder clearScheduleTime() { return this; } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1786,6 +1955,8 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { return getScheduleTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1796,11 +1967,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1808,14 +1982,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { * .google.protobuf.Timestamp schedule_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), - getParentForChildren(), - isClean()); + scheduleTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), getParentForChildren(), isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -1823,26 +2000,35 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private com.google.protobuf.Timestamp runTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> runTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + runTimeBuilder_; /** + * + * *
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
      * 
* * .google.protobuf.Timestamp run_time = 10; + * * @return Whether the runTime field is set. */ public boolean hasRunTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
      * 
* * .google.protobuf.Timestamp run_time = 10; + * * @return The runTime. */ public com.google.protobuf.Timestamp getRunTime() { @@ -1853,6 +2039,8 @@ public com.google.protobuf.Timestamp getRunTime() { } } /** + * + * *
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -1874,6 +2062,8 @@ public Builder setRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -1881,8 +2071,7 @@ public Builder setRunTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp run_time = 10;
      */
-    public Builder setRunTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setRunTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (runTimeBuilder_ == null) {
         runTime_ = builderForValue.build();
       } else {
@@ -1893,6 +2082,8 @@ public Builder setRunTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -1902,9 +2093,9 @@ public Builder setRunTime(
      */
     public Builder mergeRunTime(com.google.protobuf.Timestamp value) {
       if (runTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          runTime_ != null &&
-          runTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && runTime_ != null
+            && runTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getRunTimeBuilder().mergeFrom(value);
         } else {
           runTime_ = value;
@@ -1919,6 +2110,8 @@ public Builder mergeRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -1937,6 +2130,8 @@ public Builder clearRunTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -1950,6 +2145,8 @@ public com.google.protobuf.Timestamp.Builder getRunTimeBuilder() {
       return getRunTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -1961,11 +2158,12 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
       if (runTimeBuilder_ != null) {
         return runTimeBuilder_.getMessageOrBuilder();
       } else {
-        return runTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : runTime_;
+        return runTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runTime_;
       }
     }
     /**
+     *
+     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -1974,14 +2172,17 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
      * .google.protobuf.Timestamp run_time = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getRunTimeFieldBuilder() {
       if (runTimeBuilder_ == null) {
-        runTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getRunTime(),
-                getParentForChildren(),
-                isClean());
+        runTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getRunTime(), getParentForChildren(), isClean());
         runTime_ = null;
       }
       return runTimeBuilder_;
@@ -1989,24 +2190,31 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
 
     private com.google.rpc.Status errorStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorStatusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        errorStatusBuilder_;
     /**
+     *
+     *
      * 
      * Status of the transfer run.
      * 
* * .google.rpc.Status error_status = 21; + * * @return Whether the errorStatus field is set. */ public boolean hasErrorStatus() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Status of the transfer run.
      * 
* * .google.rpc.Status error_status = 21; + * * @return The errorStatus. */ public com.google.rpc.Status getErrorStatus() { @@ -2017,6 +2225,8 @@ public com.google.rpc.Status getErrorStatus() { } } /** + * + * *
      * Status of the transfer run.
      * 
@@ -2037,14 +2247,15 @@ public Builder setErrorStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Status of the transfer run.
      * 
* * .google.rpc.Status error_status = 21; */ - public Builder setErrorStatus( - com.google.rpc.Status.Builder builderForValue) { + public Builder setErrorStatus(com.google.rpc.Status.Builder builderForValue) { if (errorStatusBuilder_ == null) { errorStatus_ = builderForValue.build(); } else { @@ -2055,6 +2266,8 @@ public Builder setErrorStatus( return this; } /** + * + * *
      * Status of the transfer run.
      * 
@@ -2063,9 +2276,9 @@ public Builder setErrorStatus( */ public Builder mergeErrorStatus(com.google.rpc.Status value) { if (errorStatusBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - errorStatus_ != null && - errorStatus_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && errorStatus_ != null + && errorStatus_ != com.google.rpc.Status.getDefaultInstance()) { getErrorStatusBuilder().mergeFrom(value); } else { errorStatus_ = value; @@ -2080,6 +2293,8 @@ public Builder mergeErrorStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Status of the transfer run.
      * 
@@ -2097,6 +2312,8 @@ public Builder clearErrorStatus() { return this; } /** + * + * *
      * Status of the transfer run.
      * 
@@ -2109,6 +2326,8 @@ public com.google.rpc.Status.Builder getErrorStatusBuilder() { return getErrorStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Status of the transfer run.
      * 
@@ -2119,11 +2338,12 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { if (errorStatusBuilder_ != null) { return errorStatusBuilder_.getMessageOrBuilder(); } else { - return errorStatus_ == null ? - com.google.rpc.Status.getDefaultInstance() : errorStatus_; + return errorStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : errorStatus_; } } /** + * + * *
      * Status of the transfer run.
      * 
@@ -2131,14 +2351,15 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { * .google.rpc.Status error_status = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorStatusFieldBuilder() { if (errorStatusBuilder_ == null) { - errorStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getErrorStatus(), - getParentForChildren(), - isClean()); + errorStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>( + getErrorStatus(), getParentForChildren(), isClean()); errorStatus_ = null; } return errorStatusBuilder_; @@ -2146,26 +2367,37 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2176,12 +2408,15 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -2197,15 +2432,17 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -2216,18 +2453,21 @@ public Builder setStartTime( return this; } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -2242,12 +2482,15 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2260,12 +2503,15 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000010; @@ -2273,38 +2519,46 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -2312,26 +2566,37 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2342,12 +2607,15 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -2363,15 +2631,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -2382,18 +2652,21 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -2408,12 +2681,15 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2426,12 +2702,15 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000020; @@ -2439,38 +2718,46 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -2478,39 +2765,58 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2526,14 +2832,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2544,17 +2853,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2569,11 +2882,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2586,11 +2903,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000040; @@ -2598,36 +2919,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2635,8 +2968,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + paramsBuilder_; /** + * + * *
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2646,12 +2984,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2661,6 +3002,7 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -2671,6 +3013,8 @@ public com.google.protobuf.Struct getParams() { } } /** + * + * *
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2695,6 +3039,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2705,8 +3051,7 @@ public Builder setParams(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
-    public Builder setParams(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
       if (paramsBuilder_ == null) {
         params_ = builderForValue.build();
       } else {
@@ -2717,6 +3062,8 @@ public Builder setParams(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2729,9 +3076,9 @@ public Builder setParams(
      */
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
-        if (((bitField0_ & 0x00000080) != 0) &&
-          params_ != null &&
-          params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000080) != 0)
+            && params_ != null
+            && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getParamsBuilder().mergeFrom(value);
         } else {
           params_ = value;
@@ -2746,6 +3093,8 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2767,6 +3116,8 @@ public Builder clearParams() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2783,6 +3134,8 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
       return getParamsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2797,11 +3150,12 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       if (paramsBuilder_ != null) {
         return paramsBuilder_.getMessageOrBuilder();
       } else {
-        return params_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : params_;
+        return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2813,25 +3167,31 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getParamsFieldBuilder() {
       if (paramsBuilder_ == null) {
-        paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getParams(),
-                getParentForChildren(),
-                isClean());
+        paramsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                getParams(), getParentForChildren(), isClean());
         params_ = null;
       }
       return paramsBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the destinationDatasetId field is set. */ @java.lang.Override @@ -2839,11 +3199,14 @@ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** + * + * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The destinationDatasetId. */ @java.lang.Override @@ -2853,8 +3216,7 @@ public java.lang.String getDestinationDatasetId() { ref = destination_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -2865,24 +3227,25 @@ public java.lang.String getDestinationDatasetId() { } } /** + * + * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for destinationDatasetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -2892,28 +3255,35 @@ public java.lang.String getDestinationDatasetId() { } } /** + * + * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationDatasetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationCase_ = 2; destination_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDestinationDatasetId() { @@ -2925,17 +3295,21 @@ public Builder clearDestinationDatasetId() { return this; } /** + * + * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationCase_ = 2; destination_ = value; @@ -2945,18 +3319,20 @@ public Builder setDestinationDatasetIdBytes( private java.lang.Object dataSourceId_ = ""; /** + * + * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dataSourceId. */ public java.lang.String getDataSourceId() { java.lang.Object ref = dataSourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; @@ -2965,20 +3341,21 @@ public java.lang.String getDataSourceId() { } } /** + * + * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dataSourceId. */ - public com.google.protobuf.ByteString - getDataSourceIdBytes() { + public com.google.protobuf.ByteString getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -2986,28 +3363,35 @@ public java.lang.String getDataSourceId() { } } /** + * + * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSourceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataSourceId_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDataSourceId() { @@ -3017,17 +3401,21 @@ public Builder clearDataSourceId() { return this; } /** + * + * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataSourceId_ = value; bitField0_ |= 0x00000200; @@ -3037,22 +3425,29 @@ public Builder setDataSourceIdBytes( private int state_ = 0; /** + * + * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3063,24 +3458,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; + com.google.cloud.bigquery.datatransfer.v1.TransferState result = + com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED + : result; } /** + * + * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @param value The state to set. * @return This builder for chaining. */ @@ -3094,11 +3498,14 @@ public Builder setState(com.google.cloud.bigquery.datatransfer.v1.TransferState return this; } /** + * + * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @return This builder for chaining. */ public Builder clearState() { @@ -3108,13 +3515,16 @@ public Builder clearState() { return this; } - private long userId_ ; + private long userId_; /** + * + * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; + * * @return The userId. */ @java.lang.Override @@ -3122,11 +3532,14 @@ public long getUserId() { return userId_; } /** + * + * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; + * * @param value The userId to set. * @return This builder for chaining. */ @@ -3138,11 +3551,14 @@ public Builder setUserId(long value) { return this; } /** + * + * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; + * * @return This builder for chaining. */ public Builder clearUserId() { @@ -3154,6 +3570,8 @@ public Builder clearUserId() { private java.lang.Object schedule_ = ""; /** + * + * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3163,13 +3581,13 @@ public Builder clearUserId() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The schedule. */ public java.lang.String getSchedule() { java.lang.Object ref = schedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; @@ -3178,6 +3596,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3187,15 +3607,14 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schedule_ = b; return b; } else { @@ -3203,6 +3622,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3212,18 +3633,22 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSchedule(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } schedule_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3233,6 +3658,7 @@ public Builder setSchedule(
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -3242,6 +3668,8 @@ public Builder clearSchedule() { return this; } /** + * + * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3251,12 +3679,14 @@ public Builder clearSchedule() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setScheduleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); schedule_ = value; bitField0_ |= 0x00001000; @@ -3266,6 +3696,8 @@ public Builder setScheduleBytes( private java.lang.Object notificationPubsubTopic_ = ""; /** + * + * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3274,14 +3706,15 @@ public Builder setScheduleBytes(
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The notificationPubsubTopic. */ public java.lang.String getNotificationPubsubTopic() { java.lang.Object ref = notificationPubsubTopic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; @@ -3290,6 +3723,8 @@ public java.lang.String getNotificationPubsubTopic() { } } /** + * + * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3298,16 +3733,16 @@ public java.lang.String getNotificationPubsubTopic() {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for notificationPubsubTopic. */ - public com.google.protobuf.ByteString - getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -3315,6 +3750,8 @@ public java.lang.String getNotificationPubsubTopic() { } } /** + * + * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3323,19 +3760,24 @@ public java.lang.String getNotificationPubsubTopic() {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopic( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNotificationPubsubTopic(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } notificationPubsubTopic_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3344,7 +3786,9 @@ public Builder setNotificationPubsubTopic(
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearNotificationPubsubTopic() { @@ -3354,6 +3798,8 @@ public Builder clearNotificationPubsubTopic() { return this; } /** + * + * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3362,13 +3808,16 @@ public Builder clearNotificationPubsubTopic() {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopicBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); notificationPubsubTopic_ = value; bitField0_ |= 0x00002000; @@ -3378,47 +3827,67 @@ public Builder setNotificationPubsubTopicBytes( private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> emailPreferencesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> + emailPreferencesBuilder_; /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the emailPreferences field is set. */ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The emailPreferences. */ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { if (emailPreferencesBuilder_ == null) { - return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; + return emailPreferences_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() + : emailPreferences_; } else { return emailPreferencesBuilder_.getMessage(); } } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { + public Builder setEmailPreferences( + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { if (emailPreferencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3432,13 +3901,17 @@ public Builder setEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.Ema return this; } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEmailPreferences( com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder builderForValue) { @@ -3452,19 +3925,26 @@ public Builder setEmailPreferences( return this; } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { + public Builder mergeEmailPreferences( + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { if (emailPreferencesBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) && - emailPreferences_ != null && - emailPreferences_ != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) + && emailPreferences_ != null + && emailPreferences_ + != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences + .getDefaultInstance()) { getEmailPreferencesBuilder().mergeFrom(value); } else { emailPreferences_ = value; @@ -3479,13 +3959,17 @@ public Builder mergeEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.E return this; } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEmailPreferences() { bitField0_ = (bitField0_ & ~0x00004000); @@ -3498,61 +3982,79 @@ public Builder clearEmailPreferences() { return this; } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder getEmailPreferencesBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder + getEmailPreferencesBuilder() { bitField0_ |= 0x00004000; onChanged(); return getEmailPreferencesFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder + getEmailPreferencesOrBuilder() { if (emailPreferencesBuilder_ != null) { return emailPreferencesBuilder_.getMessageOrBuilder(); } else { - return emailPreferences_ == null ? - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; + return emailPreferences_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() + : emailPreferences_; } } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> getEmailPreferencesFieldBuilder() { if (emailPreferencesBuilder_ == null) { - emailPreferencesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>( - getEmailPreferences(), - getParentForChildren(), - isClean()); + emailPreferencesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>( + getEmailPreferences(), getParentForChildren(), isClean()); emailPreferences_ = null; } return emailPreferencesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3562,12 +4064,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.TransferRun) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.TransferRun) private static final com.google.cloud.bigquery.datatransfer.v1.TransferRun DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.TransferRun(); } @@ -3576,27 +4078,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.TransferRun getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferRun parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferRun parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3611,6 +4113,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.TransferRun getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java similarity index 82% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java index 995bc52417f7..28de8be79425 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java @@ -1,14 +1,32 @@ +/* + * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface TransferRunOrBuilder extends +public interface TransferRunOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.TransferRun) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -17,10 +35,13 @@ public interface TransferRunOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -29,30 +50,38 @@ public interface TransferRunOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Minimum time after which a transfer run can be started.
    * 
@@ -62,26 +91,34 @@ public interface TransferRunOrBuilder extends com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** + * + * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; + * * @return Whether the runTime field is set. */ boolean hasRunTime(); /** + * + * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; + * * @return The runTime. */ com.google.protobuf.Timestamp getRunTime(); /** + * + * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
@@ -92,24 +129,32 @@ public interface TransferRunOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; + * * @return Whether the errorStatus field is set. */ boolean hasErrorStatus(); /** + * + * *
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; + * * @return The errorStatus. */ com.google.rpc.Status getErrorStatus(); /** + * + * *
    * Status of the transfer run.
    * 
@@ -119,93 +164,128 @@ public interface TransferRunOrBuilder extends com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder(); /** + * + * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -215,10 +295,13 @@ public interface TransferRunOrBuilder extends
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the params field is set. */ boolean hasParams(); /** + * + * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -228,10 +311,13 @@ public interface TransferRunOrBuilder extends
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The params. */ com.google.protobuf.Struct getParams(); /** + * + * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -245,84 +331,108 @@ public interface TransferRunOrBuilder extends
   com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the destinationDatasetId field is set. */ boolean hasDestinationDatasetId(); /** + * + * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The destinationDatasetId. */ java.lang.String getDestinationDatasetId(); /** + * + * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for destinationDatasetId. */ - com.google.protobuf.ByteString - getDestinationDatasetIdBytes(); + com.google.protobuf.ByteString getDestinationDatasetIdBytes(); /** + * + * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dataSourceId. */ java.lang.String getDataSourceId(); /** + * + * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dataSourceId. */ - com.google.protobuf.ByteString - getDataSourceIdBytes(); + com.google.protobuf.ByteString getDataSourceIdBytes(); /** + * + * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @return The state. */ com.google.cloud.bigquery.datatransfer.v1.TransferState getState(); /** + * + * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; + * * @return The userId. */ long getUserId(); /** + * + * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -332,10 +442,13 @@ public interface TransferRunOrBuilder extends
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The schedule. */ java.lang.String getSchedule(); /** + * + * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -345,12 +458,14 @@ public interface TransferRunOrBuilder extends
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for schedule. */ - com.google.protobuf.ByteString - getScheduleBytes(); + com.google.protobuf.ByteString getScheduleBytes(); /** + * + * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -359,11 +474,15 @@ public interface TransferRunOrBuilder extends
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The notificationPubsubTopic. */ java.lang.String getNotificationPubsubTopic(); /** + * + * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -372,44 +491,60 @@ public interface TransferRunOrBuilder extends
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for notificationPubsubTopic. */ - com.google.protobuf.ByteString - getNotificationPubsubTopicBytes(); + com.google.protobuf.ByteString getNotificationPubsubTopicBytes(); /** + * + * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the emailPreferences field is set. */ boolean hasEmailPreferences(); /** + * + * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The emailPreferences. */ com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences(); /** + * + * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder(); + com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder + getEmailPreferencesOrBuilder(); com.google.cloud.bigquery.datatransfer.v1.TransferRun.DestinationCase getDestinationCase(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java similarity index 69% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java index 13e9d96000ba..175545e30564 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,15 +20,18 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Represents data transfer run state.
  * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.TransferState} */ -public enum TransferState - implements com.google.protobuf.ProtocolMessageEnum { +public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * State placeholder (0).
    * 
@@ -22,6 +40,8 @@ public enum TransferState */ TRANSFER_STATE_UNSPECIFIED(0), /** + * + * *
    * Data transfer is scheduled and is waiting to be picked up by
    * data transfer backend (2).
@@ -31,6 +51,8 @@ public enum TransferState
    */
   PENDING(2),
   /**
+   *
+   *
    * 
    * Data transfer is in progress (3).
    * 
@@ -39,6 +61,8 @@ public enum TransferState */ RUNNING(3), /** + * + * *
    * Data transfer completed successfully (4).
    * 
@@ -47,6 +71,8 @@ public enum TransferState */ SUCCEEDED(4), /** + * + * *
    * Data transfer failed (5).
    * 
@@ -55,6 +81,8 @@ public enum TransferState */ FAILED(5), /** + * + * *
    * Data transfer is cancelled (6).
    * 
@@ -66,6 +94,8 @@ public enum TransferState ; /** + * + * *
    * State placeholder (0).
    * 
@@ -74,6 +104,8 @@ public enum TransferState */ public static final int TRANSFER_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Data transfer is scheduled and is waiting to be picked up by
    * data transfer backend (2).
@@ -83,6 +115,8 @@ public enum TransferState
    */
   public static final int PENDING_VALUE = 2;
   /**
+   *
+   *
    * 
    * Data transfer is in progress (3).
    * 
@@ -91,6 +125,8 @@ public enum TransferState */ public static final int RUNNING_VALUE = 3; /** + * + * *
    * Data transfer completed successfully (4).
    * 
@@ -99,6 +135,8 @@ public enum TransferState */ public static final int SUCCEEDED_VALUE = 4; /** + * + * *
    * Data transfer failed (5).
    * 
@@ -107,6 +145,8 @@ public enum TransferState */ public static final int FAILED_VALUE = 5; /** + * + * *
    * Data transfer is cancelled (6).
    * 
@@ -115,7 +155,6 @@ public enum TransferState */ public static final int CANCELLED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -140,52 +179,57 @@ public static TransferState valueOf(int value) { */ public static TransferState forNumber(int value) { switch (value) { - case 0: return TRANSFER_STATE_UNSPECIFIED; - case 2: return PENDING; - case 3: return RUNNING; - case 4: return SUCCEEDED; - case 5: return FAILED; - case 6: return CANCELLED; - default: return null; + case 0: + return TRANSFER_STATE_UNSPECIFIED; + case 2: + return PENDING; + case 3: + return RUNNING; + case 4: + return SUCCEEDED; + case 5: + return FAILED; + case 6: + return CANCELLED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - TransferState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TransferState findValueByNumber(int number) { - return TransferState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TransferState findValueByNumber(int number) { + return TransferState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor() + .getEnumTypes() + .get(1); } private static final TransferState[] VALUES = values(); - public static TransferState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TransferState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -201,4 +245,3 @@ private TransferState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.datatransfer.v1.TransferState) } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java similarity index 67% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java index e4fc0ce04599..eaef528a5be1 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,15 +20,19 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * DEPRECATED. Represents data transfer type.
  * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.TransferType} */ -@java.lang.Deprecated public enum TransferType - implements com.google.protobuf.ProtocolMessageEnum { +@java.lang.Deprecated +public enum TransferType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Invalid or Unknown transfer type placeholder.
    * 
@@ -22,6 +41,8 @@ */ TRANSFER_TYPE_UNSPECIFIED(0), /** + * + * *
    * Batch data transfer.
    * 
@@ -30,6 +51,8 @@ */ BATCH(1), /** + * + * *
    * Streaming data transfer. Streaming data source currently doesn't
    * support multiple transfer configs per project.
@@ -42,6 +65,8 @@
   ;
 
   /**
+   *
+   *
    * 
    * Invalid or Unknown transfer type placeholder.
    * 
@@ -50,6 +75,8 @@ */ public static final int TRANSFER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Batch data transfer.
    * 
@@ -58,6 +85,8 @@ */ public static final int BATCH_VALUE = 1; /** + * + * *
    * Streaming data transfer. Streaming data source currently doesn't
    * support multiple transfer configs per project.
@@ -67,7 +96,6 @@
    */
   public static final int STREAMING_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -92,49 +120,51 @@ public static TransferType valueOf(int value) {
    */
   public static TransferType forNumber(int value) {
     switch (value) {
-      case 0: return TRANSFER_TYPE_UNSPECIFIED;
-      case 1: return BATCH;
-      case 2: return STREAMING;
-      default: return null;
+      case 0:
+        return TRANSFER_TYPE_UNSPECIFIED;
+      case 1:
+        return BATCH;
+      case 2:
+        return STREAMING;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      TransferType> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public TransferType findValueByNumber(int number) {
-            return TransferType.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public TransferType findValueByNumber(int number) {
+          return TransferType.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor().getEnumTypes().get(0);
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor()
+        .getEnumTypes()
+        .get(0);
   }
 
   private static final TransferType[] VALUES = values();
 
-  public static TransferType valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static TransferType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -150,4 +180,3 @@ private TransferType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.datatransfer.v1.TransferType)
 }
-
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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
similarity index 67%
rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java
rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java
index 0917a7a48454..42a9e867eb7c 100644
--- a/owl-bot-staging/java-bigquerydatatransfer/v1/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
@@ -1,3 +1,18 @@
+/*
+ * 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
 
@@ -5,6 +20,8 @@
 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.
@@ -12,50 +29,55 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest}
  */
-public final class UnenrollDataSourcesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+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;
+  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();
+    dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter 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;
+  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
+    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);
+            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 @@ -64,29 +86,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -95,41 +117,50 @@ public java.lang.String getName() { } 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() { + 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. */ @@ -137,21 +168,24 @@ 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) { + 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; @@ -163,8 +197,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -199,17 +232,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + 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; + 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 (!getName().equals(other.getName())) return false; + if (!getDataSourceIdsList().equals(other.getDataSourceIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,98 +265,105 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + 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) + 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 { + + 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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + 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) 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 + 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); + 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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + 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) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + 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.
@@ -332,52 +371,53 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest)
       com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequestOrBuilder {
-    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;
+    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
+      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);
+              com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.class,
+              com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       name_ = "";
-      dataSourceIds_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UnenrollDataSourcesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_UnenrollDataSourcesRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -391,13 +431,17 @@ public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest buil
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest result = new com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest result =
+          new com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest result) {
+    private void buildPartial0(
+        com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -412,46 +456,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UnenrollDat
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest)other);
+        return mergeFrom(
+            (com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest other) {
+      if (other
+          == com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -493,23 +542,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureDataSourceIdsIsMutable();
-              dataSourceIds_.add(s);
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureDataSourceIdsIsMutable();
+                dataSourceIds_.add(s);
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -519,22 +571,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -543,20 +598,21 @@ public java.lang.String getName() { } } /** + * + * *
      * 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -564,28 +620,35 @@ public java.lang.String getName() { } } /** + * + * *
      * 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(); } + 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() { @@ -595,17 +658,21 @@ public Builder clearName() { 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -615,6 +682,7 @@ public Builder setNameBytes( private com.google.protobuf.LazyStringArrayList dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDataSourceIdsIsMutable() { if (!dataSourceIds_.isModifiable()) { dataSourceIds_ = new com.google.protobuf.LazyStringArrayList(dataSourceIds_); @@ -622,38 +690,46 @@ private void ensureDataSourceIdsIsMutable() { 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() { + 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. */ @@ -661,33 +737,39 @@ 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) { + 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(); } + public Builder setDataSourceIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDataSourceIdsIsMutable(); dataSourceIds_.set(index, value); bitField0_ |= 0x00000002; @@ -695,18 +777,22 @@ public Builder setDataSourceIds( 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(); } + public Builder addDataSourceIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); bitField0_ |= 0x00000002; @@ -714,53 +800,61 @@ public Builder addDataSourceIds( 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 values) { + public Builder addAllDataSourceIds(java.lang.Iterable values) { ensureDataSourceIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataSourceIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataSourceIds_); 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; + * * @return This builder for chaining. */ public Builder clearDataSourceIds() { - dataSourceIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + 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(); } + public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); @@ -768,9 +862,9 @@ public Builder addDataSourceIdsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -780,41 +874,43 @@ public final Builder mergeUnknownFields( 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; + 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() { + public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnenrollDataSourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnenrollDataSourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,9 +922,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java index 8ad85b036b8c..1e2e80522172 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java @@ -1,75 +1,106 @@ +/* + * 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; -public interface UnenrollDataSourcesRequestOrBuilder extends +public interface UnenrollDataSourcesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * 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(); + 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 - getDataSourceIdsList(); + java.util.List getDataSourceIdsList(); /** + * + * *
    * 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); + com.google.protobuf.ByteString getDataSourceIdsBytes(int index); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java similarity index 74% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java index 64370567fea7..cac48df2c7e2 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,6 +20,8 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to update a transfer configuration. To update the user id of the
  * transfer configuration, authorization info needs to be provided.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest}
  */
-public final class UpdateTransferConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)
     UpdateTransferConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateTransferConfigRequest.newBuilder() to construct.
   private UpdateTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UpdateTransferConfigRequest() {
     authorizationCode_ = "";
     versionInfo_ = "";
@@ -29,33 +47,39 @@ private UpdateTransferConfigRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateTransferConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_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_UpdateTransferConfigRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class,
+            com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int TRANSFER_CONFIG_FIELD_NUMBER = 1;
   private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_;
   /**
+   *
+   *
    * 
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferConfig field is set. */ @java.lang.Override @@ -63,33 +87,50 @@ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferConfig. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { - return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { - return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder + getTransferConfigOrBuilder() { + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } public static final int AUTHORIZATION_CODE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object authorizationCode_ = ""; /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -108,6 +149,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran
    * 
* * string authorization_code = 3; + * * @return The authorizationCode. */ @java.lang.Override @@ -116,14 +158,15 @@ public java.lang.String getAuthorizationCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; } } /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -142,16 +185,15 @@ public java.lang.String getAuthorizationCode() {
    * 
* * string authorization_code = 3; + * * @return The bytes for authorizationCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -162,11 +204,15 @@ public java.lang.String getAuthorizationCode() { public static final int UPDATE_MASK_FIELD_NUMBER = 4; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -174,11 +220,15 @@ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -186,11 +236,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -198,9 +251,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } public static final int VERSION_INFO_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object versionInfo_ = ""; /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -219,6 +275,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
    * 
* * string version_info = 5; + * * @return The versionInfo. */ @java.lang.Override @@ -227,14 +284,15 @@ public java.lang.String getVersionInfo() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; } } /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -253,16 +311,15 @@ public java.lang.String getVersionInfo() {
    * 
* * string version_info = 5; + * * @return The bytes for versionInfo. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionInfoBytes() { + public com.google.protobuf.ByteString getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -271,9 +328,12 @@ public java.lang.String getVersionInfo() { } public static final int SERVICE_ACCOUNT_NAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object serviceAccountName_ = ""; /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -287,6 +347,7 @@ public java.lang.String getVersionInfo() {
    * 
* * string service_account_name = 6; + * * @return The serviceAccountName. */ @java.lang.Override @@ -295,14 +356,15 @@ public java.lang.String getServiceAccountName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; } } /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -316,16 +378,15 @@ public java.lang.String getServiceAccountName() {
    * 
* * string service_account_name = 6; + * * @return The bytes for serviceAccountName. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountNameBytes() { + public com.google.protobuf.ByteString getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -334,6 +395,7 @@ public java.lang.String getServiceAccountName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,8 +407,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getTransferConfig()); } @@ -372,15 +433,13 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTransferConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTransferConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizationCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authorizationCode_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateMask()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionInfo_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, versionInfo_); @@ -396,29 +455,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other = + (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) obj; if (hasTransferConfig() != other.hasTransferConfig()) return false; if (hasTransferConfig()) { - if (!getTransferConfig() - .equals(other.getTransferConfig())) return false; + if (!getTransferConfig().equals(other.getTransferConfig())) return false; } - if (!getAuthorizationCode() - .equals(other.getAuthorizationCode())) return false; + if (!getAuthorizationCode().equals(other.getAuthorizationCode())) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } - if (!getVersionInfo() - .equals(other.getVersionInfo())) return false; - if (!getServiceAccountName() - .equals(other.getServiceAccountName())) return false; + if (!getVersionInfo().equals(other.getVersionInfo())) return false; + if (!getServiceAccountName().equals(other.getServiceAccountName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -450,98 +505,105 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest + 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.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest + 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.UpdateTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.UpdateTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to update a transfer configuration. To update the user id of the
    * transfer configuration, authorization info needs to be provided.
@@ -549,40 +611,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)
       com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_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_UpdateTransferConfigRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class,
+              com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.newBuilder()
+    // Construct using
+    // com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getTransferConfigFieldBuilder();
         getUpdateMaskFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -604,14 +669,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -625,28 +692,29 @@ public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest bui
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result =
+          new com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result) {
+    private void buildPartial0(
+        com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.transferConfig_ = transferConfigBuilder_ == null
-            ? transferConfig_
-            : transferConfigBuilder_.build();
+        result.transferConfig_ =
+            transferConfigBuilder_ == null ? transferConfig_ : transferConfigBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.authorizationCode_ = authorizationCode_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
@@ -662,46 +730,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UpdateTrans
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)other);
+        return mergeFrom(
+            (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other) {
+      if (other
+          == com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest
+              .getDefaultInstance()) return this;
       if (other.hasTransferConfig()) {
         mergeTransferConfig(other.getTransferConfig());
       }
@@ -749,41 +822,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTransferConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 26: {
-              authorizationCode_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 34
-            case 42: {
-              versionInfo_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 42
-            case 50: {
-              serviceAccountName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getTransferConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 26:
+              {
+                authorizationCode_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 34
+            case 42:
+              {
+                versionInfo_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 42
+            case 50:
+              {
+                serviceAccountName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -793,45 +868,66 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> transferConfigBuilder_;
+            com.google.cloud.bigquery.datatransfer.v1.TransferConfig,
+            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder,
+            com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>
+        transferConfigBuilder_;
     /**
+     *
+     *
      * 
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferConfig field is set. */ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferConfig. */ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { if (transferConfigBuilder_ == null) { - return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } else { return transferConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder setTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -845,11 +941,15 @@ public Builder setTransferConfig(com.google.cloud.bigquery.datatransfer.v1.Trans return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTransferConfig( com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { @@ -863,17 +963,23 @@ public Builder setTransferConfig( return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder mergeTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - transferConfig_ != null && - transferConfig_ != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && transferConfig_ != null + && transferConfig_ + != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { getTransferConfigBuilder().mergeFrom(value); } else { transferConfig_ = value; @@ -888,11 +994,15 @@ public Builder mergeTransferConfig(com.google.cloud.bigquery.datatransfer.v1.Tra return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTransferConfig() { bitField0_ = (bitField0_ & ~0x00000001); @@ -905,48 +1015,66 @@ public Builder clearTransferConfig() { return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder getTransferConfigBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder + getTransferConfigBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTransferConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder + getTransferConfigOrBuilder() { if (transferConfigBuilder_ != null) { return transferConfigBuilder_.getMessageOrBuilder(); } else { - return transferConfig_ == null ? - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> getTransferConfigFieldBuilder() { if (transferConfigBuilder_ == null) { - transferConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( - getTransferConfig(), - getParentForChildren(), - isClean()); + transferConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( + getTransferConfig(), getParentForChildren(), isClean()); transferConfig_ = null; } return transferConfigBuilder_; @@ -954,6 +1082,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran private java.lang.Object authorizationCode_ = ""; /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -972,13 +1102,13 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran
      * 
* * string authorization_code = 3; + * * @return The authorizationCode. */ public java.lang.String getAuthorizationCode() { java.lang.Object ref = authorizationCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; @@ -987,6 +1117,8 @@ public java.lang.String getAuthorizationCode() { } } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1005,15 +1137,14 @@ public java.lang.String getAuthorizationCode() {
      * 
* * string authorization_code = 3; + * * @return The bytes for authorizationCode. */ - public com.google.protobuf.ByteString - getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -1021,6 +1152,8 @@ public java.lang.String getAuthorizationCode() { } } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1039,18 +1172,22 @@ public java.lang.String getAuthorizationCode() {
      * 
* * string authorization_code = 3; + * * @param value The authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAuthorizationCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } authorizationCode_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1069,6 +1206,7 @@ public Builder setAuthorizationCode(
      * 
* * string authorization_code = 3; + * * @return This builder for chaining. */ public Builder clearAuthorizationCode() { @@ -1078,6 +1216,8 @@ public Builder clearAuthorizationCode() { return this; } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1096,12 +1236,14 @@ public Builder clearAuthorizationCode() {
      * 
* * string authorization_code = 3; + * * @param value The bytes for authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); authorizationCode_ = value; bitField0_ |= 0x00000002; @@ -1111,39 +1253,55 @@ public Builder setAuthorizationCodeBytes( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1159,14 +1317,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -1177,17 +1337,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1202,11 +1365,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1219,11 +1385,14 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1231,36 +1400,46 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -1268,6 +1447,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private java.lang.Object versionInfo_ = ""; /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1286,13 +1467,13 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * 
* * string version_info = 5; + * * @return The versionInfo. */ public java.lang.String getVersionInfo() { java.lang.Object ref = versionInfo_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; @@ -1301,6 +1482,8 @@ public java.lang.String getVersionInfo() { } } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1319,15 +1502,14 @@ public java.lang.String getVersionInfo() {
      * 
* * string version_info = 5; + * * @return The bytes for versionInfo. */ - public com.google.protobuf.ByteString - getVersionInfoBytes() { + public com.google.protobuf.ByteString getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -1335,6 +1517,8 @@ public java.lang.String getVersionInfo() { } } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1353,18 +1537,22 @@ public java.lang.String getVersionInfo() {
      * 
* * string version_info = 5; + * * @param value The versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfo( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionInfo(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } versionInfo_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1383,6 +1571,7 @@ public Builder setVersionInfo(
      * 
* * string version_info = 5; + * * @return This builder for chaining. */ public Builder clearVersionInfo() { @@ -1392,6 +1581,8 @@ public Builder clearVersionInfo() { return this; } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1410,12 +1601,14 @@ public Builder clearVersionInfo() {
      * 
* * string version_info = 5; + * * @param value The bytes for versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfoBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); versionInfo_ = value; bitField0_ |= 0x00000008; @@ -1425,6 +1618,8 @@ public Builder setVersionInfoBytes( private java.lang.Object serviceAccountName_ = ""; /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1438,13 +1633,13 @@ public Builder setVersionInfoBytes(
      * 
* * string service_account_name = 6; + * * @return The serviceAccountName. */ public java.lang.String getServiceAccountName() { java.lang.Object ref = serviceAccountName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; @@ -1453,6 +1648,8 @@ public java.lang.String getServiceAccountName() { } } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1466,15 +1663,14 @@ public java.lang.String getServiceAccountName() {
      * 
* * string service_account_name = 6; + * * @return The bytes for serviceAccountName. */ - public com.google.protobuf.ByteString - getServiceAccountNameBytes() { + public com.google.protobuf.ByteString getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -1482,6 +1678,8 @@ public java.lang.String getServiceAccountName() { } } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1495,18 +1693,22 @@ public java.lang.String getServiceAccountName() {
      * 
* * string service_account_name = 6; + * * @param value The serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1520,6 +1722,7 @@ public Builder setServiceAccountName(
      * 
* * string service_account_name = 6; + * * @return This builder for chaining. */ public Builder clearServiceAccountName() { @@ -1529,6 +1732,8 @@ public Builder clearServiceAccountName() { return this; } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1542,21 +1747,23 @@ public Builder clearServiceAccountName() {
      * 
* * string service_account_name = 6; + * * @param value The bytes for serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1566,41 +1773,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1612,9 +1821,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java index a4682ec74429..7c0dab4138f3 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java @@ -1,41 +1,73 @@ +/* + * 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; -public interface UpdateTransferConfigRequestOrBuilder extends +public interface UpdateTransferConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferConfig field is set. */ boolean hasTransferConfig(); /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferConfig. */ com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig(); /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder(); /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -54,10 +86,13 @@ public interface UpdateTransferConfigRequestOrBuilder extends
    * 
* * string authorization_code = 3; + * * @return The authorizationCode. */ java.lang.String getAuthorizationCode(); /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -76,39 +111,52 @@ public interface UpdateTransferConfigRequestOrBuilder extends
    * 
* * string authorization_code = 3; + * * @return The bytes for authorizationCode. */ - com.google.protobuf.ByteString - getAuthorizationCodeBytes(); + com.google.protobuf.ByteString getAuthorizationCodeBytes(); /** + * + * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -127,10 +175,13 @@ public interface UpdateTransferConfigRequestOrBuilder extends
    * 
* * string version_info = 5; + * * @return The versionInfo. */ java.lang.String getVersionInfo(); /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -149,12 +200,14 @@ public interface UpdateTransferConfigRequestOrBuilder extends
    * 
* * string version_info = 5; + * * @return The bytes for versionInfo. */ - com.google.protobuf.ByteString - getVersionInfoBytes(); + com.google.protobuf.ByteString getVersionInfoBytes(); /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -168,10 +221,13 @@ public interface UpdateTransferConfigRequestOrBuilder extends
    * 
* * string service_account_name = 6; + * * @return The serviceAccountName. */ java.lang.String getServiceAccountName(); /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -185,8 +241,8 @@ public interface UpdateTransferConfigRequestOrBuilder extends
    * 
* * string service_account_name = 6; + * * @return The bytes for serviceAccountName. */ - com.google.protobuf.ByteString - getServiceAccountNameBytes(); + com.google.protobuf.ByteString getServiceAccountNameBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java similarity index 67% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java index f41ea298f864..6b2b8276865a 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,55 +20,63 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Information about a user.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UserInfo} */ -public final class UserInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UserInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.UserInfo) UserInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UserInfo.newBuilder() to construct. private UserInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UserInfo() { email_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UserInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, + com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); } private int bitField0_; public static final int EMAIL_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object email_ = ""; /** + * + * *
    * E-mail address of the user.
    * 
* * optional string email = 1; + * * @return Whether the email field is set. */ @java.lang.Override @@ -61,11 +84,14 @@ public boolean hasEmail() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * E-mail address of the user.
    * 
* * optional string email = 1; + * * @return The email. */ @java.lang.Override @@ -74,29 +100,29 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** + * + * *
    * E-mail address of the user.
    * 
* * optional string email = 1; + * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -105,6 +131,7 @@ public java.lang.String getEmail() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +143,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, email_); } @@ -141,17 +167,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.UserInfo)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.UserInfo other = (com.google.cloud.bigquery.datatransfer.v1.UserInfo) obj; + com.google.cloud.bigquery.datatransfer.v1.UserInfo other = + (com.google.cloud.bigquery.datatransfer.v1.UserInfo) obj; if (hasEmail() != other.hasEmail()) return false; if (hasEmail()) { - if (!getEmail() - .equals(other.getEmail())) return false; + if (!getEmail().equals(other.getEmail())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -174,131 +200,135 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UserInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.UserInfo 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.UserInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UserInfo 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.UserInfo 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.UserInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.UserInfo 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.UserInfo 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.UserInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.UserInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.UserInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information about a user.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UserInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.UserInfo) com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, + com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.UserInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -308,9 +338,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; } @java.lang.Override @@ -329,8 +359,11 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfo build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.UserInfo buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.UserInfo result = new com.google.cloud.bigquery.datatransfer.v1.UserInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.UserInfo result = + new com.google.cloud.bigquery.datatransfer.v1.UserInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -349,38 +382,39 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UserInfo re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.UserInfo) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UserInfo)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UserInfo) other); } else { super.mergeFrom(other); return this; @@ -388,7 +422,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.UserInfo other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) + return this; if (other.hasEmail()) { email_ = other.email_; bitField0_ |= 0x00000001; @@ -420,17 +455,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - email_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + email_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -440,33 +477,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object email_ = ""; /** + * + * *
      * E-mail address of the user.
      * 
* * optional string email = 1; + * * @return Whether the email field is set. */ public boolean hasEmail() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * E-mail address of the user.
      * 
* * optional string email = 1; + * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -475,20 +518,21 @@ public java.lang.String getEmail() { } } /** + * + * *
      * E-mail address of the user.
      * 
* * optional string email = 1; + * * @return The bytes for email. */ - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -496,28 +540,35 @@ public java.lang.String getEmail() { } } /** + * + * *
      * E-mail address of the user.
      * 
* * optional string email = 1; + * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } email_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * E-mail address of the user.
      * 
* * optional string email = 1; + * * @return This builder for chaining. */ public Builder clearEmail() { @@ -527,26 +578,30 @@ public Builder clearEmail() { return this; } /** + * + * *
      * E-mail address of the user.
      * 
* * optional string email = 1; + * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); email_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -556,12 +611,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.UserInfo) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.UserInfo) private static final com.google.cloud.bigquery.datatransfer.v1.UserInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.UserInfo(); } @@ -570,27 +625,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.UserInfo getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -605,6 +660,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.UserInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java similarity index 53% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java index b285397716d1..15c63c4cb7dc 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java @@ -1,39 +1,63 @@ +/* + * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface UserInfoOrBuilder extends +public interface UserInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.UserInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * E-mail address of the user.
    * 
* * optional string email = 1; + * * @return Whether the email field is set. */ boolean hasEmail(); /** + * + * *
    * E-mail address of the user.
    * 
* * optional string email = 1; + * * @return The email. */ java.lang.String getEmail(); /** + * + * *
    * E-mail address of the user.
    * 
* * optional string email = 1; + * * @return The bytes for email. */ - com.google.protobuf.ByteString - getEmailBytes(); + com.google.protobuf.ByteString getEmailBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java b/owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java deleted file mode 100644 index ab5ddcb83a8b..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java +++ /dev/null @@ -1,1701 +0,0 @@ -package com.google.cloud.bigquery.datatransfer.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * This API allows users to manage their data transfers into BigQuery.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataTransferServiceGrpc { - - private DataTransferServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.bigquery.datatransfer.v1.DataTransferService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getGetDataSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataSource", - requestType = com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.DataSource.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataSourceMethod() { - io.grpc.MethodDescriptor getGetDataSourceMethod; - if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { - DataTransferServiceGrpc.getGetDataSourceMethod = getGetDataSourceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("GetDataSource")) - .build(); - } - } - } - return getGetDataSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDataSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataSources", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDataSourcesMethod() { - io.grpc.MethodDescriptor getListDataSourcesMethod; - if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { - DataTransferServiceGrpc.getListDataSourcesMethod = getListDataSourcesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListDataSources")) - .build(); - } - } - } - return getListDataSourcesMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTransferConfigMethod() { - io.grpc.MethodDescriptor getCreateTransferConfigMethod; - if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) == null) { - DataTransferServiceGrpc.getCreateTransferConfigMethod = getCreateTransferConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("CreateTransferConfig")) - .build(); - } - } - } - return getCreateTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTransferConfigMethod() { - io.grpc.MethodDescriptor getUpdateTransferConfigMethod; - if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) == null) { - DataTransferServiceGrpc.getUpdateTransferConfigMethod = getUpdateTransferConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("UpdateTransferConfig")) - .build(); - } - } - } - return getUpdateTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTransferConfigMethod() { - io.grpc.MethodDescriptor getDeleteTransferConfigMethod; - if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) == null) { - DataTransferServiceGrpc.getDeleteTransferConfigMethod = getDeleteTransferConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("DeleteTransferConfig")) - .build(); - } - } - } - return getDeleteTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTransferConfigMethod() { - io.grpc.MethodDescriptor getGetTransferConfigMethod; - if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) == null) { - DataTransferServiceGrpc.getGetTransferConfigMethod = getGetTransferConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("GetTransferConfig")) - .build(); - } - } - } - return getGetTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTransferConfigsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTransferConfigs", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTransferConfigsMethod() { - io.grpc.MethodDescriptor getListTransferConfigsMethod; - if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) == null) { - DataTransferServiceGrpc.getListTransferConfigsMethod = getListTransferConfigsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferConfigs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListTransferConfigs")) - .build(); - } - } - } - return getListTransferConfigsMethod; - } - - private static volatile io.grpc.MethodDescriptor getScheduleTransferRunsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ScheduleTransferRuns", - requestType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getScheduleTransferRunsMethod() { - io.grpc.MethodDescriptor getScheduleTransferRunsMethod; - if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) == null) { - DataTransferServiceGrpc.getScheduleTransferRunsMethod = getScheduleTransferRunsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ScheduleTransferRuns")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ScheduleTransferRuns")) - .build(); - } - } - } - return getScheduleTransferRunsMethod; - } - - private static volatile io.grpc.MethodDescriptor getStartManualTransferRunsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartManualTransferRuns", - requestType = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getStartManualTransferRunsMethod() { - io.grpc.MethodDescriptor getStartManualTransferRunsMethod; - if ((getStartManualTransferRunsMethod = DataTransferServiceGrpc.getStartManualTransferRunsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getStartManualTransferRunsMethod = DataTransferServiceGrpc.getStartManualTransferRunsMethod) == null) { - DataTransferServiceGrpc.getStartManualTransferRunsMethod = getStartManualTransferRunsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartManualTransferRuns")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("StartManualTransferRuns")) - .build(); - } - } - } - return getStartManualTransferRunsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTransferRunMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTransferRun", - requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTransferRunMethod() { - io.grpc.MethodDescriptor getGetTransferRunMethod; - if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { - DataTransferServiceGrpc.getGetTransferRunMethod = getGetTransferRunMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferRun")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("GetTransferRun")) - .build(); - } - } - } - return getGetTransferRunMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTransferRunMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTransferRun", - requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTransferRunMethod() { - io.grpc.MethodDescriptor getDeleteTransferRunMethod; - if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) == null) { - DataTransferServiceGrpc.getDeleteTransferRunMethod = getDeleteTransferRunMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransferRun")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("DeleteTransferRun")) - .build(); - } - } - } - return getDeleteTransferRunMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTransferRunsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTransferRuns", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTransferRunsMethod() { - io.grpc.MethodDescriptor getListTransferRunsMethod; - if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) == null) { - DataTransferServiceGrpc.getListTransferRunsMethod = getListTransferRunsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferRuns")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListTransferRuns")) - .build(); - } - } - } - return getListTransferRunsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTransferLogsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTransferLogs", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTransferLogsMethod() { - io.grpc.MethodDescriptor getListTransferLogsMethod; - if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) == null) { - DataTransferServiceGrpc.getListTransferLogsMethod = getListTransferLogsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferLogs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListTransferLogs")) - .build(); - } - } - } - return getListTransferLogsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCheckValidCredsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CheckValidCreds", - requestType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCheckValidCredsMethod() { - io.grpc.MethodDescriptor getCheckValidCredsMethod; - if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { - DataTransferServiceGrpc.getCheckValidCredsMethod = getCheckValidCredsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckValidCreds")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("CheckValidCreds")) - .build(); - } - } - } - return getCheckValidCredsMethod; - } - - private static volatile io.grpc.MethodDescriptor getEnrollDataSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "EnrollDataSources", - requestType = com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getEnrollDataSourcesMethod() { - io.grpc.MethodDescriptor getEnrollDataSourcesMethod; - if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) == null) { - DataTransferServiceGrpc.getEnrollDataSourcesMethod = getEnrollDataSourcesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "EnrollDataSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("EnrollDataSources")) - .build(); - } - } - } - return getEnrollDataSourcesMethod; - } - - private static volatile io.grpc.MethodDescriptor getUnenrollDataSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UnenrollDataSources", - requestType = com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUnenrollDataSourcesMethod() { - io.grpc.MethodDescriptor getUnenrollDataSourcesMethod; - if ((getUnenrollDataSourcesMethod = DataTransferServiceGrpc.getUnenrollDataSourcesMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getUnenrollDataSourcesMethod = DataTransferServiceGrpc.getUnenrollDataSourcesMethod) == null) { - DataTransferServiceGrpc.getUnenrollDataSourcesMethod = getUnenrollDataSourcesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnenrollDataSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("UnenrollDataSources")) - .build(); - } - } - } - return getUnenrollDataSourcesMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static DataTransferServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTransferServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceStub(channel, callOptions); - } - }; - return DataTransferServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataTransferServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTransferServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceBlockingStub(channel, callOptions); - } - }; - return DataTransferServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static DataTransferServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTransferServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceFutureStub(channel, callOptions); - } - }; - return DataTransferServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - default void getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataSourceMethod(), responseObserver); - } - - /** - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - default void listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataSourcesMethod(), responseObserver); - } - - /** - *
-     * Creates a new data transfer configuration.
-     * 
- */ - default void createTransferConfig(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTransferConfigMethod(), responseObserver); - } - - /** - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - default void updateTransferConfig(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTransferConfigMethod(), responseObserver); - } - - /** - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - default void deleteTransferConfig(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTransferConfigMethod(), responseObserver); - } - - /** - *
-     * Returns information about a data transfer config.
-     * 
- */ - default void getTransferConfig(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransferConfigMethod(), responseObserver); - } - - /** - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - default void listTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferConfigsMethod(), responseObserver); - } - - /** - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - default void scheduleTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getScheduleTransferRunsMethod(), responseObserver); - } - - /** - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - default void startManualTransferRuns(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartManualTransferRunsMethod(), responseObserver); - } - - /** - *
-     * Returns information about the particular transfer run.
-     * 
- */ - default void getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransferRunMethod(), responseObserver); - } - - /** - *
-     * Deletes the specified transfer run.
-     * 
- */ - default void deleteTransferRun(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTransferRunMethod(), responseObserver); - } - - /** - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - default void listTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferRunsMethod(), responseObserver); - } - - /** - *
-     * Returns log messages for the transfer run.
-     * 
- */ - default void listTransferLogs(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferLogsMethod(), responseObserver); - } - - /** - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - default void checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckValidCredsMethod(), responseObserver); - } - - /** - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - default void enrollDataSources(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getEnrollDataSourcesMethod(), responseObserver); - } - - /** - *
-     * 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnenrollDataSourcesMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DataTransferService. - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public static abstract class DataTransferServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return DataTransferServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DataTransferService. - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public static final class DataTransferServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private DataTransferServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTransferServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceStub(channel, callOptions); - } - - /** - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - public void getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - public void listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new data transfer configuration.
-     * 
- */ - public void createTransferConfig(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - public void updateTransferConfig(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - public void deleteTransferConfig(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns information about a data transfer config.
-     * 
- */ - public void getTransferConfig(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - public void listTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - public void scheduleTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - public void startManualTransferRuns(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns information about the particular transfer run.
-     * 
- */ - public void getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes the specified transfer run.
-     * 
- */ - public void deleteTransferRun(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - public void listTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns log messages for the transfer run.
-     * 
- */ - public void listTransferLogs(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - public void checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - public void enrollDataSources(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getEnrollDataSourcesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUnenrollDataSourcesMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DataTransferService. - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public static final class DataTransferServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataTransferServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTransferServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataSourceMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataSourcesMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new data transfer configuration.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig createTransferConfig(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTransferConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig updateTransferConfig(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTransferConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - public com.google.protobuf.Empty deleteTransferConfig(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTransferConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns information about a data transfer config.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTransferConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse listTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTransferConfigsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse scheduleTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getScheduleTransferRunsMethod(), getCallOptions(), request); - } - - /** - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse startManualTransferRuns(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartManualTransferRunsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns information about the particular transfer run.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTransferRunMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes the specified transfer run.
-     * 
- */ - public com.google.protobuf.Empty deleteTransferRun(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTransferRunMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse listTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTransferRunsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns log messages for the transfer run.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse listTransferLogs(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTransferLogsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCheckValidCredsMethod(), getCallOptions(), request); - } - - /** - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - public com.google.protobuf.Empty enrollDataSources(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), 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.protobuf.Empty unenrollDataSources(com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUnenrollDataSourcesMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service DataTransferService. - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public static final class DataTransferServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataTransferServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTransferServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataSource( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDataSources( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new data transfer configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns information about a data transfer config.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTransferConfigs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.common.util.concurrent.ListenableFuture scheduleTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), request); - } - - /** - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture startManualTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns information about the particular transfer run.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTransferRun( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes the specified transfer run.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTransferRun( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns log messages for the transfer run.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTransferLogs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture checkValidCreds( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), request); - } - - /** - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture enrollDataSources( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { - 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 unenrollDataSources( - com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUnenrollDataSourcesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_DATA_SOURCE = 0; - private static final int METHODID_LIST_DATA_SOURCES = 1; - private static final int METHODID_CREATE_TRANSFER_CONFIG = 2; - private static final int METHODID_UPDATE_TRANSFER_CONFIG = 3; - private static final int METHODID_DELETE_TRANSFER_CONFIG = 4; - private static final int METHODID_GET_TRANSFER_CONFIG = 5; - private static final int METHODID_LIST_TRANSFER_CONFIGS = 6; - private static final int METHODID_SCHEDULE_TRANSFER_RUNS = 7; - private static final int METHODID_START_MANUAL_TRANSFER_RUNS = 8; - private static final int METHODID_GET_TRANSFER_RUN = 9; - private static final int METHODID_DELETE_TRANSFER_RUN = 10; - private static final int METHODID_LIST_TRANSFER_RUNS = 11; - private static final int METHODID_LIST_TRANSFER_LOGS = 12; - private static final int METHODID_CHECK_VALID_CREDS = 13; - private static final int METHODID_ENROLL_DATA_SOURCES = 14; - private static final int METHODID_UNENROLL_DATA_SOURCES = 15; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_DATA_SOURCE: - serviceImpl.getDataSource((com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DATA_SOURCES: - serviceImpl.listDataSources((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TRANSFER_CONFIG: - serviceImpl.createTransferConfig((com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TRANSFER_CONFIG: - serviceImpl.updateTransferConfig((com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TRANSFER_CONFIG: - serviceImpl.deleteTransferConfig((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TRANSFER_CONFIG: - serviceImpl.getTransferConfig((com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TRANSFER_CONFIGS: - serviceImpl.listTransferConfigs((com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SCHEDULE_TRANSFER_RUNS: - serviceImpl.scheduleTransferRuns((com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_START_MANUAL_TRANSFER_RUNS: - serviceImpl.startManualTransferRuns((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TRANSFER_RUN: - serviceImpl.getTransferRun((com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TRANSFER_RUN: - serviceImpl.deleteTransferRun((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TRANSFER_RUNS: - serviceImpl.listTransferRuns((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TRANSFER_LOGS: - serviceImpl.listTransferLogs((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CHECK_VALID_CREDS: - serviceImpl.checkValidCreds((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ENROLL_DATA_SOURCES: - serviceImpl.enrollDataSources((com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UNENROLL_DATA_SOURCES: - serviceImpl.unenrollDataSources((com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetDataSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, - com.google.cloud.bigquery.datatransfer.v1.DataSource>( - service, METHODID_GET_DATA_SOURCE))) - .addMethod( - getListDataSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse>( - service, METHODID_LIST_DATA_SOURCES))) - .addMethod( - getCreateTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( - service, METHODID_CREATE_TRANSFER_CONFIG))) - .addMethod( - getUpdateTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( - service, METHODID_UPDATE_TRANSFER_CONFIG))) - .addMethod( - getDeleteTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_TRANSFER_CONFIG))) - .addMethod( - getGetTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( - service, METHODID_GET_TRANSFER_CONFIG))) - .addMethod( - getListTransferConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse>( - service, METHODID_LIST_TRANSFER_CONFIGS))) - .addMethod( - getScheduleTransferRunsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse>( - service, METHODID_SCHEDULE_TRANSFER_RUNS))) - .addMethod( - getStartManualTransferRunsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse>( - service, METHODID_START_MANUAL_TRANSFER_RUNS))) - .addMethod( - getGetTransferRunMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferRun>( - service, METHODID_GET_TRANSFER_RUN))) - .addMethod( - getDeleteTransferRunMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_TRANSFER_RUN))) - .addMethod( - getListTransferRunsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse>( - service, METHODID_LIST_TRANSFER_RUNS))) - .addMethod( - getListTransferLogsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse>( - service, METHODID_LIST_TRANSFER_LOGS))) - .addMethod( - getCheckValidCredsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse>( - service, METHODID_CHECK_VALID_CREDS))) - .addMethod( - getEnrollDataSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, - com.google.protobuf.Empty>( - service, METHODID_ENROLL_DATA_SOURCES))) - .addMethod( - getUnenrollDataSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, - com.google.protobuf.Empty>( - service, METHODID_UNENROLL_DATA_SOURCES))) - .build(); - } - - private static abstract class DataTransferServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataTransferServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataTransferService"); - } - } - - private static final class DataTransferServiceFileDescriptorSupplier - extends DataTransferServiceBaseDescriptorSupplier { - DataTransferServiceFileDescriptorSupplier() {} - } - - private static final class DataTransferServiceMethodDescriptorSupplier - extends DataTransferServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - DataTransferServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DataTransferServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataTransferServiceFileDescriptorSupplier()) - .addMethod(getGetDataSourceMethod()) - .addMethod(getListDataSourcesMethod()) - .addMethod(getCreateTransferConfigMethod()) - .addMethod(getUpdateTransferConfigMethod()) - .addMethod(getDeleteTransferConfigMethod()) - .addMethod(getGetTransferConfigMethod()) - .addMethod(getListTransferConfigsMethod()) - .addMethod(getScheduleTransferRunsMethod()) - .addMethod(getStartManualTransferRunsMethod()) - .addMethod(getGetTransferRunMethod()) - .addMethod(getDeleteTransferRunMethod()) - .addMethod(getListTransferRunsMethod()) - .addMethod(getListTransferLogsMethod()) - .addMethod(getCheckValidCredsMethod()) - .addMethod(getEnrollDataSourcesMethod()) - .addMethod(getUnenrollDataSourcesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java deleted file mode 100644 index 3dcc8c2f1f12..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// 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; - -public interface CheckValidCredsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The data source in the form:
-   * `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The data source in the form:
-   * `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java deleted file mode 100644 index 768f8bfb5d43..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java +++ /dev/null @@ -1,20 +0,0 @@ -// 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; - -public interface CheckValidCredsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * If set to `true`, the credentials exist and are valid.
-   * 
- * - * bool has_valid_creds = 1; - * @return The hasValidCreds. - */ - boolean getHasValidCreds(); -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java deleted file mode 100644 index 0e847bec9c43..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java +++ /dev/null @@ -1,313 +0,0 @@ -/* - * Copyright 2023 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; - -import com.google.api.core.BetaApi; -import com.google.api.pathtemplate.PathTemplate; -import com.google.api.pathtemplate.ValidationException; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -@Generated("by gapic-generator-java") -public class DataSourceName implements ResourceName { - private static final PathTemplate PROJECT_DATA_SOURCE = - PathTemplate.createWithoutUrlEncoding("projects/{project}/dataSources/{data_source}"); - private static final PathTemplate PROJECT_LOCATION_DATA_SOURCE = - PathTemplate.createWithoutUrlEncoding( - "projects/{project}/locations/{location}/dataSources/{data_source}"); - private volatile Map fieldValuesMap; - private PathTemplate pathTemplate; - private String fixedValue; - private final String project; - private final String dataSource; - private final String location; - - @Deprecated - protected DataSourceName() { - project = null; - dataSource = null; - location = null; - } - - private DataSourceName(Builder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - dataSource = Preconditions.checkNotNull(builder.getDataSource()); - location = null; - pathTemplate = PROJECT_DATA_SOURCE; - } - - private DataSourceName(ProjectLocationDataSourceBuilder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - location = Preconditions.checkNotNull(builder.getLocation()); - dataSource = Preconditions.checkNotNull(builder.getDataSource()); - pathTemplate = PROJECT_LOCATION_DATA_SOURCE; - } - - public String getProject() { - return project; - } - - public String getDataSource() { - return dataSource; - } - - public String getLocation() { - return location; - } - - public static Builder newBuilder() { - return new Builder(); - } - - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static Builder newProjectDataSourceBuilder() { - return new Builder(); - } - - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static ProjectLocationDataSourceBuilder newProjectLocationDataSourceBuilder() { - return new ProjectLocationDataSourceBuilder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static DataSourceName of(String project, String dataSource) { - return newBuilder().setProject(project).setDataSource(dataSource).build(); - } - - @BetaApi("The static create methods are not stable yet and may be changed in the future.") - public static DataSourceName ofProjectDataSourceName(String project, String dataSource) { - return newBuilder().setProject(project).setDataSource(dataSource).build(); - } - - @BetaApi("The static create methods are not stable yet and may be changed in the future.") - public static DataSourceName ofProjectLocationDataSourceName( - String project, String location, String dataSource) { - return newProjectLocationDataSourceBuilder() - .setProject(project) - .setLocation(location) - .setDataSource(dataSource) - .build(); - } - - public static String format(String project, String dataSource) { - return newBuilder().setProject(project).setDataSource(dataSource).build().toString(); - } - - @BetaApi("The static format methods are not stable yet and may be changed in the future.") - public static String formatProjectDataSourceName(String project, String dataSource) { - return newBuilder().setProject(project).setDataSource(dataSource).build().toString(); - } - - @BetaApi("The static format methods are not stable yet and may be changed in the future.") - public static String formatProjectLocationDataSourceName( - String project, String location, String dataSource) { - return newProjectLocationDataSourceBuilder() - .setProject(project) - .setLocation(location) - .setDataSource(dataSource) - .build() - .toString(); - } - - public static DataSourceName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - if (PROJECT_DATA_SOURCE.matches(formattedString)) { - Map matchMap = PROJECT_DATA_SOURCE.match(formattedString); - return ofProjectDataSourceName(matchMap.get("project"), matchMap.get("data_source")); - } else if (PROJECT_LOCATION_DATA_SOURCE.matches(formattedString)) { - Map matchMap = PROJECT_LOCATION_DATA_SOURCE.match(formattedString); - return ofProjectLocationDataSourceName( - matchMap.get("project"), matchMap.get("location"), matchMap.get("data_source")); - } - throw new ValidationException("DataSourceName.parse: formattedString not in valid format"); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList<>(values.size()); - for (DataSourceName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PROJECT_DATA_SOURCE.matches(formattedString) - || PROJECT_LOCATION_DATA_SOURCE.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (project != null) { - fieldMapBuilder.put("project", project); - } - if (dataSource != null) { - fieldMapBuilder.put("data_source", dataSource); - } - if (location != null) { - fieldMapBuilder.put("location", location); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return fixedValue != null ? fixedValue : pathTemplate.instantiate(getFieldValuesMap()); - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o != null && getClass() == o.getClass()) { - DataSourceName that = ((DataSourceName) o); - return Objects.equals(this.project, that.project) - && Objects.equals(this.dataSource, that.dataSource) - && Objects.equals(this.location, that.location); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(fixedValue); - h *= 1000003; - h ^= Objects.hashCode(project); - h *= 1000003; - h ^= Objects.hashCode(dataSource); - h *= 1000003; - h ^= Objects.hashCode(location); - return h; - } - - /** Builder for projects/{project}/dataSources/{data_source}. */ - public static class Builder { - private String project; - private String dataSource; - - protected Builder() {} - - public String getProject() { - return project; - } - - public String getDataSource() { - return dataSource; - } - - public Builder setProject(String project) { - this.project = project; - return this; - } - - public Builder setDataSource(String dataSource) { - this.dataSource = dataSource; - return this; - } - - private Builder(DataSourceName dataSourceName) { - Preconditions.checkArgument( - Objects.equals(dataSourceName.pathTemplate, PROJECT_DATA_SOURCE), - "toBuilder is only supported when DataSourceName has the pattern of projects/{project}/dataSources/{data_source}"); - this.project = dataSourceName.project; - this.dataSource = dataSourceName.dataSource; - } - - public DataSourceName build() { - return new DataSourceName(this); - } - } - - /** Builder for projects/{project}/locations/{location}/dataSources/{data_source}. */ - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static class ProjectLocationDataSourceBuilder { - private String project; - private String location; - private String dataSource; - - protected ProjectLocationDataSourceBuilder() {} - - public String getProject() { - return project; - } - - public String getLocation() { - return location; - } - - public String getDataSource() { - return dataSource; - } - - public ProjectLocationDataSourceBuilder setProject(String project) { - this.project = project; - return this; - } - - public ProjectLocationDataSourceBuilder setLocation(String location) { - this.location = location; - return this; - } - - public ProjectLocationDataSourceBuilder setDataSource(String dataSource) { - this.dataSource = dataSource; - return this; - } - - public DataSourceName build() { - return new DataSourceName(this); - } - } -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java deleted file mode 100644 index 2ddf81d1a43d..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java +++ /dev/null @@ -1,616 +0,0 @@ -// 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; - -public final class DataTransferProto { - private DataTransferProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - 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; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n8google/cloud/bigquery/datatransfer/v1/" + - "datatransfer.proto\022%google.cloud.bigquer" + - "y.datatransfer.v1\032\034google/api/annotation" + - "s.proto\032\027google/api/client.proto\032\037google" + - "/api/field_behavior.proto\032\031google/api/re" + - "source.proto\0324google/cloud/bigquery/data" + - "transfer/v1/transfer.proto\032\036google/proto" + - "buf/duration.proto\032\033google/protobuf/empt" + - "y.proto\032 google/protobuf/field_mask.prot" + - "o\032\037google/protobuf/timestamp.proto\032\036goog" + - "le/protobuf/wrappers.proto\"\217\005\n\023DataSourc" + - "eParameter\022\020\n\010param_id\030\001 \001(\t\022\024\n\014display_" + - "name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022M\n\004type\030" + - "\004 \001(\0162?.google.cloud.bigquery.datatransf" + - "er.v1.DataSourceParameter.Type\022\020\n\010requir" + - "ed\030\005 \001(\010\022\020\n\010repeated\030\006 \001(\010\022\030\n\020validation" + - "_regex\030\007 \001(\t\022\026\n\016allowed_values\030\010 \003(\t\022/\n\t" + - "min_value\030\t \001(\0132\034.google.protobuf.Double" + - "Value\022/\n\tmax_value\030\n \001(\0132\034.google.protob" + - "uf.DoubleValue\022J\n\006fields\030\013 \003(\0132:.google." + - "cloud.bigquery.datatransfer.v1.DataSourc" + - "eParameter\022\036\n\026validation_description\030\014 \001" + - "(\t\022\033\n\023validation_help_url\030\r \001(\t\022\021\n\timmut" + - "able\030\016 \001(\010\022\017\n\007recurse\030\017 \001(\010\022\022\n\ndeprecate" + - "d\030\024 \001(\010\"s\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n" + - "\006STRING\020\001\022\013\n\007INTEGER\020\002\022\n\n\006DOUBLE\020\003\022\013\n\007BO" + - "OLEAN\020\004\022\n\n\006RECORD\020\005\022\r\n\tPLUS_PAGE\020\006\022\010\n\004LI" + - "ST\020\007\"\234\t\n\nDataSource\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\026" + - "\n\016data_source_id\030\002 \001(\t\022\024\n\014display_name\030\003" + - " \001(\t\022\023\n\013description\030\004 \001(\t\022\021\n\tclient_id\030\005" + - " \001(\t\022\016\n\006scopes\030\006 \003(\t\022N\n\rtransfer_type\030\007 " + - "\001(\01623.google.cloud.bigquery.datatransfer" + - ".v1.TransferTypeB\002\030\001\022\'\n\033supports_multipl" + - "e_transfers\030\010 \001(\010B\002\030\001\022\037\n\027update_deadline" + - "_seconds\030\t \001(\005\022\030\n\020default_schedule\030\n \001(\t" + - "\022 \n\030supports_custom_schedule\030\013 \001(\010\022N\n\npa" + - "rameters\030\014 \003(\0132:.google.cloud.bigquery.d" + - "atatransfer.v1.DataSourceParameter\022\020\n\010he" + - "lp_url\030\r \001(\t\022_\n\022authorization_type\030\016 \001(\016" + - "2C.google.cloud.bigquery.datatransfer.v1" + - ".DataSource.AuthorizationType\022\\\n\021data_re" + - "fresh_type\030\017 \001(\0162A.google.cloud.bigquery" + - ".datatransfer.v1.DataSource.DataRefreshT" + - "ype\022(\n default_data_refresh_window_days\030" + - "\020 \001(\005\022\034\n\024manual_runs_disabled\030\021 \001(\010\022<\n\031m" + - "inimum_schedule_interval\030\022 \001(\0132\031.google." + - "protobuf.Duration\"\212\001\n\021AuthorizationType\022" + - "\"\n\036AUTHORIZATION_TYPE_UNSPECIFIED\020\000\022\026\n\022A" + - "UTHORIZATION_CODE\020\001\022\"\n\036GOOGLE_PLUS_AUTHO" + - "RIZATION_CODE\020\002\022\025\n\021FIRST_PARTY_OAUTH\020\003\"c" + - "\n\017DataRefreshType\022!\n\035DATA_REFRESH_TYPE_U" + - "NSPECIFIED\020\000\022\022\n\016SLIDING_WINDOW\020\001\022\031\n\025CUST" + - "OM_SLIDING_WINDOW\020\002:\245\001\352A\241\001\n.bigquerydata" + - "transfer.googleapis.com/DataSource\022,proj" + - "ects/{project}/dataSources/{data_source}" + - "\022Aprojects/{project}/locations/{location" + - "}/dataSources/{data_source}\"\\\n\024GetDataSo" + - "urceRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.bigqu" + - "erydatatransfer.googleapis.com/DataSourc" + - "e\"\207\001\n\026ListDataSourcesRequest\022F\n\006parent\030\001" + - " \001(\tB6\340A\002\372A0\022.bigquerydatatransfer.googl" + - "eapis.com/DataSource\022\022\n\npage_token\030\003 \001(\t" + - "\022\021\n\tpage_size\030\004 \001(\005\"\200\001\n\027ListDataSourcesR" + - "esponse\022G\n\014data_sources\030\001 \003(\01321.google.c" + - "loud.bigquery.datatransfer.v1.DataSource" + - "\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\216\002\n\033Creat" + - "eTransferConfigRequest\022J\n\006parent\030\001 \001(\tB:" + - "\340A\002\372A4\0222bigquerydatatransfer.googleapis." + - "com/TransferConfig\022S\n\017transfer_config\030\002 " + - "\001(\01325.google.cloud.bigquery.datatransfer" + - ".v1.TransferConfigB\003\340A\002\022\032\n\022authorization" + - "_code\030\003 \001(\t\022\024\n\014version_info\030\005 \001(\t\022\034\n\024ser" + - "vice_account_name\030\006 \001(\t\"\370\001\n\033UpdateTransf" + - "erConfigRequest\022S\n\017transfer_config\030\001 \001(\013" + - "25.google.cloud.bigquery.datatransfer.v1" + - ".TransferConfigB\003\340A\002\022\032\n\022authorization_co" + - "de\030\003 \001(\t\0224\n\013update_mask\030\004 \001(\0132\032.google.p" + - "rotobuf.FieldMaskB\003\340A\002\022\024\n\014version_info\030\005" + - " \001(\t\022\034\n\024service_account_name\030\006 \001(\t\"d\n\030Ge" + - "tTransferConfigRequest\022H\n\004name\030\001 \001(\tB:\340A" + - "\002\372A4\n2bigquerydatatransfer.googleapis.co" + - "m/TransferConfig\"g\n\033DeleteTransferConfig" + - "Request\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bigqueryd" + - "atatransfer.googleapis.com/TransferConfi" + - "g\"V\n\025GetTransferRunRequest\022=\n\004name\030\001 \001(\t" + - "B/\340A\002\372A)\n\'bigquerydatatransfer.googleapi" + - "s.com/Run\"Y\n\030DeleteTransferRunRequest\022=\n" + - "\004name\030\001 \001(\tB/\340A\002\372A)\n\'bigquerydatatransfe" + - "r.googleapis.com/Run\"\250\001\n\032ListTransferCon" + - "figsRequest\022J\n\006parent\030\001 \001(\tB:\340A\002\372A4\0222big" + - "querydatatransfer.googleapis.com/Transfe" + - "rConfig\022\027\n\017data_source_ids\030\002 \003(\t\022\022\n\npage" + - "_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\"\221\001\n\033List" + - "TransferConfigsResponse\022T\n\020transfer_conf" + - "igs\030\001 \003(\01325.google.cloud.bigquery.datatr" + - "ansfer.v1.TransferConfigB\003\340A\003\022\034\n\017next_pa" + - "ge_token\030\002 \001(\tB\003\340A\003\"\336\002\n\027ListTransferRuns" + - "Request\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'bigquer" + - "ydatatransfer.googleapis.com/Run\022D\n\006stat" + - "es\030\002 \003(\01624.google.cloud.bigquery.datatra" + - "nsfer.v1.TransferState\022\022\n\npage_token\030\003 \001" + - "(\t\022\021\n\tpage_size\030\004 \001(\005\022^\n\013run_attempt\030\005 \001" + - "(\0162I.google.cloud.bigquery.datatransfer." + - "v1.ListTransferRunsRequest.RunAttempt\"5\n" + - "\nRunAttempt\022\033\n\027RUN_ATTEMPT_UNSPECIFIED\020\000" + - "\022\n\n\006LATEST\020\001\"\210\001\n\030ListTransferRunsRespons" + - "e\022N\n\rtransfer_runs\030\001 \003(\01322.google.cloud." + - "bigquery.datatransfer.v1.TransferRunB\003\340A" + - "\003\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\340\001\n\027List" + - "TransferLogsRequest\022?\n\006parent\030\001 \001(\tB/\340A\002" + - "\372A)\n\'bigquerydatatransfer.googleapis.com" + - "/Run\022\022\n\npage_token\030\004 \001(\t\022\021\n\tpage_size\030\005 " + - "\001(\005\022]\n\rmessage_types\030\006 \003(\0162F.google.clou" + - "d.bigquery.datatransfer.v1.TransferMessa" + - "ge.MessageSeverity\"\220\001\n\030ListTransferLogsR" + - "esponse\022V\n\021transfer_messages\030\001 \003(\01326.goo" + - "gle.cloud.bigquery.datatransfer.v1.Trans" + - "ferMessageB\003\340A\003\022\034\n\017next_page_token\030\002 \001(\t" + - "B\003\340A\003\"^\n\026CheckValidCredsRequest\022D\n\004name\030" + - "\001 \001(\tB6\340A\002\372A0\n.bigquerydatatransfer.goog" + - "leapis.com/DataSource\"2\n\027CheckValidCreds" + - "Response\022\027\n\017has_valid_creds\030\001 \001(\010\"\321\001\n\033Sc" + - "heduleTransferRunsRequest\022J\n\006parent\030\001 \001(" + - "\tB:\340A\002\372A4\n2bigquerydatatransfer.googleap" + - "is.com/TransferConfig\0223\n\nstart_time\030\002 \001(" + - "\0132\032.google.protobuf.TimestampB\003\340A\002\0221\n\010en" + - "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" + - "B\003\340A\002\"`\n\034ScheduleTransferRunsResponse\022@\n" + - "\004runs\030\001 \003(\01322.google.cloud.bigquery.data" + - "transfer.v1.TransferRun\"\207\003\n\036StartManualT" + - "ransferRunsRequest\022G\n\006parent\030\001 \001(\tB7\372A4\n" + - "2bigquerydatatransfer.googleapis.com/Tra" + - "nsferConfig\022o\n\024requested_time_range\030\003 \001(" + - "\0132O.google.cloud.bigquery.datatransfer.v" + - "1.StartManualTransferRunsRequest.TimeRan" + - "geH\000\0228\n\022requested_run_time\030\004 \001(\0132\032.googl" + - "e.protobuf.TimestampH\000\032i\n\tTimeRange\022.\n\ns" + - "tart_time\030\001 \001(\0132\032.google.protobuf.Timest" + - "amp\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf." + - "TimestampB\006\n\004time\"c\n\037StartManualTransfer" + - "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(\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(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor, - new java.lang.String[] { "ParamId", "DisplayName", "Description", "Type", "Required", "Repeated", "ValidationRegex", "AllowedValues", "MinValue", "MaxValue", "Fields", "ValidationDescription", "ValidationHelpUrl", "Immutable", "Recurse", "Deprecated", }); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor, - new java.lang.String[] { "Name", "DataSourceId", "DisplayName", "Description", "ClientId", "Scopes", "TransferType", "SupportsMultipleTransfers", "UpdateDeadlineSeconds", "DefaultSchedule", "SupportsCustomSchedule", "Parameters", "HelpUrl", "AuthorizationType", "DataRefreshType", "DefaultDataRefreshWindowDays", "ManualRunsDisabled", "MinimumScheduleInterval", }); - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor, - new java.lang.String[] { "Parent", "PageToken", "PageSize", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor, - new java.lang.String[] { "DataSources", "NextPageToken", }); - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor, - new java.lang.String[] { "Parent", "TransferConfig", "AuthorizationCode", "VersionInfo", "ServiceAccountName", }); - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor, - new java.lang.String[] { "TransferConfig", "AuthorizationCode", "UpdateMask", "VersionInfo", "ServiceAccountName", }); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor, - new java.lang.String[] { "Parent", "DataSourceIds", "PageToken", "PageSize", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor, - new java.lang.String[] { "TransferConfigs", "NextPageToken", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor, - new java.lang.String[] { "Parent", "States", "PageToken", "PageSize", "RunAttempt", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor, - new java.lang.String[] { "TransferRuns", "NextPageToken", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor, - new java.lang.String[] { "Parent", "PageToken", "PageSize", "MessageTypes", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor, - new java.lang.String[] { "TransferMessages", "NextPageToken", }); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor, - new java.lang.String[] { "HasValidCreds", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor, - new java.lang.String[] { "Parent", "StartTime", "EndTime", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor, - new java.lang.String[] { "Runs", }); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor, - new java.lang.String[] { "Parent", "RequestedTimeRange", "RequestedRunTime", "Time", }); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor = - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor, - new java.lang.String[] { "StartTime", "EndTime", }); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor, - new java.lang.String[] { "Runs", }); - internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor, - 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); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java deleted file mode 100644 index dd0152ac9918..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// 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; - -public interface DeleteTransferConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java deleted file mode 100644 index 66aaa7ee4a05..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java +++ /dev/null @@ -1,20 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/datatransfer/v1/transfer.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.datatransfer.v1; - -public interface EmailPreferencesOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EmailPreferences) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * If true, email notifications will be sent on transfer run failures.
-   * 
- * - * bool enable_failure_email = 1; - * @return The enableFailureEmail. - */ - boolean getEnableFailureEmail(); -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java deleted file mode 100644 index 069d54757e3b..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// 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; - -public interface GetDataSourceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java deleted file mode 100644 index 9e179140acb7..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// 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; - -public interface GetTransferConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java deleted file mode 100644 index cb06624c0c40..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java +++ /dev/null @@ -1,371 +0,0 @@ -/* - * Copyright 2023 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; - -import com.google.api.core.BetaApi; -import com.google.api.pathtemplate.PathTemplate; -import com.google.api.pathtemplate.ValidationException; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -@Generated("by gapic-generator-java") -public class RunName implements ResourceName { - private static final PathTemplate PROJECT_TRANSFER_CONFIG_RUN = - PathTemplate.createWithoutUrlEncoding( - "projects/{project}/transferConfigs/{transfer_config}/runs/{run}"); - private static final PathTemplate PROJECT_LOCATION_TRANSFER_CONFIG_RUN = - PathTemplate.createWithoutUrlEncoding( - "projects/{project}/locations/{location}/transferConfigs/{transfer_config}/runs/{run}"); - private volatile Map fieldValuesMap; - private PathTemplate pathTemplate; - private String fixedValue; - private final String project; - private final String transferConfig; - private final String run; - private final String location; - - @Deprecated - protected RunName() { - project = null; - transferConfig = null; - run = null; - location = null; - } - - private RunName(Builder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); - run = Preconditions.checkNotNull(builder.getRun()); - location = null; - pathTemplate = PROJECT_TRANSFER_CONFIG_RUN; - } - - private RunName(ProjectLocationTransferConfigRunBuilder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - location = Preconditions.checkNotNull(builder.getLocation()); - transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); - run = Preconditions.checkNotNull(builder.getRun()); - pathTemplate = PROJECT_LOCATION_TRANSFER_CONFIG_RUN; - } - - public String getProject() { - return project; - } - - public String getTransferConfig() { - return transferConfig; - } - - public String getRun() { - return run; - } - - public String getLocation() { - return location; - } - - public static Builder newBuilder() { - return new Builder(); - } - - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static Builder newProjectTransferConfigRunBuilder() { - return new Builder(); - } - - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static ProjectLocationTransferConfigRunBuilder - newProjectLocationTransferConfigRunBuilder() { - return new ProjectLocationTransferConfigRunBuilder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static RunName of(String project, String transferConfig, String run) { - return newBuilder().setProject(project).setTransferConfig(transferConfig).setRun(run).build(); - } - - @BetaApi("The static create methods are not stable yet and may be changed in the future.") - public static RunName ofProjectTransferConfigRunName( - String project, String transferConfig, String run) { - return newBuilder().setProject(project).setTransferConfig(transferConfig).setRun(run).build(); - } - - @BetaApi("The static create methods are not stable yet and may be changed in the future.") - public static RunName ofProjectLocationTransferConfigRunName( - String project, String location, String transferConfig, String run) { - return newProjectLocationTransferConfigRunBuilder() - .setProject(project) - .setLocation(location) - .setTransferConfig(transferConfig) - .setRun(run) - .build(); - } - - public static String format(String project, String transferConfig, String run) { - return newBuilder() - .setProject(project) - .setTransferConfig(transferConfig) - .setRun(run) - .build() - .toString(); - } - - @BetaApi("The static format methods are not stable yet and may be changed in the future.") - public static String formatProjectTransferConfigRunName( - String project, String transferConfig, String run) { - return newBuilder() - .setProject(project) - .setTransferConfig(transferConfig) - .setRun(run) - .build() - .toString(); - } - - @BetaApi("The static format methods are not stable yet and may be changed in the future.") - public static String formatProjectLocationTransferConfigRunName( - String project, String location, String transferConfig, String run) { - return newProjectLocationTransferConfigRunBuilder() - .setProject(project) - .setLocation(location) - .setTransferConfig(transferConfig) - .setRun(run) - .build() - .toString(); - } - - public static RunName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - if (PROJECT_TRANSFER_CONFIG_RUN.matches(formattedString)) { - Map matchMap = PROJECT_TRANSFER_CONFIG_RUN.match(formattedString); - return ofProjectTransferConfigRunName( - matchMap.get("project"), matchMap.get("transfer_config"), matchMap.get("run")); - } else if (PROJECT_LOCATION_TRANSFER_CONFIG_RUN.matches(formattedString)) { - Map matchMap = PROJECT_LOCATION_TRANSFER_CONFIG_RUN.match(formattedString); - return ofProjectLocationTransferConfigRunName( - matchMap.get("project"), - matchMap.get("location"), - matchMap.get("transfer_config"), - matchMap.get("run")); - } - throw new ValidationException("RunName.parse: formattedString not in valid format"); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList<>(values.size()); - for (RunName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PROJECT_TRANSFER_CONFIG_RUN.matches(formattedString) - || PROJECT_LOCATION_TRANSFER_CONFIG_RUN.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (project != null) { - fieldMapBuilder.put("project", project); - } - if (transferConfig != null) { - fieldMapBuilder.put("transfer_config", transferConfig); - } - if (run != null) { - fieldMapBuilder.put("run", run); - } - if (location != null) { - fieldMapBuilder.put("location", location); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return fixedValue != null ? fixedValue : pathTemplate.instantiate(getFieldValuesMap()); - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o != null && getClass() == o.getClass()) { - RunName that = ((RunName) o); - return Objects.equals(this.project, that.project) - && Objects.equals(this.transferConfig, that.transferConfig) - && Objects.equals(this.run, that.run) - && Objects.equals(this.location, that.location); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(fixedValue); - h *= 1000003; - h ^= Objects.hashCode(project); - h *= 1000003; - h ^= Objects.hashCode(transferConfig); - h *= 1000003; - h ^= Objects.hashCode(run); - h *= 1000003; - h ^= Objects.hashCode(location); - return h; - } - - /** Builder for projects/{project}/transferConfigs/{transfer_config}/runs/{run}. */ - public static class Builder { - private String project; - private String transferConfig; - private String run; - - protected Builder() {} - - public String getProject() { - return project; - } - - public String getTransferConfig() { - return transferConfig; - } - - public String getRun() { - return run; - } - - public Builder setProject(String project) { - this.project = project; - return this; - } - - public Builder setTransferConfig(String transferConfig) { - this.transferConfig = transferConfig; - return this; - } - - public Builder setRun(String run) { - this.run = run; - return this; - } - - private Builder(RunName runName) { - Preconditions.checkArgument( - Objects.equals(runName.pathTemplate, PROJECT_TRANSFER_CONFIG_RUN), - "toBuilder is only supported when RunName has the pattern of projects/{project}/transferConfigs/{transfer_config}/runs/{run}"); - this.project = runName.project; - this.transferConfig = runName.transferConfig; - this.run = runName.run; - } - - public RunName build() { - return new RunName(this); - } - } - - /** - * Builder for - * projects/{project}/locations/{location}/transferConfigs/{transfer_config}/runs/{run}. - */ - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static class ProjectLocationTransferConfigRunBuilder { - private String project; - private String location; - private String transferConfig; - private String run; - - protected ProjectLocationTransferConfigRunBuilder() {} - - public String getProject() { - return project; - } - - public String getLocation() { - return location; - } - - public String getTransferConfig() { - return transferConfig; - } - - public String getRun() { - return run; - } - - public ProjectLocationTransferConfigRunBuilder setProject(String project) { - this.project = project; - return this; - } - - public ProjectLocationTransferConfigRunBuilder setLocation(String location) { - this.location = location; - return this; - } - - public ProjectLocationTransferConfigRunBuilder setTransferConfig(String transferConfig) { - this.transferConfig = transferConfig; - return this; - } - - public ProjectLocationTransferConfigRunBuilder setRun(String run) { - this.run = run; - return this; - } - - public RunName build() { - return new RunName(this); - } - } -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java deleted file mode 100644 index c5559f0eaa98..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java +++ /dev/null @@ -1,314 +0,0 @@ -/* - * Copyright 2023 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; - -import com.google.api.core.BetaApi; -import com.google.api.pathtemplate.PathTemplate; -import com.google.api.pathtemplate.ValidationException; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -@Generated("by gapic-generator-java") -public class TransferConfigName implements ResourceName { - private static final PathTemplate PROJECT_TRANSFER_CONFIG = - PathTemplate.createWithoutUrlEncoding("projects/{project}/transferConfigs/{transfer_config}"); - private static final PathTemplate PROJECT_LOCATION_TRANSFER_CONFIG = - PathTemplate.createWithoutUrlEncoding( - "projects/{project}/locations/{location}/transferConfigs/{transfer_config}"); - private volatile Map fieldValuesMap; - private PathTemplate pathTemplate; - private String fixedValue; - private final String project; - private final String transferConfig; - private final String location; - - @Deprecated - protected TransferConfigName() { - project = null; - transferConfig = null; - location = null; - } - - private TransferConfigName(Builder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); - location = null; - pathTemplate = PROJECT_TRANSFER_CONFIG; - } - - private TransferConfigName(ProjectLocationTransferConfigBuilder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - location = Preconditions.checkNotNull(builder.getLocation()); - transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); - pathTemplate = PROJECT_LOCATION_TRANSFER_CONFIG; - } - - public String getProject() { - return project; - } - - public String getTransferConfig() { - return transferConfig; - } - - public String getLocation() { - return location; - } - - public static Builder newBuilder() { - return new Builder(); - } - - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static Builder newProjectTransferConfigBuilder() { - return new Builder(); - } - - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static ProjectLocationTransferConfigBuilder newProjectLocationTransferConfigBuilder() { - return new ProjectLocationTransferConfigBuilder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static TransferConfigName of(String project, String transferConfig) { - return newBuilder().setProject(project).setTransferConfig(transferConfig).build(); - } - - @BetaApi("The static create methods are not stable yet and may be changed in the future.") - public static TransferConfigName ofProjectTransferConfigName( - String project, String transferConfig) { - return newBuilder().setProject(project).setTransferConfig(transferConfig).build(); - } - - @BetaApi("The static create methods are not stable yet and may be changed in the future.") - public static TransferConfigName ofProjectLocationTransferConfigName( - String project, String location, String transferConfig) { - return newProjectLocationTransferConfigBuilder() - .setProject(project) - .setLocation(location) - .setTransferConfig(transferConfig) - .build(); - } - - public static String format(String project, String transferConfig) { - return newBuilder().setProject(project).setTransferConfig(transferConfig).build().toString(); - } - - @BetaApi("The static format methods are not stable yet and may be changed in the future.") - public static String formatProjectTransferConfigName(String project, String transferConfig) { - return newBuilder().setProject(project).setTransferConfig(transferConfig).build().toString(); - } - - @BetaApi("The static format methods are not stable yet and may be changed in the future.") - public static String formatProjectLocationTransferConfigName( - String project, String location, String transferConfig) { - return newProjectLocationTransferConfigBuilder() - .setProject(project) - .setLocation(location) - .setTransferConfig(transferConfig) - .build() - .toString(); - } - - public static TransferConfigName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - if (PROJECT_TRANSFER_CONFIG.matches(formattedString)) { - Map matchMap = PROJECT_TRANSFER_CONFIG.match(formattedString); - return ofProjectTransferConfigName(matchMap.get("project"), matchMap.get("transfer_config")); - } else if (PROJECT_LOCATION_TRANSFER_CONFIG.matches(formattedString)) { - Map matchMap = PROJECT_LOCATION_TRANSFER_CONFIG.match(formattedString); - return ofProjectLocationTransferConfigName( - matchMap.get("project"), matchMap.get("location"), matchMap.get("transfer_config")); - } - throw new ValidationException("TransferConfigName.parse: formattedString not in valid format"); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList<>(values.size()); - for (TransferConfigName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PROJECT_TRANSFER_CONFIG.matches(formattedString) - || PROJECT_LOCATION_TRANSFER_CONFIG.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (project != null) { - fieldMapBuilder.put("project", project); - } - if (transferConfig != null) { - fieldMapBuilder.put("transfer_config", transferConfig); - } - if (location != null) { - fieldMapBuilder.put("location", location); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return fixedValue != null ? fixedValue : pathTemplate.instantiate(getFieldValuesMap()); - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o != null && getClass() == o.getClass()) { - TransferConfigName that = ((TransferConfigName) o); - return Objects.equals(this.project, that.project) - && Objects.equals(this.transferConfig, that.transferConfig) - && Objects.equals(this.location, that.location); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(fixedValue); - h *= 1000003; - h ^= Objects.hashCode(project); - h *= 1000003; - h ^= Objects.hashCode(transferConfig); - h *= 1000003; - h ^= Objects.hashCode(location); - return h; - } - - /** Builder for projects/{project}/transferConfigs/{transfer_config}. */ - public static class Builder { - private String project; - private String transferConfig; - - protected Builder() {} - - public String getProject() { - return project; - } - - public String getTransferConfig() { - return transferConfig; - } - - public Builder setProject(String project) { - this.project = project; - return this; - } - - public Builder setTransferConfig(String transferConfig) { - this.transferConfig = transferConfig; - return this; - } - - private Builder(TransferConfigName transferConfigName) { - Preconditions.checkArgument( - Objects.equals(transferConfigName.pathTemplate, PROJECT_TRANSFER_CONFIG), - "toBuilder is only supported when TransferConfigName has the pattern of projects/{project}/transferConfigs/{transfer_config}"); - this.project = transferConfigName.project; - this.transferConfig = transferConfigName.transferConfig; - } - - public TransferConfigName build() { - return new TransferConfigName(this); - } - } - - /** Builder for projects/{project}/locations/{location}/transferConfigs/{transfer_config}. */ - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static class ProjectLocationTransferConfigBuilder { - private String project; - private String location; - private String transferConfig; - - protected ProjectLocationTransferConfigBuilder() {} - - public String getProject() { - return project; - } - - public String getLocation() { - return location; - } - - public String getTransferConfig() { - return transferConfig; - } - - public ProjectLocationTransferConfigBuilder setProject(String project) { - this.project = project; - return this; - } - - public ProjectLocationTransferConfigBuilder setLocation(String location) { - this.location = location; - return this; - } - - public ProjectLocationTransferConfigBuilder setTransferConfig(String transferConfig) { - this.transferConfig = transferConfig; - return this; - } - - public TransferConfigName build() { - return new TransferConfigName(this); - } - } -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java deleted file mode 100644 index 4328e12c1f77..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java +++ /dev/null @@ -1,212 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/datatransfer/v1/transfer.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.datatransfer.v1; - -public final class TransferProto { - private TransferProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/bigquery/datatransfer/v1/" + - "transfer.proto\022%google.cloud.bigquery.da" + - "tatransfer.v1\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032\034googl" + - "e/protobuf/struct.proto\032\037google/protobuf" + - "/timestamp.proto\032\036google/protobuf/wrappe" + - "rs.proto\032\027google/rpc/status.proto\"0\n\020Ema" + - "ilPreferences\022\034\n\024enable_failure_email\030\001 " + - "\001(\010\"\220\001\n\017ScheduleOptions\022\037\n\027disable_auto_" + - "scheduling\030\003 \001(\010\022.\n\nstart_time\030\001 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\022,\n\010end_time\030\002 \001" + - "(\0132\032.google.protobuf.Timestamp\"(\n\010UserIn" + - "fo\022\022\n\005email\030\001 \001(\tH\000\210\001\001B\010\n\006_email\"\227\010\n\016Tra" + - "nsferConfig\022\014\n\004name\030\001 \001(\t\022 \n\026destination" + - "_dataset_id\030\002 \001(\tH\000\022\024\n\014display_name\030\003 \001(" + - "\t\022\026\n\016data_source_id\030\005 \001(\t\022\'\n\006params\030\t \001(" + - "\0132\027.google.protobuf.Struct\022\020\n\010schedule\030\007" + - " \001(\t\022P\n\020schedule_options\030\030 \001(\01326.google." + - "cloud.bigquery.datatransfer.v1.ScheduleO" + - "ptions\022 \n\030data_refresh_window_days\030\014 \001(\005" + - "\022\020\n\010disabled\030\r \001(\010\0224\n\013update_time\030\004 \001(\0132" + - "\032.google.protobuf.TimestampB\003\340A\003\0226\n\rnext" + - "_run_time\030\010 \001(\0132\032.google.protobuf.Timest" + - "ampB\003\340A\003\022H\n\005state\030\n \001(\01624.google.cloud.b" + - "igquery.datatransfer.v1.TransferStateB\003\340" + - "A\003\022\017\n\007user_id\030\013 \001(\003\022\033\n\016dataset_region\030\016 " + - "\001(\tB\003\340A\003\022!\n\031notification_pubsub_topic\030\017 " + - "\001(\t\022R\n\021email_preferences\030\022 \001(\01327.google." + - "cloud.bigquery.datatransfer.v1.EmailPref" + - "erences\022M\n\nowner_info\030\033 \001(\0132/.google.clo" + - "ud.bigquery.datatransfer.v1.UserInfoB\003\340A" + - "\003H\001\210\001\001\022`\n\030encryption_configuration\030\034 \001(\013" + - "2>.google.cloud.bigquery.datatransfer.v1" + - ".EncryptionConfiguration:\271\001\352A\265\001\n2bigquer" + - "ydatatransfer.googleapis.com/TransferCon" + - "fig\0224projects/{project}/transferConfigs/" + - "{transfer_config}\022Iprojects/{project}/lo" + - "cations/{location}/transferConfigs/{tran" + - "sfer_config}B\r\n\013destinationB\r\n\013_owner_in" + - "fo\"M\n\027EncryptionConfiguration\0222\n\014kms_key" + - "_name\030\001 \001(\0132\034.google.protobuf.StringValu" + - "e\"\372\006\n\013TransferRun\022\014\n\004name\030\001 \001(\t\0221\n\rsched" + - "ule_time\030\003 \001(\0132\032.google.protobuf.Timesta" + - "mp\022,\n\010run_time\030\n \001(\0132\032.google.protobuf.T" + - "imestamp\022(\n\014error_status\030\025 \001(\0132\022.google." + - "rpc.Status\0223\n\nstart_time\030\004 \001(\0132\032.google." + - "protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(" + - "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" + - "date_time\030\006 \001(\0132\032.google.protobuf.Timest" + - "ampB\003\340A\003\022,\n\006params\030\t \001(\0132\027.google.protob" + - "uf.StructB\003\340A\003\022%\n\026destination_dataset_id" + - "\030\002 \001(\tB\003\340A\003H\000\022\033\n\016data_source_id\030\007 \001(\tB\003\340" + - "A\003\022C\n\005state\030\010 \001(\01624.google.cloud.bigquer" + - "y.datatransfer.v1.TransferState\022\017\n\007user_" + - "id\030\013 \001(\003\022\025\n\010schedule\030\014 \001(\tB\003\340A\003\022&\n\031notif" + - "ication_pubsub_topic\030\027 \001(\tB\003\340A\003\022W\n\021email" + - "_preferences\030\031 \001(\01327.google.cloud.bigque" + - "ry.datatransfer.v1.EmailPreferencesB\003\340A\003" + - ":\304\001\352A\300\001\n\'bigquerydatatransfer.googleapis" + - ".com/Run\022?projects/{project}/transferCon" + - "figs/{transfer_config}/runs/{run}\022Tproje" + - "cts/{project}/locations/{location}/trans" + - "ferConfigs/{transfer_config}/runs/{run}B" + - "\r\n\013destination\"\212\002\n\017TransferMessage\0220\n\014me" + - "ssage_time\030\001 \001(\0132\032.google.protobuf.Times" + - "tamp\022X\n\010severity\030\002 \001(\0162F.google.cloud.bi" + - "gquery.datatransfer.v1.TransferMessage.M" + - "essageSeverity\022\024\n\014message_text\030\003 \001(\t\"U\n\017" + - "MessageSeverity\022 \n\034MESSAGE_SEVERITY_UNSP" + - "ECIFIED\020\000\022\010\n\004INFO\020\001\022\013\n\007WARNING\020\002\022\t\n\005ERRO" + - "R\020\003*K\n\014TransferType\022\035\n\031TRANSFER_TYPE_UNS" + - "PECIFIED\020\000\022\t\n\005BATCH\020\001\022\r\n\tSTREAMING\020\002\032\002\030\001" + - "*s\n\rTransferState\022\036\n\032TRANSFER_STATE_UNSP" + - "ECIFIED\020\000\022\013\n\007PENDING\020\002\022\013\n\007RUNNING\020\003\022\r\n\tS" + - "UCCEEDED\020\004\022\n\n\006FAILED\020\005\022\r\n\tCANCELLED\020\006B\217\002" + - "\n)com.google.cloud.bigquery.datatransfer" + - ".v1B\rTransferProtoP\001ZMcloud.google.com/g" + - "o/bigquery/datatransfer/apiv1/datatransf" + - "erpb;datatransferpb\242\002\005GCBDT\252\002%Google.Clo" + - "ud.BigQuery.DataTransfer.V1\312\002%Google\\Clo" + - "ud\\BigQuery\\DataTransfer\\V1\352\002)Google::Cl" + - "oud::Bigquery::DataTransfer::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor, - new java.lang.String[] { "EnableFailureEmail", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor, - new java.lang.String[] { "DisableAutoScheduling", "StartTime", "EndTime", }); - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor, - new java.lang.String[] { "Email", }); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor, - new java.lang.String[] { "Name", "DestinationDatasetId", "DisplayName", "DataSourceId", "Params", "Schedule", "ScheduleOptions", "DataRefreshWindowDays", "Disabled", "UpdateTime", "NextRunTime", "State", "UserId", "DatasetRegion", "NotificationPubsubTopic", "EmailPreferences", "OwnerInfo", "EncryptionConfiguration", "Destination", }); - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor, - new java.lang.String[] { "KmsKeyName", }); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor, - new java.lang.String[] { "Name", "ScheduleTime", "RunTime", "ErrorStatus", "StartTime", "EndTime", "UpdateTime", "Params", "DestinationDatasetId", "DataSourceId", "State", "UserId", "Schedule", "NotificationPubsubTopic", "EmailPreferences", "Destination", }); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor, - new java.lang.String[] { "MessageTime", "Severity", "MessageText", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From 5ce5e9b452a5afc703e8326d80be1dfef0e281ad Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 14 Feb 2024 18:55:57 +0000 Subject: [PATCH 3/4] fix(deps): Update the Java code generator (gapic-generator-java) to 2.35.0 PiperOrigin-RevId: 606977988 Source-Link: https://github.com/googleapis/googleapis/commit/0606cbcec6e416faa824c98a6d4eda4c22cfdb29 Source-Link: https://github.com/googleapis/googleapis-gen/commit/2f98a6f866a6780a3882b63e078bc64a1b7519a0 Copy-Tag: eyJwIjoiamF2YS1iaWdxdWVyeWRhdGF0cmFuc2Zlci8uT3dsQm90LnlhbWwiLCJoIjoiMmY5OGE2Zjg2NmE2NzgwYTM4ODJiNjNlMDc4YmM2NGExYjc1MTlhMCJ9 --- .../v1/DataTransferServiceGrpc.java | 2330 ----------------- .../v1/CheckValidCredsRequestOrBuilder.java | 59 - .../v1/CheckValidCredsResponseOrBuilder.java | 39 - .../datatransfer/v1/DataTransferProto.java | 694 ----- .../DeleteTransferConfigRequestOrBuilder.java | 59 - .../v1/EmailPreferencesOrBuilder.java | 39 - .../v1/GetDataSourceRequestOrBuilder.java | 59 - .../v1/GetTransferConfigRequestOrBuilder.java | 59 - .../datatransfer/v1/TransferProto.java | 266 -- .../v1/DataTransferServiceClient.java | 2 +- .../v1/DataTransferServiceSettings.java | 4 +- .../datatransfer/v1/gapic_metadata.json | 0 .../datatransfer/v1/package-info.java | 2 +- .../v1/stub/DataTransferServiceStub.java | 2 +- .../stub/DataTransferServiceStubSettings.java | 4 +- ...rpcDataTransferServiceCallableFactory.java | 2 +- .../v1/stub/GrpcDataTransferServiceStub.java | 3 +- ...sonDataTransferServiceCallableFactory.java | 2 +- .../stub/HttpJsonDataTransferServiceStub.java | 2 +- .../reflect-config.json | 0 ...DataTransferServiceClientHttpJsonTest.java | 2 +- .../v1/DataTransferServiceClientTest.java | 2 +- .../v1/MockDataTransferService.java | 2 +- .../v1/MockDataTransferServiceImpl.java | 2 +- .../datatransfer/v1/MockLocations.java | 2 +- .../datatransfer/v1/MockLocationsImpl.java | 2 +- .../v1/DataTransferServiceGrpc.java | 1701 ++++++++++++ .../v1/CheckValidCredsRequest.java | 373 ++- .../v1/CheckValidCredsRequestOrBuilder.java | 34 + .../v1/CheckValidCredsResponse.java | 318 +-- .../v1/CheckValidCredsResponseOrBuilder.java | 20 + .../v1/CreateTransferConfigRequest.java | 761 ++---- .../CreateTransferConfigRequestOrBuilder.java | 82 +- .../bigquery/datatransfer/v1/DataSource.java | 1891 +++++-------- .../datatransfer/v1/DataSourceName.java | 313 +++ .../datatransfer/v1/DataSourceOrBuilder.java | 213 +- .../datatransfer/v1/DataSourceParameter.java | 1487 ++++------- .../v1/DataSourceParameterOrBuilder.java | 142 +- .../datatransfer/v1/DataTransferProto.java | 616 +++++ .../v1/DeleteTransferConfigRequest.java | 385 ++- .../DeleteTransferConfigRequestOrBuilder.java | 34 + .../v1/DeleteTransferRunRequest.java | 385 ++- .../v1/DeleteTransferRunRequestOrBuilder.java | 35 +- .../datatransfer/v1/EmailPreferences.java | 287 +- .../v1/EmailPreferencesOrBuilder.java | 20 + .../v1/EncryptionConfiguration.java | 372 ++- .../v1/EncryptionConfigurationOrBuilder.java | 26 +- .../v1/EnrollDataSourcesRequest.java | 465 ++-- .../v1/EnrollDataSourcesRequestOrBuilder.java | 45 +- .../datatransfer/v1/GetDataSourceRequest.java | 370 ++- .../v1/GetDataSourceRequestOrBuilder.java | 34 + .../v1/GetTransferConfigRequest.java | 385 ++- .../v1/GetTransferConfigRequestOrBuilder.java | 34 + .../v1/GetTransferRunRequest.java | 373 ++- .../v1/GetTransferRunRequestOrBuilder.java | 35 +- .../v1/ListDataSourcesRequest.java | 476 ++-- .../v1/ListDataSourcesRequestOrBuilder.java | 47 +- .../v1/ListDataSourcesResponse.java | 502 ++-- .../v1/ListDataSourcesResponseOrBuilder.java | 45 +- .../v1/ListTransferConfigsRequest.java | 598 ++--- .../ListTransferConfigsRequestOrBuilder.java | 65 +- .../v1/ListTransferConfigsResponse.java | 631 ++--- .../ListTransferConfigsResponseOrBuilder.java | 62 +- .../v1/ListTransferLogsRequest.java | 720 ++--- .../v1/ListTransferLogsRequestOrBuilder.java | 91 +- .../v1/ListTransferLogsResponse.java | 639 ++--- .../v1/ListTransferLogsResponseOrBuilder.java | 61 +- .../v1/ListTransferRunsRequest.java | 788 ++---- .../v1/ListTransferRunsRequestOrBuilder.java | 79 +- .../v1/ListTransferRunsResponse.java | 604 ++--- .../v1/ListTransferRunsResponseOrBuilder.java | 62 +- .../datatransfer/v1/LocationName.java | 2 +- .../bigquery/datatransfer/v1/ProjectName.java | 2 +- .../bigquery/datatransfer/v1/RunName.java | 371 +++ .../datatransfer/v1/ScheduleOptions.java | 452 ++-- .../v1/ScheduleOptionsOrBuilder.java | 37 +- .../v1/ScheduleTransferRunsRequest.java | 613 ++--- .../ScheduleTransferRunsRequestOrBuilder.java | 60 +- .../v1/ScheduleTransferRunsResponse.java | 448 ++-- ...ScheduleTransferRunsResponseOrBuilder.java | 36 +- .../v1/StartManualTransferRunsRequest.java | 1270 ++++----- ...artManualTransferRunsRequestOrBuilder.java | 61 +- .../v1/StartManualTransferRunsResponse.java | 465 ++-- ...rtManualTransferRunsResponseOrBuilder.java | 36 +- .../datatransfer/v1/TransferConfig.java | 1907 +++++--------- .../datatransfer/v1/TransferConfigName.java | 314 +++ .../v1/TransferConfigOrBuilder.java | 214 +- .../datatransfer/v1/TransferMessage.java | 578 ++-- .../v1/TransferMessageOrBuilder.java | 47 +- .../datatransfer/v1/TransferProto.java | 212 ++ .../bigquery/datatransfer/v1/TransferRun.java | 1666 +++++------- .../datatransfer/v1/TransferRunOrBuilder.java | 187 +- .../datatransfer/v1/TransferState.java | 107 +- .../datatransfer/v1/TransferType.java | 87 +- .../v1/UnenrollDataSourcesRequest.java | 465 ++-- .../UnenrollDataSourcesRequestOrBuilder.java | 45 +- .../v1/UpdateTransferConfigRequest.java | 784 ++---- .../UpdateTransferConfigRequestOrBuilder.java | 82 +- .../bigquery/datatransfer/v1/UserInfo.java | 325 +-- .../datatransfer/v1/UserInfoOrBuilder.java | 30 +- .../datatransfer/v1/datatransfer.proto | 0 .../bigquery/datatransfer/v1/transfer.proto | 0 .../checkvalidcreds/AsyncCheckValidCreds.java | 2 +- .../checkvalidcreds/SyncCheckValidCreds.java | 2 +- .../SyncCheckValidCredsDatasourcename.java | 2 +- .../SyncCheckValidCredsString.java | 2 +- .../SyncCreateSetCredentialsProvider.java | 2 +- .../SyncCreateSetCredentialsProvider1.java | 2 +- .../create/SyncCreateSetEndpoint.java | 2 +- .../AsyncCreateTransferConfig.java | 2 +- .../SyncCreateTransferConfig.java | 2 +- ...nsferConfigLocationnameTransferconfig.java | 2 +- ...ansferConfigProjectnameTransferconfig.java | 2 +- ...ateTransferConfigStringTransferconfig.java | 2 +- .../AsyncDeleteTransferConfig.java | 2 +- .../SyncDeleteTransferConfig.java | 2 +- .../SyncDeleteTransferConfigString.java | 2 +- ...eleteTransferConfigTransferconfigname.java | 2 +- .../AsyncDeleteTransferRun.java | 2 +- .../SyncDeleteTransferRun.java | 2 +- .../SyncDeleteTransferRunRunname.java | 2 +- .../SyncDeleteTransferRunString.java | 2 +- .../AsyncEnrollDataSources.java | 2 +- .../SyncEnrollDataSources.java | 2 +- .../getdatasource/AsyncGetDataSource.java | 2 +- .../getdatasource/SyncGetDataSource.java | 2 +- .../SyncGetDataSourceDatasourcename.java | 2 +- .../SyncGetDataSourceString.java | 2 +- .../getlocation/AsyncGetLocation.java | 2 +- .../getlocation/SyncGetLocation.java | 2 +- .../AsyncGetTransferConfig.java | 2 +- .../SyncGetTransferConfig.java | 2 +- .../SyncGetTransferConfigString.java | 2 +- ...ncGetTransferConfigTransferconfigname.java | 2 +- .../gettransferrun/AsyncGetTransferRun.java | 2 +- .../gettransferrun/SyncGetTransferRun.java | 2 +- .../SyncGetTransferRunRunname.java | 2 +- .../SyncGetTransferRunString.java | 2 +- .../listdatasources/AsyncListDataSources.java | 2 +- .../AsyncListDataSourcesPaged.java | 2 +- .../listdatasources/SyncListDataSources.java | 2 +- .../SyncListDataSourcesLocationname.java | 2 +- .../SyncListDataSourcesProjectname.java | 2 +- .../SyncListDataSourcesString.java | 2 +- .../listlocations/AsyncListLocations.java | 2 +- .../AsyncListLocationsPaged.java | 2 +- .../listlocations/SyncListLocations.java | 2 +- .../AsyncListTransferConfigs.java | 2 +- .../AsyncListTransferConfigsPaged.java | 2 +- .../SyncListTransferConfigs.java | 2 +- .../SyncListTransferConfigsLocationname.java | 2 +- .../SyncListTransferConfigsProjectname.java | 2 +- .../SyncListTransferConfigsString.java | 2 +- .../AsyncListTransferLogs.java | 2 +- .../AsyncListTransferLogsPaged.java | 2 +- .../SyncListTransferLogs.java | 2 +- .../SyncListTransferLogsRunname.java | 2 +- .../SyncListTransferLogsString.java | 2 +- .../AsyncListTransferRuns.java | 2 +- .../AsyncListTransferRunsPaged.java | 2 +- .../SyncListTransferRuns.java | 2 +- .../SyncListTransferRunsString.java | 2 +- ...yncListTransferRunsTransferconfigname.java | 2 +- .../AsyncScheduleTransferRuns.java | 2 +- .../SyncScheduleTransferRuns.java | 2 +- ...eTransferRunsStringTimestampTimestamp.java | 2 +- ...sTransferconfignameTimestampTimestamp.java | 2 +- .../AsyncStartManualTransferRuns.java | 2 +- .../SyncStartManualTransferRuns.java | 2 +- .../AsyncUnenrollDataSources.java | 2 +- .../SyncUnenrollDataSources.java | 2 +- .../AsyncUpdateTransferConfig.java | 2 +- .../SyncUpdateTransferConfig.java | 2 +- ...TransferConfigTransferconfigFieldmask.java | 2 +- .../getdatasource/SyncGetDataSource.java | 2 +- .../getdatasource/SyncGetDataSource.java | 2 +- 176 files changed, 12238 insertions(+), 19158 deletions(-) delete mode 100644 java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java delete mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java (99%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java (99%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java (99%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java (99%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java (99%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java (99%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java (99%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java (99%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java (99%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java (99%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java (99%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java (99%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java (63%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java (62%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java (74%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java (80%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java (71%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java (76%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java (74%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java (82%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java (61%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java (61%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java (51%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java (66%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java (64%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java (61%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java (63%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java (61%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java (63%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java (51%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java (64%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java (72%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java (73%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java (68%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java (70%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java (62%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java (55%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java (65%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java (62%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java (62%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java (55%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java (69%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java (73%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java (63%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java (55%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java (99%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java (99%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java (76%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java (82%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java (69%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java (66%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java (72%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java (66%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java (66%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java (72%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java (81%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java (68%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java (66%) create mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java (73%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java (82%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java (69%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java (74%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java (82%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java (67%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java (53%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto (100%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java (99%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java (99%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java (98%) rename {java-bigquerydatatransfer => owl-bot-staging/java-bigquerydatatransfer/v1}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java (98%) diff --git a/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java b/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java deleted file mode 100644 index 1874ec722cbd..000000000000 --- a/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java +++ /dev/null @@ -1,2330 +0,0 @@ -/* - * 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; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * This API allows users to manage their data transfers into BigQuery.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataTransferServiceGrpc { - - private DataTransferServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = - "google.cloud.bigquery.datatransfer.v1.DataTransferService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, - com.google.cloud.bigquery.datatransfer.v1.DataSource> - getGetDataSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataSource", - requestType = com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.DataSource.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, - com.google.cloud.bigquery.datatransfer.v1.DataSource> - getGetDataSourceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, - com.google.cloud.bigquery.datatransfer.v1.DataSource> - getGetDataSourceMethod; - if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { - DataTransferServiceGrpc.getGetDataSourceMethod = - getGetDataSourceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.DataSource - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("GetDataSource")) - .build(); - } - } - } - return getGetDataSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> - getListDataSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataSources", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> - getListDataSourcesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> - getListDataSourcesMethod; - if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { - DataTransferServiceGrpc.getListDataSourcesMethod = - getListDataSourcesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("ListDataSources")) - .build(); - } - } - } - return getListDataSourcesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getCreateTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getCreateTransferConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getCreateTransferConfigMethod; - if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) - == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) - == null) { - DataTransferServiceGrpc.getCreateTransferConfigMethod = - getCreateTransferConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("CreateTransferConfig")) - .build(); - } - } - } - return getCreateTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getUpdateTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getUpdateTransferConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getUpdateTransferConfigMethod; - if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) - == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) - == null) { - DataTransferServiceGrpc.getUpdateTransferConfigMethod = - getUpdateTransferConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("UpdateTransferConfig")) - .build(); - } - } - } - return getUpdateTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, - com.google.protobuf.Empty> - getDeleteTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, - com.google.protobuf.Empty> - getDeleteTransferConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, - com.google.protobuf.Empty> - getDeleteTransferConfigMethod; - if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) - == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) - == null) { - DataTransferServiceGrpc.getDeleteTransferConfigMethod = - getDeleteTransferConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("DeleteTransferConfig")) - .build(); - } - } - } - return getDeleteTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getGetTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getGetTransferConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getGetTransferConfigMethod; - if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) - == null) { - DataTransferServiceGrpc.getGetTransferConfigMethod = - getGetTransferConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("GetTransferConfig")) - .build(); - } - } - } - return getGetTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> - getListTransferConfigsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTransferConfigs", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> - getListTransferConfigsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> - getListTransferConfigsMethod; - if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) - == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) - == null) { - DataTransferServiceGrpc.getListTransferConfigsMethod = - getListTransferConfigsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListTransferConfigs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("ListTransferConfigs")) - .build(); - } - } - } - return getListTransferConfigsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> - getScheduleTransferRunsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ScheduleTransferRuns", - requestType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> - getScheduleTransferRunsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> - getScheduleTransferRunsMethod; - if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) - == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) - == null) { - DataTransferServiceGrpc.getScheduleTransferRunsMethod = - getScheduleTransferRunsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ScheduleTransferRuns")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("ScheduleTransferRuns")) - .build(); - } - } - } - return getScheduleTransferRunsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> - getStartManualTransferRunsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartManualTransferRuns", - requestType = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, - responseType = - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> - getStartManualTransferRunsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> - getStartManualTransferRunsMethod; - if ((getStartManualTransferRunsMethod = - DataTransferServiceGrpc.getStartManualTransferRunsMethod) - == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getStartManualTransferRunsMethod = - DataTransferServiceGrpc.getStartManualTransferRunsMethod) - == null) { - DataTransferServiceGrpc.getStartManualTransferRunsMethod = - getStartManualTransferRunsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "StartManualTransferRuns")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1 - .StartManualTransferRunsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1 - .StartManualTransferRunsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier( - "StartManualTransferRuns")) - .build(); - } - } - } - return getStartManualTransferRunsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferRun> - getGetTransferRunMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTransferRun", - requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferRun> - getGetTransferRunMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferRun> - getGetTransferRunMethod; - if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { - DataTransferServiceGrpc.getGetTransferRunMethod = - getGetTransferRunMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferRun")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferRun - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("GetTransferRun")) - .build(); - } - } - } - return getGetTransferRunMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, - com.google.protobuf.Empty> - getDeleteTransferRunMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTransferRun", - requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, - com.google.protobuf.Empty> - getDeleteTransferRunMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, - com.google.protobuf.Empty> - getDeleteTransferRunMethod; - if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) - == null) { - DataTransferServiceGrpc.getDeleteTransferRunMethod = - getDeleteTransferRunMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransferRun")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("DeleteTransferRun")) - .build(); - } - } - } - return getDeleteTransferRunMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> - getListTransferRunsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTransferRuns", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> - getListTransferRunsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> - getListTransferRunsMethod; - if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) - == null) { - DataTransferServiceGrpc.getListTransferRunsMethod = - getListTransferRunsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferRuns")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("ListTransferRuns")) - .build(); - } - } - } - return getListTransferRunsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> - getListTransferLogsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTransferLogs", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> - getListTransferLogsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> - getListTransferLogsMethod; - if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) - == null) { - DataTransferServiceGrpc.getListTransferLogsMethod = - getListTransferLogsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferLogs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("ListTransferLogs")) - .build(); - } - } - } - return getListTransferLogsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> - getCheckValidCredsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CheckValidCreds", - requestType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> - getCheckValidCredsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> - getCheckValidCredsMethod; - if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { - DataTransferServiceGrpc.getCheckValidCredsMethod = - getCheckValidCredsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckValidCreds")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("CheckValidCreds")) - .build(); - } - } - } - return getCheckValidCredsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, - com.google.protobuf.Empty> - getEnrollDataSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "EnrollDataSources", - requestType = com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, - com.google.protobuf.Empty> - getEnrollDataSourcesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, - com.google.protobuf.Empty> - getEnrollDataSourcesMethod; - if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) - == null) { - DataTransferServiceGrpc.getEnrollDataSourcesMethod = - getEnrollDataSourcesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "EnrollDataSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("EnrollDataSources")) - .build(); - } - } - } - return getEnrollDataSourcesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, - com.google.protobuf.Empty> - getUnenrollDataSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UnenrollDataSources", - requestType = com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, - com.google.protobuf.Empty> - getUnenrollDataSourcesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, - com.google.protobuf.Empty> - getUnenrollDataSourcesMethod; - if ((getUnenrollDataSourcesMethod = DataTransferServiceGrpc.getUnenrollDataSourcesMethod) - == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getUnenrollDataSourcesMethod = DataTransferServiceGrpc.getUnenrollDataSourcesMethod) - == null) { - DataTransferServiceGrpc.getUnenrollDataSourcesMethod = - getUnenrollDataSourcesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UnenrollDataSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DataTransferServiceMethodDescriptorSupplier("UnenrollDataSources")) - .build(); - } - } - } - return getUnenrollDataSourcesMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DataTransferServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTransferServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceStub(channel, callOptions); - } - }; - return DataTransferServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataTransferServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTransferServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceBlockingStub(channel, callOptions); - } - }; - return DataTransferServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DataTransferServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTransferServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceFutureStub(channel, callOptions); - } - }; - return DataTransferServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - default void getDataSource( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDataSourceMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - default void listDataSources( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDataSourcesMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new data transfer configuration.
-     * 
- */ - default void createTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTransferConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - default void updateTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTransferConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - default void deleteTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTransferConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns information about a data transfer config.
-     * 
- */ - default void getTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetTransferConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - default void listTransferConfigs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTransferConfigsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - default void scheduleTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getScheduleTransferRunsMethod(), responseObserver); - } - - /** - * - * - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - default void startManualTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getStartManualTransferRunsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns information about the particular transfer run.
-     * 
- */ - default void getTransferRun( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetTransferRunMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes the specified transfer run.
-     * 
- */ - default void deleteTransferRun( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTransferRunMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - default void listTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTransferRunsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns log messages for the transfer run.
-     * 
- */ - default void listTransferLogs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTransferLogsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - default void checkValidCreds( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCheckValidCredsMethod(), responseObserver); - } - - /** - * - * - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - default void enrollDataSources( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getEnrollDataSourcesMethod(), responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUnenrollDataSourcesMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DataTransferService. - * - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public abstract static class DataTransferServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return DataTransferServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DataTransferService. - * - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public static final class DataTransferServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private DataTransferServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTransferServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - public void getDataSource( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - public void listDataSources( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new data transfer configuration.
-     * 
- */ - public void createTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - public void updateTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - public void deleteTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns information about a data transfer config.
-     * 
- */ - public void getTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - public void listTransferConfigs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - public void scheduleTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - public void startManualTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns information about the particular transfer run.
-     * 
- */ - public void getTransferRun( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes the specified transfer run.
-     * 
- */ - public void deleteTransferRun( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - public void listTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns log messages for the transfer run.
-     * 
- */ - public void listTransferLogs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - public void checkValidCreds( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - public void enrollDataSources( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getEnrollDataSourcesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUnenrollDataSourcesMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DataTransferService. - * - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public static final class DataTransferServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataTransferServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTransferServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSource( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataSourceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse listDataSources( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataSourcesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new data transfer configuration.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig createTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTransferConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig updateTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTransferConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - public com.google.protobuf.Empty deleteTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTransferConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns information about a data transfer config.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTransferConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - listTransferConfigs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTransferConfigsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - scheduleTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getScheduleTransferRunsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - startManualTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartManualTransferRunsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns information about the particular transfer run.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRun( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTransferRunMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes the specified transfer run.
-     * 
- */ - public com.google.protobuf.Empty deleteTransferRun( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTransferRunMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse listTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTransferRunsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns log messages for the transfer run.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse listTransferLogs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTransferLogsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse checkValidCreds( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCheckValidCredsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - public com.google.protobuf.Empty enrollDataSources( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), 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.protobuf.Empty unenrollDataSources( - com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUnenrollDataSourcesMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service DataTransferService. - * - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public static final class DataTransferServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataTransferServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTransferServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.DataSource> - getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> - listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new data transfer configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - createTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - updateTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns information about a data transfer config.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig> - getTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> - listTransferConfigs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> - scheduleTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> - startManualTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns information about the particular transfer run.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.TransferRun> - getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes the specified transfer run.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteTransferRun( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> - listTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns log messages for the transfer run.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> - listTransferLogs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> - checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - enrollDataSources( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { - 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 - unenrollDataSources( - com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUnenrollDataSourcesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_DATA_SOURCE = 0; - private static final int METHODID_LIST_DATA_SOURCES = 1; - private static final int METHODID_CREATE_TRANSFER_CONFIG = 2; - private static final int METHODID_UPDATE_TRANSFER_CONFIG = 3; - private static final int METHODID_DELETE_TRANSFER_CONFIG = 4; - private static final int METHODID_GET_TRANSFER_CONFIG = 5; - private static final int METHODID_LIST_TRANSFER_CONFIGS = 6; - private static final int METHODID_SCHEDULE_TRANSFER_RUNS = 7; - private static final int METHODID_START_MANUAL_TRANSFER_RUNS = 8; - private static final int METHODID_GET_TRANSFER_RUN = 9; - private static final int METHODID_DELETE_TRANSFER_RUN = 10; - private static final int METHODID_LIST_TRANSFER_RUNS = 11; - private static final int METHODID_LIST_TRANSFER_LOGS = 12; - private static final int METHODID_CHECK_VALID_CREDS = 13; - private static final int METHODID_ENROLL_DATA_SOURCES = 14; - private static final int METHODID_UNENROLL_DATA_SOURCES = 15; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_DATA_SOURCE: - serviceImpl.getDataSource( - (com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_DATA_SOURCES: - serviceImpl.listDataSources( - (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse>) - responseObserver); - break; - case METHODID_CREATE_TRANSFER_CONFIG: - serviceImpl.createTransferConfig( - (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>) - responseObserver); - break; - case METHODID_UPDATE_TRANSFER_CONFIG: - serviceImpl.updateTransferConfig( - (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>) - responseObserver); - break; - case METHODID_DELETE_TRANSFER_CONFIG: - serviceImpl.deleteTransferConfig( - (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TRANSFER_CONFIG: - serviceImpl.getTransferConfig( - (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>) - responseObserver); - break; - case METHODID_LIST_TRANSFER_CONFIGS: - serviceImpl.listTransferConfigs( - (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse>) - responseObserver); - break; - case METHODID_SCHEDULE_TRANSFER_RUNS: - serviceImpl.scheduleTransferRuns( - (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse>) - responseObserver); - break; - case METHODID_START_MANUAL_TRANSFER_RUNS: - serviceImpl.startManualTransferRuns( - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse>) - responseObserver); - break; - case METHODID_GET_TRANSFER_RUN: - serviceImpl.getTransferRun( - (com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TRANSFER_RUN: - serviceImpl.deleteTransferRun( - (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TRANSFER_RUNS: - serviceImpl.listTransferRuns( - (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse>) - responseObserver); - break; - case METHODID_LIST_TRANSFER_LOGS: - serviceImpl.listTransferLogs( - (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse>) - responseObserver); - break; - case METHODID_CHECK_VALID_CREDS: - serviceImpl.checkValidCreds( - (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse>) - responseObserver); - break; - case METHODID_ENROLL_DATA_SOURCES: - serviceImpl.enrollDataSources( - (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UNENROLL_DATA_SOURCES: - serviceImpl.unenrollDataSources( - (com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetDataSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, - com.google.cloud.bigquery.datatransfer.v1.DataSource>( - service, METHODID_GET_DATA_SOURCE))) - .addMethod( - getListDataSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse>( - service, METHODID_LIST_DATA_SOURCES))) - .addMethod( - getCreateTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( - service, METHODID_CREATE_TRANSFER_CONFIG))) - .addMethod( - getUpdateTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( - service, METHODID_UPDATE_TRANSFER_CONFIG))) - .addMethod( - getDeleteTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_TRANSFER_CONFIG))) - .addMethod( - getGetTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( - service, METHODID_GET_TRANSFER_CONFIG))) - .addMethod( - getListTransferConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse>( - service, METHODID_LIST_TRANSFER_CONFIGS))) - .addMethod( - getScheduleTransferRunsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse>( - service, METHODID_SCHEDULE_TRANSFER_RUNS))) - .addMethod( - getStartManualTransferRunsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse>( - service, METHODID_START_MANUAL_TRANSFER_RUNS))) - .addMethod( - getGetTransferRunMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferRun>( - service, METHODID_GET_TRANSFER_RUN))) - .addMethod( - getDeleteTransferRunMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_TRANSFER_RUN))) - .addMethod( - getListTransferRunsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse>( - service, METHODID_LIST_TRANSFER_RUNS))) - .addMethod( - getListTransferLogsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse>( - service, METHODID_LIST_TRANSFER_LOGS))) - .addMethod( - getCheckValidCredsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse>( - service, METHODID_CHECK_VALID_CREDS))) - .addMethod( - getEnrollDataSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, - com.google.protobuf.Empty>(service, METHODID_ENROLL_DATA_SOURCES))) - .addMethod( - getUnenrollDataSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, - com.google.protobuf.Empty>(service, METHODID_UNENROLL_DATA_SOURCES))) - .build(); - } - - private abstract static class DataTransferServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataTransferServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataTransferService"); - } - } - - private static final class DataTransferServiceFileDescriptorSupplier - extends DataTransferServiceBaseDescriptorSupplier { - DataTransferServiceFileDescriptorSupplier() {} - } - - private static final class DataTransferServiceMethodDescriptorSupplier - extends DataTransferServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - DataTransferServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DataTransferServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataTransferServiceFileDescriptorSupplier()) - .addMethod(getGetDataSourceMethod()) - .addMethod(getListDataSourcesMethod()) - .addMethod(getCreateTransferConfigMethod()) - .addMethod(getUpdateTransferConfigMethod()) - .addMethod(getDeleteTransferConfigMethod()) - .addMethod(getGetTransferConfigMethod()) - .addMethod(getListTransferConfigsMethod()) - .addMethod(getScheduleTransferRunsMethod()) - .addMethod(getStartManualTransferRunsMethod()) - .addMethod(getGetTransferRunMethod()) - .addMethod(getDeleteTransferRunMethod()) - .addMethod(getListTransferRunsMethod()) - .addMethod(getListTransferLogsMethod()) - .addMethod(getCheckValidCredsMethod()) - .addMethod(getEnrollDataSourcesMethod()) - .addMethod(getUnenrollDataSourcesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java deleted file mode 100644 index 8014d9bd7509..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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; - -public interface CheckValidCredsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The data source in the form:
-   * `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The data source in the form:
-   * `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java deleted file mode 100644 index 57d6001298e3..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -public interface CheckValidCredsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * If set to `true`, the credentials exist and are valid.
-   * 
- * - * bool has_valid_creds = 1; - * - * @return The hasValidCreds. - */ - boolean getHasValidCreds(); -} 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 deleted file mode 100644 index 9d7e1008d342..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java +++ /dev/null @@ -1,694 +0,0 @@ -/* - * 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; - -public final class DataTransferProto { - private DataTransferProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - 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; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n8google/cloud/bigquery/datatransfer/v1/" - + "datatransfer.proto\022%google.cloud.bigquer" - + "y.datatransfer.v1\032\034google/api/annotation" - + "s.proto\032\027google/api/client.proto\032\037google" - + "/api/field_behavior.proto\032\031google/api/re" - + "source.proto\0324google/cloud/bigquery/data" - + "transfer/v1/transfer.proto\032\036google/proto" - + "buf/duration.proto\032\033google/protobuf/empt" - + "y.proto\032 google/protobuf/field_mask.prot" - + "o\032\037google/protobuf/timestamp.proto\032\036goog" - + "le/protobuf/wrappers.proto\"\217\005\n\023DataSourc" - + "eParameter\022\020\n\010param_id\030\001 \001(\t\022\024\n\014display_" - + "name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022M\n\004type\030" - + "\004 \001(\0162?.google.cloud.bigquery.datatransf" - + "er.v1.DataSourceParameter.Type\022\020\n\010requir" - + "ed\030\005 \001(\010\022\020\n\010repeated\030\006 \001(\010\022\030\n\020validation" - + "_regex\030\007 \001(\t\022\026\n\016allowed_values\030\010 \003(\t\022/\n\t" - + "min_value\030\t \001(\0132\034.google.protobuf.Double" - + "Value\022/\n\tmax_value\030\n \001(\0132\034.google.protob" - + "uf.DoubleValue\022J\n\006fields\030\013 \003(\0132:.google." - + "cloud.bigquery.datatransfer.v1.DataSourc" - + "eParameter\022\036\n\026validation_description\030\014 \001" - + "(\t\022\033\n\023validation_help_url\030\r \001(\t\022\021\n\timmut" - + "able\030\016 \001(\010\022\017\n\007recurse\030\017 \001(\010\022\022\n\ndeprecate" - + "d\030\024 \001(\010\"s\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n" - + "\006STRING\020\001\022\013\n\007INTEGER\020\002\022\n\n\006DOUBLE\020\003\022\013\n\007BO" - + "OLEAN\020\004\022\n\n\006RECORD\020\005\022\r\n\tPLUS_PAGE\020\006\022\010\n\004LI" - + "ST\020\007\"\234\t\n\nDataSource\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\026" - + "\n\016data_source_id\030\002 \001(\t\022\024\n\014display_name\030\003" - + " \001(\t\022\023\n\013description\030\004 \001(\t\022\021\n\tclient_id\030\005" - + " \001(\t\022\016\n\006scopes\030\006 \003(\t\022N\n\rtransfer_type\030\007 " - + "\001(\01623.google.cloud.bigquery.datatransfer" - + ".v1.TransferTypeB\002\030\001\022\'\n\033supports_multipl" - + "e_transfers\030\010 \001(\010B\002\030\001\022\037\n\027update_deadline" - + "_seconds\030\t \001(\005\022\030\n\020default_schedule\030\n \001(\t" - + "\022 \n\030supports_custom_schedule\030\013 \001(\010\022N\n\npa" - + "rameters\030\014 \003(\0132:.google.cloud.bigquery.d" - + "atatransfer.v1.DataSourceParameter\022\020\n\010he" - + "lp_url\030\r \001(\t\022_\n\022authorization_type\030\016 \001(\016" - + "2C.google.cloud.bigquery.datatransfer.v1" - + ".DataSource.AuthorizationType\022\\\n\021data_re" - + "fresh_type\030\017 \001(\0162A.google.cloud.bigquery" - + ".datatransfer.v1.DataSource.DataRefreshT" - + "ype\022(\n default_data_refresh_window_days\030" - + "\020 \001(\005\022\034\n\024manual_runs_disabled\030\021 \001(\010\022<\n\031m" - + "inimum_schedule_interval\030\022 \001(\0132\031.google." - + "protobuf.Duration\"\212\001\n\021AuthorizationType\022" - + "\"\n\036AUTHORIZATION_TYPE_UNSPECIFIED\020\000\022\026\n\022A" - + "UTHORIZATION_CODE\020\001\022\"\n\036GOOGLE_PLUS_AUTHO" - + "RIZATION_CODE\020\002\022\025\n\021FIRST_PARTY_OAUTH\020\003\"c" - + "\n\017DataRefreshType\022!\n\035DATA_REFRESH_TYPE_U" - + "NSPECIFIED\020\000\022\022\n\016SLIDING_WINDOW\020\001\022\031\n\025CUST" - + "OM_SLIDING_WINDOW\020\002:\245\001\352A\241\001\n.bigquerydata" - + "transfer.googleapis.com/DataSource\022,proj" - + "ects/{project}/dataSources/{data_source}" - + "\022Aprojects/{project}/locations/{location" - + "}/dataSources/{data_source}\"\\\n\024GetDataSo" - + "urceRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.bigqu" - + "erydatatransfer.googleapis.com/DataSourc" - + "e\"\207\001\n\026ListDataSourcesRequest\022F\n\006parent\030\001" - + " \001(\tB6\340A\002\372A0\022.bigquerydatatransfer.googl" - + "eapis.com/DataSource\022\022\n\npage_token\030\003 \001(\t" - + "\022\021\n\tpage_size\030\004 \001(\005\"\200\001\n\027ListDataSourcesR" - + "esponse\022G\n\014data_sources\030\001 \003(\01321.google.c" - + "loud.bigquery.datatransfer.v1.DataSource" - + "\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\216\002\n\033Creat" - + "eTransferConfigRequest\022J\n\006parent\030\001 \001(\tB:" - + "\340A\002\372A4\0222bigquerydatatransfer.googleapis." - + "com/TransferConfig\022S\n\017transfer_config\030\002 " - + "\001(\01325.google.cloud.bigquery.datatransfer" - + ".v1.TransferConfigB\003\340A\002\022\032\n\022authorization" - + "_code\030\003 \001(\t\022\024\n\014version_info\030\005 \001(\t\022\034\n\024ser" - + "vice_account_name\030\006 \001(\t\"\370\001\n\033UpdateTransf" - + "erConfigRequest\022S\n\017transfer_config\030\001 \001(\013" - + "25.google.cloud.bigquery.datatransfer.v1" - + ".TransferConfigB\003\340A\002\022\032\n\022authorization_co" - + "de\030\003 \001(\t\0224\n\013update_mask\030\004 \001(\0132\032.google.p" - + "rotobuf.FieldMaskB\003\340A\002\022\024\n\014version_info\030\005" - + " \001(\t\022\034\n\024service_account_name\030\006 \001(\t\"d\n\030Ge" - + "tTransferConfigRequest\022H\n\004name\030\001 \001(\tB:\340A" - + "\002\372A4\n2bigquerydatatransfer.googleapis.co" - + "m/TransferConfig\"g\n\033DeleteTransferConfig" - + "Request\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bigqueryd" - + "atatransfer.googleapis.com/TransferConfi" - + "g\"V\n\025GetTransferRunRequest\022=\n\004name\030\001 \001(\t" - + "B/\340A\002\372A)\n\'bigquerydatatransfer.googleapi" - + "s.com/Run\"Y\n\030DeleteTransferRunRequest\022=\n" - + "\004name\030\001 \001(\tB/\340A\002\372A)\n\'bigquerydatatransfe" - + "r.googleapis.com/Run\"\250\001\n\032ListTransferCon" - + "figsRequest\022J\n\006parent\030\001 \001(\tB:\340A\002\372A4\0222big" - + "querydatatransfer.googleapis.com/Transfe" - + "rConfig\022\027\n\017data_source_ids\030\002 \003(\t\022\022\n\npage" - + "_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\"\221\001\n\033List" - + "TransferConfigsResponse\022T\n\020transfer_conf" - + "igs\030\001 \003(\01325.google.cloud.bigquery.datatr" - + "ansfer.v1.TransferConfigB\003\340A\003\022\034\n\017next_pa" - + "ge_token\030\002 \001(\tB\003\340A\003\"\336\002\n\027ListTransferRuns" - + "Request\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'bigquer" - + "ydatatransfer.googleapis.com/Run\022D\n\006stat" - + "es\030\002 \003(\01624.google.cloud.bigquery.datatra" - + "nsfer.v1.TransferState\022\022\n\npage_token\030\003 \001" - + "(\t\022\021\n\tpage_size\030\004 \001(\005\022^\n\013run_attempt\030\005 \001" - + "(\0162I.google.cloud.bigquery.datatransfer." - + "v1.ListTransferRunsRequest.RunAttempt\"5\n" - + "\nRunAttempt\022\033\n\027RUN_ATTEMPT_UNSPECIFIED\020\000" - + "\022\n\n\006LATEST\020\001\"\210\001\n\030ListTransferRunsRespons" - + "e\022N\n\rtransfer_runs\030\001 \003(\01322.google.cloud." - + "bigquery.datatransfer.v1.TransferRunB\003\340A" - + "\003\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\340\001\n\027List" - + "TransferLogsRequest\022?\n\006parent\030\001 \001(\tB/\340A\002" - + "\372A)\n\'bigquerydatatransfer.googleapis.com" - + "/Run\022\022\n\npage_token\030\004 \001(\t\022\021\n\tpage_size\030\005 " - + "\001(\005\022]\n\rmessage_types\030\006 \003(\0162F.google.clou" - + "d.bigquery.datatransfer.v1.TransferMessa" - + "ge.MessageSeverity\"\220\001\n\030ListTransferLogsR" - + "esponse\022V\n\021transfer_messages\030\001 \003(\01326.goo" - + "gle.cloud.bigquery.datatransfer.v1.Trans" - + "ferMessageB\003\340A\003\022\034\n\017next_page_token\030\002 \001(\t" - + "B\003\340A\003\"^\n\026CheckValidCredsRequest\022D\n\004name\030" - + "\001 \001(\tB6\340A\002\372A0\n.bigquerydatatransfer.goog" - + "leapis.com/DataSource\"2\n\027CheckValidCreds" - + "Response\022\027\n\017has_valid_creds\030\001 \001(\010\"\321\001\n\033Sc" - + "heduleTransferRunsRequest\022J\n\006parent\030\001 \001(" - + "\tB:\340A\002\372A4\n2bigquerydatatransfer.googleap" - + "is.com/TransferConfig\0223\n\nstart_time\030\002 \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\002\0221\n\010en" - + "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\002\"`\n\034ScheduleTransferRunsResponse\022@\n" - + "\004runs\030\001 \003(\01322.google.cloud.bigquery.data" - + "transfer.v1.TransferRun\"\207\003\n\036StartManualT" - + "ransferRunsRequest\022G\n\006parent\030\001 \001(\tB7\372A4\n" - + "2bigquerydatatransfer.googleapis.com/Tra" - + "nsferConfig\022o\n\024requested_time_range\030\003 \001(" - + "\0132O.google.cloud.bigquery.datatransfer.v" - + "1.StartManualTransferRunsRequest.TimeRan" - + "geH\000\0228\n\022requested_run_time\030\004 \001(\0132\032.googl" - + "e.protobuf.TimestampH\000\032i\n\tTimeRange\022.\n\ns" - + "tart_time\030\001 \001(\0132\032.google.protobuf.Timest" - + "amp\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf." - + "TimestampB\006\n\004time\"c\n\037StartManualTransfer" - + "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(\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( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor, - new java.lang.String[] { - "ParamId", - "DisplayName", - "Description", - "Type", - "Required", - "Repeated", - "ValidationRegex", - "AllowedValues", - "MinValue", - "MaxValue", - "Fields", - "ValidationDescription", - "ValidationHelpUrl", - "Immutable", - "Recurse", - "Deprecated", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor, - new java.lang.String[] { - "Name", - "DataSourceId", - "DisplayName", - "Description", - "ClientId", - "Scopes", - "TransferType", - "SupportsMultipleTransfers", - "UpdateDeadlineSeconds", - "DefaultSchedule", - "SupportsCustomSchedule", - "Parameters", - "HelpUrl", - "AuthorizationType", - "DataRefreshType", - "DefaultDataRefreshWindowDays", - "ManualRunsDisabled", - "MinimumScheduleInterval", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor, - new java.lang.String[] { - "DataSources", "NextPageToken", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor, - new java.lang.String[] { - "Parent", "TransferConfig", "AuthorizationCode", "VersionInfo", "ServiceAccountName", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor, - new java.lang.String[] { - "TransferConfig", - "AuthorizationCode", - "UpdateMask", - "VersionInfo", - "ServiceAccountName", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor, - new java.lang.String[] { - "Parent", "DataSourceIds", "PageToken", "PageSize", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor, - new java.lang.String[] { - "TransferConfigs", "NextPageToken", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor, - new java.lang.String[] { - "Parent", "States", "PageToken", "PageSize", "RunAttempt", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor, - new java.lang.String[] { - "TransferRuns", "NextPageToken", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", "MessageTypes", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor, - new java.lang.String[] { - "TransferMessages", "NextPageToken", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor, - new java.lang.String[] { - "HasValidCreds", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor, - new java.lang.String[] { - "Parent", "StartTime", "EndTime", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor, - new java.lang.String[] { - "Runs", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor, - new java.lang.String[] { - "Parent", "RequestedTimeRange", "RequestedRunTime", "Time", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor = - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor, - new java.lang.String[] { - "Runs", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor, - 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); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java deleted file mode 100644 index 41fe54a384cd..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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; - -public interface DeleteTransferConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java deleted file mode 100644 index 17a2f296f425..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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/transfer.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.datatransfer.v1; - -public interface EmailPreferencesOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EmailPreferences) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * If true, email notifications will be sent on transfer run failures.
-   * 
- * - * bool enable_failure_email = 1; - * - * @return The enableFailureEmail. - */ - boolean getEnableFailureEmail(); -} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java deleted file mode 100644 index 0482e8861974..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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; - -public interface GetDataSourceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java deleted file mode 100644 index a8ea06c2f34d..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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; - -public interface GetTransferConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java deleted file mode 100644 index 3a9069e8b6f7..000000000000 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java +++ /dev/null @@ -1,266 +0,0 @@ -/* - * 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/transfer.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.datatransfer.v1; - -public final class TransferProto { - private TransferProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/bigquery/datatransfer/v1/" - + "transfer.proto\022%google.cloud.bigquery.da" - + "tatransfer.v1\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032\034googl" - + "e/protobuf/struct.proto\032\037google/protobuf" - + "/timestamp.proto\032\036google/protobuf/wrappe" - + "rs.proto\032\027google/rpc/status.proto\"0\n\020Ema" - + "ilPreferences\022\034\n\024enable_failure_email\030\001 " - + "\001(\010\"\220\001\n\017ScheduleOptions\022\037\n\027disable_auto_" - + "scheduling\030\003 \001(\010\022.\n\nstart_time\030\001 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022,\n\010end_time\030\002 \001" - + "(\0132\032.google.protobuf.Timestamp\"(\n\010UserIn" - + "fo\022\022\n\005email\030\001 \001(\tH\000\210\001\001B\010\n\006_email\"\227\010\n\016Tra" - + "nsferConfig\022\014\n\004name\030\001 \001(\t\022 \n\026destination" - + "_dataset_id\030\002 \001(\tH\000\022\024\n\014display_name\030\003 \001(" - + "\t\022\026\n\016data_source_id\030\005 \001(\t\022\'\n\006params\030\t \001(" - + "\0132\027.google.protobuf.Struct\022\020\n\010schedule\030\007" - + " \001(\t\022P\n\020schedule_options\030\030 \001(\01326.google." - + "cloud.bigquery.datatransfer.v1.ScheduleO" - + "ptions\022 \n\030data_refresh_window_days\030\014 \001(\005" - + "\022\020\n\010disabled\030\r \001(\010\0224\n\013update_time\030\004 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\0226\n\rnext" - + "_run_time\030\010 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\022H\n\005state\030\n \001(\01624.google.cloud.b" - + "igquery.datatransfer.v1.TransferStateB\003\340" - + "A\003\022\017\n\007user_id\030\013 \001(\003\022\033\n\016dataset_region\030\016 " - + "\001(\tB\003\340A\003\022!\n\031notification_pubsub_topic\030\017 " - + "\001(\t\022R\n\021email_preferences\030\022 \001(\01327.google." - + "cloud.bigquery.datatransfer.v1.EmailPref" - + "erences\022M\n\nowner_info\030\033 \001(\0132/.google.clo" - + "ud.bigquery.datatransfer.v1.UserInfoB\003\340A" - + "\003H\001\210\001\001\022`\n\030encryption_configuration\030\034 \001(\013" - + "2>.google.cloud.bigquery.datatransfer.v1" - + ".EncryptionConfiguration:\271\001\352A\265\001\n2bigquer" - + "ydatatransfer.googleapis.com/TransferCon" - + "fig\0224projects/{project}/transferConfigs/" - + "{transfer_config}\022Iprojects/{project}/lo" - + "cations/{location}/transferConfigs/{tran" - + "sfer_config}B\r\n\013destinationB\r\n\013_owner_in" - + "fo\"M\n\027EncryptionConfiguration\0222\n\014kms_key" - + "_name\030\001 \001(\0132\034.google.protobuf.StringValu" - + "e\"\372\006\n\013TransferRun\022\014\n\004name\030\001 \001(\t\0221\n\rsched" - + "ule_time\030\003 \001(\0132\032.google.protobuf.Timesta" - + "mp\022,\n\010run_time\030\n \001(\0132\032.google.protobuf.T" - + "imestamp\022(\n\014error_status\030\025 \001(\0132\022.google." - + "rpc.Status\0223\n\nstart_time\030\004 \001(\0132\032.google." - + "protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" - + "date_time\030\006 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\022,\n\006params\030\t \001(\0132\027.google.protob" - + "uf.StructB\003\340A\003\022%\n\026destination_dataset_id" - + "\030\002 \001(\tB\003\340A\003H\000\022\033\n\016data_source_id\030\007 \001(\tB\003\340" - + "A\003\022C\n\005state\030\010 \001(\01624.google.cloud.bigquer" - + "y.datatransfer.v1.TransferState\022\017\n\007user_" - + "id\030\013 \001(\003\022\025\n\010schedule\030\014 \001(\tB\003\340A\003\022&\n\031notif" - + "ication_pubsub_topic\030\027 \001(\tB\003\340A\003\022W\n\021email" - + "_preferences\030\031 \001(\01327.google.cloud.bigque" - + "ry.datatransfer.v1.EmailPreferencesB\003\340A\003" - + ":\304\001\352A\300\001\n\'bigquerydatatransfer.googleapis" - + ".com/Run\022?projects/{project}/transferCon" - + "figs/{transfer_config}/runs/{run}\022Tproje" - + "cts/{project}/locations/{location}/trans" - + "ferConfigs/{transfer_config}/runs/{run}B" - + "\r\n\013destination\"\212\002\n\017TransferMessage\0220\n\014me" - + "ssage_time\030\001 \001(\0132\032.google.protobuf.Times" - + "tamp\022X\n\010severity\030\002 \001(\0162F.google.cloud.bi" - + "gquery.datatransfer.v1.TransferMessage.M" - + "essageSeverity\022\024\n\014message_text\030\003 \001(\t\"U\n\017" - + "MessageSeverity\022 \n\034MESSAGE_SEVERITY_UNSP" - + "ECIFIED\020\000\022\010\n\004INFO\020\001\022\013\n\007WARNING\020\002\022\t\n\005ERRO" - + "R\020\003*K\n\014TransferType\022\035\n\031TRANSFER_TYPE_UNS" - + "PECIFIED\020\000\022\t\n\005BATCH\020\001\022\r\n\tSTREAMING\020\002\032\002\030\001" - + "*s\n\rTransferState\022\036\n\032TRANSFER_STATE_UNSP" - + "ECIFIED\020\000\022\013\n\007PENDING\020\002\022\013\n\007RUNNING\020\003\022\r\n\tS" - + "UCCEEDED\020\004\022\n\n\006FAILED\020\005\022\r\n\tCANCELLED\020\006B\217\002" - + "\n)com.google.cloud.bigquery.datatransfer" - + ".v1B\rTransferProtoP\001ZMcloud.google.com/g" - + "o/bigquery/datatransfer/apiv1/datatransf" - + "erpb;datatransferpb\242\002\005GCBDT\252\002%Google.Clo" - + "ud.BigQuery.DataTransfer.V1\312\002%Google\\Clo" - + "ud\\BigQuery\\DataTransfer\\V1\352\002)Google::Cl" - + "oud::Bigquery::DataTransfer::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor, - new java.lang.String[] { - "EnableFailureEmail", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor, - new java.lang.String[] { - "DisableAutoScheduling", "StartTime", "EndTime", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor, - new java.lang.String[] { - "Email", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor, - new java.lang.String[] { - "Name", - "DestinationDatasetId", - "DisplayName", - "DataSourceId", - "Params", - "Schedule", - "ScheduleOptions", - "DataRefreshWindowDays", - "Disabled", - "UpdateTime", - "NextRunTime", - "State", - "UserId", - "DatasetRegion", - "NotificationPubsubTopic", - "EmailPreferences", - "OwnerInfo", - "EncryptionConfiguration", - "Destination", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor, - new java.lang.String[] { - "KmsKeyName", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor, - new java.lang.String[] { - "Name", - "ScheduleTime", - "RunTime", - "ErrorStatus", - "StartTime", - "EndTime", - "UpdateTime", - "Params", - "DestinationDatasetId", - "DataSourceId", - "State", - "UserId", - "Schedule", - "NotificationPubsubTopic", - "EmailPreferences", - "Destination", - }); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor, - new java.lang.String[] { - "MessageTime", "Severity", "MessageText", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java similarity index 99% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java index 936f42736483..bc96a3bb2072 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/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. diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java similarity index 99% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java index 1248bf4ad9e0..a8ae3a0d573f 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.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. @@ -32,6 +32,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.bigquery.datatransfer.v1.stub.DataTransferServiceStubSettings; @@ -236,7 +237,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return DataTransferServiceStubSettings.defaultTransportChannelProvider(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return DataTransferServiceStubSettings.defaultApiClientHeaderProviderBuilder(); } diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json similarity index 100% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java similarity index 98% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java index 540a15551b0f..90040a7e942a 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.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/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java similarity index 99% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java index 547e106af4a5..3570a2949126 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.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/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java similarity index 99% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java index bff6f23c3b33..ee3879886e0b 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.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. @@ -640,7 +640,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( @@ -649,7 +648,6 @@ public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProvider GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java similarity index 99% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java index 0ab5e3426756..1dee672c36b3 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.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/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java similarity index 99% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java index 6d48d67aa767..56eb21d8eb2a 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.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. @@ -64,6 +64,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java similarity index 99% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java index d234d72ca01b..306326234484 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.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/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java similarity index 99% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java index b6eeaa1fea13..17c1aef6bc34 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.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/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json similarity index 100% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java similarity index 99% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java index 584c70427cf2..8efa2c34536d 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.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/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java similarity index 99% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java index 63177ea0e3d4..d425501b940b 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.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/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java similarity index 98% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java index 30de0c610fa6..5c13faf4b587 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.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/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java similarity index 99% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java index 4b9b2ee06284..75f47635aaae 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.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/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java similarity index 98% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java index c79d28678731..9a86807a7d4f 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.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/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java similarity index 99% rename from java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java index 4e5268411031..f8c936989328 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.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/owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java b/owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java new file mode 100644 index 000000000000..ab5ddcb83a8b --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java @@ -0,0 +1,1701 @@ +package com.google.cloud.bigquery.datatransfer.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * This API allows users to manage their data transfers into BigQuery.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataTransferServiceGrpc { + + private DataTransferServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.bigquery.datatransfer.v1.DataTransferService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getGetDataSourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataSource", + requestType = com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.DataSource.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataSourceMethod() { + io.grpc.MethodDescriptor getGetDataSourceMethod; + if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { + DataTransferServiceGrpc.getGetDataSourceMethod = getGetDataSourceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataSource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("GetDataSource")) + .build(); + } + } + } + return getGetDataSourceMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDataSourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataSources", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDataSourcesMethod() { + io.grpc.MethodDescriptor getListDataSourcesMethod; + if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { + DataTransferServiceGrpc.getListDataSourcesMethod = getListDataSourcesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataSources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListDataSources")) + .build(); + } + } + } + return getListDataSourcesMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTransferConfigMethod() { + io.grpc.MethodDescriptor getCreateTransferConfigMethod; + if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) == null) { + DataTransferServiceGrpc.getCreateTransferConfigMethod = getCreateTransferConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("CreateTransferConfig")) + .build(); + } + } + } + return getCreateTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTransferConfigMethod() { + io.grpc.MethodDescriptor getUpdateTransferConfigMethod; + if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) == null) { + DataTransferServiceGrpc.getUpdateTransferConfigMethod = getUpdateTransferConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("UpdateTransferConfig")) + .build(); + } + } + } + return getUpdateTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTransferConfigMethod() { + io.grpc.MethodDescriptor getDeleteTransferConfigMethod; + if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) == null) { + DataTransferServiceGrpc.getDeleteTransferConfigMethod = getDeleteTransferConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("DeleteTransferConfig")) + .build(); + } + } + } + return getDeleteTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTransferConfigMethod() { + io.grpc.MethodDescriptor getGetTransferConfigMethod; + if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) == null) { + DataTransferServiceGrpc.getGetTransferConfigMethod = getGetTransferConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("GetTransferConfig")) + .build(); + } + } + } + return getGetTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTransferConfigsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTransferConfigs", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTransferConfigsMethod() { + io.grpc.MethodDescriptor getListTransferConfigsMethod; + if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) == null) { + DataTransferServiceGrpc.getListTransferConfigsMethod = getListTransferConfigsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferConfigs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListTransferConfigs")) + .build(); + } + } + } + return getListTransferConfigsMethod; + } + + private static volatile io.grpc.MethodDescriptor getScheduleTransferRunsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ScheduleTransferRuns", + requestType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getScheduleTransferRunsMethod() { + io.grpc.MethodDescriptor getScheduleTransferRunsMethod; + if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) == null) { + DataTransferServiceGrpc.getScheduleTransferRunsMethod = getScheduleTransferRunsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ScheduleTransferRuns")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ScheduleTransferRuns")) + .build(); + } + } + } + return getScheduleTransferRunsMethod; + } + + private static volatile io.grpc.MethodDescriptor getStartManualTransferRunsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartManualTransferRuns", + requestType = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getStartManualTransferRunsMethod() { + io.grpc.MethodDescriptor getStartManualTransferRunsMethod; + if ((getStartManualTransferRunsMethod = DataTransferServiceGrpc.getStartManualTransferRunsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getStartManualTransferRunsMethod = DataTransferServiceGrpc.getStartManualTransferRunsMethod) == null) { + DataTransferServiceGrpc.getStartManualTransferRunsMethod = getStartManualTransferRunsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartManualTransferRuns")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("StartManualTransferRuns")) + .build(); + } + } + } + return getStartManualTransferRunsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTransferRunMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTransferRun", + requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTransferRunMethod() { + io.grpc.MethodDescriptor getGetTransferRunMethod; + if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { + DataTransferServiceGrpc.getGetTransferRunMethod = getGetTransferRunMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferRun")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("GetTransferRun")) + .build(); + } + } + } + return getGetTransferRunMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTransferRunMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTransferRun", + requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTransferRunMethod() { + io.grpc.MethodDescriptor getDeleteTransferRunMethod; + if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) == null) { + DataTransferServiceGrpc.getDeleteTransferRunMethod = getDeleteTransferRunMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransferRun")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("DeleteTransferRun")) + .build(); + } + } + } + return getDeleteTransferRunMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTransferRunsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTransferRuns", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTransferRunsMethod() { + io.grpc.MethodDescriptor getListTransferRunsMethod; + if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) == null) { + DataTransferServiceGrpc.getListTransferRunsMethod = getListTransferRunsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferRuns")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListTransferRuns")) + .build(); + } + } + } + return getListTransferRunsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTransferLogsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTransferLogs", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTransferLogsMethod() { + io.grpc.MethodDescriptor getListTransferLogsMethod; + if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) == null) { + DataTransferServiceGrpc.getListTransferLogsMethod = getListTransferLogsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferLogs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListTransferLogs")) + .build(); + } + } + } + return getListTransferLogsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCheckValidCredsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CheckValidCreds", + requestType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCheckValidCredsMethod() { + io.grpc.MethodDescriptor getCheckValidCredsMethod; + if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { + DataTransferServiceGrpc.getCheckValidCredsMethod = getCheckValidCredsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckValidCreds")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("CheckValidCreds")) + .build(); + } + } + } + return getCheckValidCredsMethod; + } + + private static volatile io.grpc.MethodDescriptor getEnrollDataSourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "EnrollDataSources", + requestType = com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getEnrollDataSourcesMethod() { + io.grpc.MethodDescriptor getEnrollDataSourcesMethod; + if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) == null) { + DataTransferServiceGrpc.getEnrollDataSourcesMethod = getEnrollDataSourcesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "EnrollDataSources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("EnrollDataSources")) + .build(); + } + } + } + return getEnrollDataSourcesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUnenrollDataSourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UnenrollDataSources", + requestType = com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUnenrollDataSourcesMethod() { + io.grpc.MethodDescriptor getUnenrollDataSourcesMethod; + if ((getUnenrollDataSourcesMethod = DataTransferServiceGrpc.getUnenrollDataSourcesMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getUnenrollDataSourcesMethod = DataTransferServiceGrpc.getUnenrollDataSourcesMethod) == null) { + DataTransferServiceGrpc.getUnenrollDataSourcesMethod = getUnenrollDataSourcesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnenrollDataSources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("UnenrollDataSources")) + .build(); + } + } + } + return getUnenrollDataSourcesMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DataTransferServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTransferServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceStub(channel, callOptions); + } + }; + return DataTransferServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataTransferServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTransferServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceBlockingStub(channel, callOptions); + } + }; + return DataTransferServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DataTransferServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTransferServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceFutureStub(channel, callOptions); + } + }; + return DataTransferServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + default void getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataSourceMethod(), responseObserver); + } + + /** + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + default void listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataSourcesMethod(), responseObserver); + } + + /** + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + default void createTransferConfig(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTransferConfigMethod(), responseObserver); + } + + /** + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + default void updateTransferConfig(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTransferConfigMethod(), responseObserver); + } + + /** + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + default void deleteTransferConfig(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTransferConfigMethod(), responseObserver); + } + + /** + *
+     * Returns information about a data transfer config.
+     * 
+ */ + default void getTransferConfig(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransferConfigMethod(), responseObserver); + } + + /** + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + default void listTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferConfigsMethod(), responseObserver); + } + + /** + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + default void scheduleTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getScheduleTransferRunsMethod(), responseObserver); + } + + /** + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + default void startManualTransferRuns(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartManualTransferRunsMethod(), responseObserver); + } + + /** + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + default void getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransferRunMethod(), responseObserver); + } + + /** + *
+     * Deletes the specified transfer run.
+     * 
+ */ + default void deleteTransferRun(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTransferRunMethod(), responseObserver); + } + + /** + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + default void listTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferRunsMethod(), responseObserver); + } + + /** + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + default void listTransferLogs(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferLogsMethod(), responseObserver); + } + + /** + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + default void checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckValidCredsMethod(), responseObserver); + } + + /** + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + default void enrollDataSources(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getEnrollDataSourcesMethod(), responseObserver); + } + + /** + *
+     * 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnenrollDataSourcesMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service DataTransferService. + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public static abstract class DataTransferServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return DataTransferServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service DataTransferService. + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public static final class DataTransferServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private DataTransferServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTransferServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceStub(channel, callOptions); + } + + /** + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + public void getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + public void listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + public void createTransferConfig(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + public void updateTransferConfig(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + public void deleteTransferConfig(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns information about a data transfer config.
+     * 
+ */ + public void getTransferConfig(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + public void listTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + public void scheduleTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + public void startManualTransferRuns(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + public void getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes the specified transfer run.
+     * 
+ */ + public void deleteTransferRun(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + public void listTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + public void listTransferLogs(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + public void checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + public void enrollDataSources(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getEnrollDataSourcesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUnenrollDataSourcesMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service DataTransferService. + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public static final class DataTransferServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataTransferServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTransferServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataSourceMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataSourcesMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig createTransferConfig(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTransferConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig updateTransferConfig(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTransferConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + public com.google.protobuf.Empty deleteTransferConfig(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTransferConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns information about a data transfer config.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTransferConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse listTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTransferConfigsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse scheduleTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getScheduleTransferRunsMethod(), getCallOptions(), request); + } + + /** + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse startManualTransferRuns(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartManualTransferRunsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTransferRunMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes the specified transfer run.
+     * 
+ */ + public com.google.protobuf.Empty deleteTransferRun(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTransferRunMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse listTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTransferRunsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse listTransferLogs(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTransferLogsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCheckValidCredsMethod(), getCallOptions(), request); + } + + /** + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + public com.google.protobuf.Empty enrollDataSources(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), 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.protobuf.Empty unenrollDataSources(com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUnenrollDataSourcesMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service DataTransferService. + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public static final class DataTransferServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataTransferServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTransferServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataSource( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDataSources( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns information about a data transfer config.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTransferConfigs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.common.util.concurrent.ListenableFuture scheduleTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), request); + } + + /** + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture startManualTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTransferRun( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes the specified transfer run.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTransferRun( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTransferLogs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture checkValidCreds( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), request); + } + + /** + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture enrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { + 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 unenrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUnenrollDataSourcesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_DATA_SOURCE = 0; + private static final int METHODID_LIST_DATA_SOURCES = 1; + private static final int METHODID_CREATE_TRANSFER_CONFIG = 2; + private static final int METHODID_UPDATE_TRANSFER_CONFIG = 3; + private static final int METHODID_DELETE_TRANSFER_CONFIG = 4; + private static final int METHODID_GET_TRANSFER_CONFIG = 5; + private static final int METHODID_LIST_TRANSFER_CONFIGS = 6; + private static final int METHODID_SCHEDULE_TRANSFER_RUNS = 7; + private static final int METHODID_START_MANUAL_TRANSFER_RUNS = 8; + private static final int METHODID_GET_TRANSFER_RUN = 9; + private static final int METHODID_DELETE_TRANSFER_RUN = 10; + private static final int METHODID_LIST_TRANSFER_RUNS = 11; + private static final int METHODID_LIST_TRANSFER_LOGS = 12; + private static final int METHODID_CHECK_VALID_CREDS = 13; + private static final int METHODID_ENROLL_DATA_SOURCES = 14; + private static final int METHODID_UNENROLL_DATA_SOURCES = 15; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_DATA_SOURCE: + serviceImpl.getDataSource((com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DATA_SOURCES: + serviceImpl.listDataSources((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TRANSFER_CONFIG: + serviceImpl.createTransferConfig((com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TRANSFER_CONFIG: + serviceImpl.updateTransferConfig((com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TRANSFER_CONFIG: + serviceImpl.deleteTransferConfig((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TRANSFER_CONFIG: + serviceImpl.getTransferConfig((com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TRANSFER_CONFIGS: + serviceImpl.listTransferConfigs((com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SCHEDULE_TRANSFER_RUNS: + serviceImpl.scheduleTransferRuns((com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_START_MANUAL_TRANSFER_RUNS: + serviceImpl.startManualTransferRuns((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TRANSFER_RUN: + serviceImpl.getTransferRun((com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TRANSFER_RUN: + serviceImpl.deleteTransferRun((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TRANSFER_RUNS: + serviceImpl.listTransferRuns((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TRANSFER_LOGS: + serviceImpl.listTransferLogs((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CHECK_VALID_CREDS: + serviceImpl.checkValidCreds((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ENROLL_DATA_SOURCES: + serviceImpl.enrollDataSources((com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UNENROLL_DATA_SOURCES: + serviceImpl.unenrollDataSources((com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetDataSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, + com.google.cloud.bigquery.datatransfer.v1.DataSource>( + service, METHODID_GET_DATA_SOURCE))) + .addMethod( + getListDataSourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse>( + service, METHODID_LIST_DATA_SOURCES))) + .addMethod( + getCreateTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( + service, METHODID_CREATE_TRANSFER_CONFIG))) + .addMethod( + getUpdateTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( + service, METHODID_UPDATE_TRANSFER_CONFIG))) + .addMethod( + getDeleteTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_TRANSFER_CONFIG))) + .addMethod( + getGetTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( + service, METHODID_GET_TRANSFER_CONFIG))) + .addMethod( + getListTransferConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse>( + service, METHODID_LIST_TRANSFER_CONFIGS))) + .addMethod( + getScheduleTransferRunsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse>( + service, METHODID_SCHEDULE_TRANSFER_RUNS))) + .addMethod( + getStartManualTransferRunsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse>( + service, METHODID_START_MANUAL_TRANSFER_RUNS))) + .addMethod( + getGetTransferRunMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferRun>( + service, METHODID_GET_TRANSFER_RUN))) + .addMethod( + getDeleteTransferRunMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_TRANSFER_RUN))) + .addMethod( + getListTransferRunsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse>( + service, METHODID_LIST_TRANSFER_RUNS))) + .addMethod( + getListTransferLogsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse>( + service, METHODID_LIST_TRANSFER_LOGS))) + .addMethod( + getCheckValidCredsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse>( + service, METHODID_CHECK_VALID_CREDS))) + .addMethod( + getEnrollDataSourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, + com.google.protobuf.Empty>( + service, METHODID_ENROLL_DATA_SOURCES))) + .addMethod( + getUnenrollDataSourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, + com.google.protobuf.Empty>( + service, METHODID_UNENROLL_DATA_SOURCES))) + .build(); + } + + private static abstract class DataTransferServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataTransferServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataTransferService"); + } + } + + private static final class DataTransferServiceFileDescriptorSupplier + extends DataTransferServiceBaseDescriptorSupplier { + DataTransferServiceFileDescriptorSupplier() {} + } + + private static final class DataTransferServiceMethodDescriptorSupplier + extends DataTransferServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + DataTransferServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DataTransferServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataTransferServiceFileDescriptorSupplier()) + .addMethod(getGetDataSourceMethod()) + .addMethod(getListDataSourcesMethod()) + .addMethod(getCreateTransferConfigMethod()) + .addMethod(getUpdateTransferConfigMethod()) + .addMethod(getDeleteTransferConfigMethod()) + .addMethod(getGetTransferConfigMethod()) + .addMethod(getListTransferConfigsMethod()) + .addMethod(getScheduleTransferRunsMethod()) + .addMethod(getStartManualTransferRunsMethod()) + .addMethod(getGetTransferRunMethod()) + .addMethod(getDeleteTransferRunMethod()) + .addMethod(getListTransferRunsMethod()) + .addMethod(getListTransferLogsMethod()) + .addMethod(getCheckValidCredsMethod()) + .addMethod(getEnrollDataSourcesMethod()) + .addMethod(getUnenrollDataSourcesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java similarity index 63% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java index bcc3fcac652e..8163e33dbf00 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to determine whether the user has valid credentials. This method
  * is used to limit the number of OAuth popups in the user interface. The
@@ -33,58 +16,50 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest}
  */
-public final class CheckValidCredsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CheckValidCredsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)
     CheckValidCredsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CheckValidCredsRequest.newBuilder() to construct.
   private CheckValidCredsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CheckValidCredsRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CheckValidCredsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_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_CheckValidCredsRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class,
-            com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The data source in the form:
    * `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,33 +68,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The data source in the form:
    * `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -128,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -164,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other = - (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other = (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -192,104 +165,98 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest 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.CheckValidCredsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsRequest 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.CheckValidCredsRequest 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.CheckValidCredsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest 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.CheckValidCredsRequest 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.CheckValidCredsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.CheckValidCredsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to determine whether the user has valid credentials. This method
    * is used to limit the number of OAuth popups in the user interface. The
@@ -301,32 +268,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)
       com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_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_CheckValidCredsRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class,
-              com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -336,14 +304,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest getDefaultInstanceForType() {
       return com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance();
     }
 
@@ -358,17 +325,13 @@ public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest build()
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result =
-          new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result) {
+    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -379,50 +342,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other) {
-      if (other
-          == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other) {
+      if (other == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -454,19 +413,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -476,29 +433,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -507,25 +459,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -533,43 +482,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -579,34 +517,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,43 +548,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckValidCredsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckValidCredsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -664,8 +594,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java new file mode 100644 index 000000000000..3dcc8c2f1f12 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java @@ -0,0 +1,34 @@ +// 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; + +public interface CheckValidCredsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The data source in the form:
+   * `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The data source in the form:
+   * `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java similarity index 62% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java index ff5b9d63dca2..13a14fce36b2 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,58 +5,52 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A response indicating whether the credentials exist and are valid.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse} */ -public final class CheckValidCredsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CheckValidCredsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) CheckValidCredsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CheckValidCredsResponse.newBuilder() to construct. private CheckValidCredsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CheckValidCredsResponse() {} + private CheckValidCredsResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CheckValidCredsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_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_CheckValidCredsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); } public static final int HAS_VALID_CREDS_FIELD_NUMBER = 1; private boolean hasValidCreds_ = false; /** - * - * *
    * If set to `true`, the credentials exist and are valid.
    * 
* * bool has_valid_creds = 1; - * * @return The hasValidCreds. */ @java.lang.Override @@ -80,7 +59,6 @@ public boolean getHasValidCreds() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,7 +70,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (hasValidCreds_ != false) { output.writeBool(1, hasValidCreds_); } @@ -106,7 +85,8 @@ public int getSerializedSize() { size = 0; if (hasValidCreds_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, hasValidCreds_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, hasValidCreds_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -116,15 +96,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other = - (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other = (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) obj; - if (getHasValidCreds() != other.getHasValidCreds()) return false; + if (getHasValidCreds() + != other.getHasValidCreds()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -137,145 +117,139 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + HAS_VALID_CREDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasValidCreds()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHasValidCreds()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse 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.CheckValidCredsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsResponse 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.CheckValidCredsResponse 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.CheckValidCredsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse - 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.CheckValidCredsResponse 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.CheckValidCredsResponse - 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.CheckValidCredsResponse 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.CheckValidCredsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.CheckValidCredsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response indicating whether the credentials exist and are valid.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_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_CheckValidCredsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -285,14 +259,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance(); } @@ -307,17 +280,13 @@ public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result = - new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.hasValidCreds_ = hasValidCreds_; @@ -328,50 +297,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance()) return this; if (other.getHasValidCreds() != false) { setHasValidCreds(other.getHasValidCreds()); } @@ -401,19 +366,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - hasValidCreds_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + hasValidCreds_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,19 +386,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean hasValidCreds_; + private boolean hasValidCreds_ ; /** - * - * *
      * If set to `true`, the credentials exist and are valid.
      * 
* * bool has_valid_creds = 1; - * * @return The hasValidCreds. */ @java.lang.Override @@ -443,14 +402,11 @@ public boolean getHasValidCreds() { return hasValidCreds_; } /** - * - * *
      * If set to `true`, the credentials exist and are valid.
      * 
* * bool has_valid_creds = 1; - * * @param value The hasValidCreds to set. * @return This builder for chaining. */ @@ -462,14 +418,11 @@ public Builder setHasValidCreds(boolean value) { return this; } /** - * - * *
      * If set to `true`, the credentials exist and are valid.
      * 
* * bool has_valid_creds = 1; - * * @return This builder for chaining. */ public Builder clearHasValidCreds() { @@ -478,9 +431,9 @@ public Builder clearHasValidCreds() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -490,43 +443,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckValidCredsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckValidCredsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -538,8 +489,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java new file mode 100644 index 000000000000..768f8bfb5d43 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java @@ -0,0 +1,20 @@ +// 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; + +public interface CheckValidCredsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * If set to `true`, the credentials exist and are valid.
+   * 
+ * + * bool has_valid_creds = 1; + * @return The hasValidCreds. + */ + boolean getHasValidCreds(); +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java similarity index 74% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java index ed6c16401689..030325827102 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to create a data transfer configuration. If new credentials are
  * needed for this transfer configuration, authorization info must be provided.
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest}
  */
-public final class CreateTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTransferConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)
     CreateTransferConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTransferConfigRequest.newBuilder() to construct.
   private CreateTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateTransferConfigRequest() {
     parent_ = "";
     authorizationCode_ = "";
@@ -52,33 +34,29 @@ private CreateTransferConfigRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTransferConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_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_CreateTransferConfigRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class,
-            com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -87,10 +65,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * match - the request will fail.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -99,15 +74,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -116,18 +90,17 @@ public java.lang.String getParent() {
    * match - the request will fail.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -138,16 +111,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TRANSFER_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_; /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferConfig field is set. */ @java.lang.Override @@ -155,50 +123,33 @@ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The transferConfig. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder - getTransferConfigOrBuilder() { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { + return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } public static final int AUTHORIZATION_CODE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object authorizationCode_ = ""; /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -217,7 +168,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi
    * 
* * string authorization_code = 3; - * * @return The authorizationCode. */ @java.lang.Override @@ -226,15 +176,14 @@ public java.lang.String getAuthorizationCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; } } /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -253,15 +202,16 @@ public java.lang.String getAuthorizationCode() {
    * 
* * string authorization_code = 3; - * * @return The bytes for authorizationCode. */ @java.lang.Override - public com.google.protobuf.ByteString getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString + getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -270,12 +220,9 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() { } public static final int VERSION_INFO_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object versionInfo_ = ""; /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -294,7 +241,6 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() {
    * 
* * string version_info = 5; - * * @return The versionInfo. */ @java.lang.Override @@ -303,15 +249,14 @@ public java.lang.String getVersionInfo() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; } } /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -330,15 +275,16 @@ public java.lang.String getVersionInfo() {
    * 
* * string version_info = 5; - * * @return The bytes for versionInfo. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionInfoBytes() { + public com.google.protobuf.ByteString + getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -347,12 +293,9 @@ public com.google.protobuf.ByteString getVersionInfoBytes() { } public static final int SERVICE_ACCOUNT_NAME_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object serviceAccountName_ = ""; /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -366,7 +309,6 @@ public com.google.protobuf.ByteString getVersionInfoBytes() {
    * 
* * string service_account_name = 6; - * * @return The serviceAccountName. */ @java.lang.Override @@ -375,15 +317,14 @@ public java.lang.String getServiceAccountName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; } } /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -397,15 +338,16 @@ public java.lang.String getServiceAccountName() {
    * 
* * string service_account_name = 6; - * * @return The bytes for serviceAccountName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountNameBytes() { + public com.google.protobuf.ByteString + getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -414,7 +356,6 @@ public com.google.protobuf.ByteString getServiceAccountNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -426,7 +367,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -455,7 +397,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransferConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTransferConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizationCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authorizationCode_); @@ -474,22 +417,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other = - (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTransferConfig() != other.hasTransferConfig()) return false; if (hasTransferConfig()) { - if (!getTransferConfig().equals(other.getTransferConfig())) return false; - } - if (!getAuthorizationCode().equals(other.getAuthorizationCode())) return false; - if (!getVersionInfo().equals(other.getVersionInfo())) return false; - if (!getServiceAccountName().equals(other.getServiceAccountName())) return false; + if (!getTransferConfig() + .equals(other.getTransferConfig())) return false; + } + if (!getAuthorizationCode() + .equals(other.getAuthorizationCode())) return false; + if (!getVersionInfo() + .equals(other.getVersionInfo())) return false; + if (!getServiceAccountName() + .equals(other.getServiceAccountName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -519,105 +466,98 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest 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.CreateTransferConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateTransferConfigRequest 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.CreateTransferConfigRequest 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.CreateTransferConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest - 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.CreateTransferConfigRequest 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.CreateTransferConfigRequest - 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.CreateTransferConfigRequest 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.CreateTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.CreateTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to create a data transfer configuration. If new credentials are
    * needed for this transfer configuration, authorization info must be provided.
@@ -629,42 +569,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)
       com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_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_CreateTransferConfigRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class,
-              com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.newBuilder()
+    // Construct using com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getTransferConfigFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -682,16 +619,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest
-          .getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -705,25 +640,22 @@ public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest bui
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result =
-          new com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result) {
+    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.transferConfig_ =
-            transferConfigBuilder_ == null ? transferConfig_ : transferConfigBuilder_.build();
+        result.transferConfig_ = transferConfigBuilder_ == null
+            ? transferConfig_
+            : transferConfigBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
@@ -742,51 +674,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) {
-        return mergeFrom(
-            (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other) {
-      if (other
-          == com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other) {
+      if (other == com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -836,43 +763,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTransferConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                authorizationCode_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 42:
-              {
-                versionInfo_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 42
-            case 50:
-              {
-                serviceAccountName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTransferConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              authorizationCode_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 42: {
+              versionInfo_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 42
+            case 50: {
+              serviceAccountName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -882,13 +805,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -897,16 +817,14 @@ public Builder mergeFrom(
      * match - the request will fail.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -915,8 +833,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -925,17 +841,16 @@ public java.lang.String getParent() {
      * match - the request will fail.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -943,8 +858,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -953,25 +866,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * match - the request will fail.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -980,10 +887,7 @@ public Builder setParent(java.lang.String value) {
      * match - the request will fail.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -993,8 +897,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -1003,17 +905,13 @@ public Builder clearParent() {
      * match - the request will fail.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1023,61 +921,41 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> - transferConfigBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> transferConfigBuilder_; /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferConfig field is set. */ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The transferConfig. */ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { if (transferConfigBuilder_ == null) { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } else { return transferConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder setTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1091,15 +969,11 @@ public Builder setTransferConfig( return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTransferConfig( com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { @@ -1113,23 +987,17 @@ public Builder setTransferConfig( return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder mergeTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && transferConfig_ != null - && transferConfig_ - != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + transferConfig_ != null && + transferConfig_ != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { getTransferConfigBuilder().mergeFrom(value); } else { transferConfig_ = value; @@ -1144,15 +1012,11 @@ public Builder mergeTransferConfig( return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTransferConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1165,66 +1029,48 @@ public Builder clearTransferConfig() { return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder - getTransferConfigBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder getTransferConfigBuilder() { bitField0_ |= 0x00000002; onChanged(); return getTransferConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder - getTransferConfigOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { if (transferConfigBuilder_ != null) { return transferConfigBuilder_.getMessageOrBuilder(); } else { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + return transferConfig_ == null ? + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> getTransferConfigFieldBuilder() { if (transferConfigBuilder_ == null) { - transferConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( - getTransferConfig(), getParentForChildren(), isClean()); + transferConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( + getTransferConfig(), + getParentForChildren(), + isClean()); transferConfig_ = null; } return transferConfigBuilder_; @@ -1232,8 +1078,6 @@ public Builder clearTransferConfig() { private java.lang.Object authorizationCode_ = ""; /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1252,13 +1096,13 @@ public Builder clearTransferConfig() {
      * 
* * string authorization_code = 3; - * * @return The authorizationCode. */ public java.lang.String getAuthorizationCode() { java.lang.Object ref = authorizationCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; @@ -1267,8 +1111,6 @@ public java.lang.String getAuthorizationCode() { } } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1287,14 +1129,15 @@ public java.lang.String getAuthorizationCode() {
      * 
* * string authorization_code = 3; - * * @return The bytes for authorizationCode. */ - public com.google.protobuf.ByteString getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString + getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -1302,8 +1145,6 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() { } } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1322,22 +1163,18 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() {
      * 
* * string authorization_code = 3; - * * @param value The authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAuthorizationCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } authorizationCode_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1356,7 +1193,6 @@ public Builder setAuthorizationCode(java.lang.String value) {
      * 
* * string authorization_code = 3; - * * @return This builder for chaining. */ public Builder clearAuthorizationCode() { @@ -1366,8 +1202,6 @@ public Builder clearAuthorizationCode() { return this; } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1386,14 +1220,12 @@ public Builder clearAuthorizationCode() {
      * 
* * string authorization_code = 3; - * * @param value The bytes for authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAuthorizationCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); authorizationCode_ = value; bitField0_ |= 0x00000004; @@ -1403,8 +1235,6 @@ public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) { private java.lang.Object versionInfo_ = ""; /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1423,13 +1253,13 @@ public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) {
      * 
* * string version_info = 5; - * * @return The versionInfo. */ public java.lang.String getVersionInfo() { java.lang.Object ref = versionInfo_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; @@ -1438,8 +1268,6 @@ public java.lang.String getVersionInfo() { } } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1458,14 +1286,15 @@ public java.lang.String getVersionInfo() {
      * 
* * string version_info = 5; - * * @return The bytes for versionInfo. */ - public com.google.protobuf.ByteString getVersionInfoBytes() { + public com.google.protobuf.ByteString + getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -1473,8 +1302,6 @@ public com.google.protobuf.ByteString getVersionInfoBytes() { } } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1493,22 +1320,18 @@ public com.google.protobuf.ByteString getVersionInfoBytes() {
      * 
* * string version_info = 5; - * * @param value The versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfo(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionInfo( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } versionInfo_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1527,7 +1350,6 @@ public Builder setVersionInfo(java.lang.String value) {
      * 
* * string version_info = 5; - * * @return This builder for chaining. */ public Builder clearVersionInfo() { @@ -1537,8 +1359,6 @@ public Builder clearVersionInfo() { return this; } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1557,14 +1377,12 @@ public Builder clearVersionInfo() {
      * 
* * string version_info = 5; - * * @param value The bytes for versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionInfoBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); versionInfo_ = value; bitField0_ |= 0x00000008; @@ -1574,8 +1392,6 @@ public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccountName_ = ""; /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1589,13 +1405,13 @@ public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) {
      * 
* * string service_account_name = 6; - * * @return The serviceAccountName. */ public java.lang.String getServiceAccountName() { java.lang.Object ref = serviceAccountName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; @@ -1604,8 +1420,6 @@ public java.lang.String getServiceAccountName() { } } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1619,14 +1433,15 @@ public java.lang.String getServiceAccountName() {
      * 
* * string service_account_name = 6; - * * @return The bytes for serviceAccountName. */ - public com.google.protobuf.ByteString getServiceAccountNameBytes() { + public com.google.protobuf.ByteString + getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -1634,8 +1449,6 @@ public com.google.protobuf.ByteString getServiceAccountNameBytes() { } } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1649,22 +1462,18 @@ public com.google.protobuf.ByteString getServiceAccountNameBytes() {
      * 
* * string service_account_name = 6; - * * @param value The serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceAccountName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1678,7 +1487,6 @@ public Builder setServiceAccountName(java.lang.String value) {
      * 
* * string service_account_name = 6; - * * @return This builder for chaining. */ public Builder clearServiceAccountName() { @@ -1688,8 +1496,6 @@ public Builder clearServiceAccountName() { return this; } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1703,23 +1509,21 @@ public Builder clearServiceAccountName() {
      * 
* * string service_account_name = 6; - * * @param value The bytes for serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceAccountNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1729,43 +1533,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1777,8 +1579,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java similarity index 80% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java index 8fd142729881..fbf20676df93 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * 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; -public interface CreateTransferConfigRequestOrBuilder - extends +public interface CreateTransferConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -35,16 +17,11 @@ public interface CreateTransferConfigRequestOrBuilder
    * match - the request will fail.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -53,58 +30,40 @@ public interface CreateTransferConfigRequestOrBuilder
    * match - the request will fail.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferConfig field is set. */ boolean hasTransferConfig(); /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The transferConfig. */ com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig(); /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder(); /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -123,13 +82,10 @@ public interface CreateTransferConfigRequestOrBuilder
    * 
* * string authorization_code = 3; - * * @return The authorizationCode. */ java.lang.String getAuthorizationCode(); /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -148,14 +104,12 @@ public interface CreateTransferConfigRequestOrBuilder
    * 
* * string authorization_code = 3; - * * @return The bytes for authorizationCode. */ - com.google.protobuf.ByteString getAuthorizationCodeBytes(); + com.google.protobuf.ByteString + getAuthorizationCodeBytes(); /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -174,13 +128,10 @@ public interface CreateTransferConfigRequestOrBuilder
    * 
* * string version_info = 5; - * * @return The versionInfo. */ java.lang.String getVersionInfo(); /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -199,14 +150,12 @@ public interface CreateTransferConfigRequestOrBuilder
    * 
* * string version_info = 5; - * * @return The bytes for versionInfo. */ - com.google.protobuf.ByteString getVersionInfoBytes(); + com.google.protobuf.ByteString + getVersionInfoBytes(); /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -220,13 +169,10 @@ public interface CreateTransferConfigRequestOrBuilder
    * 
* * string service_account_name = 6; - * * @return The serviceAccountName. */ java.lang.String getServiceAccountName(); /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -240,8 +186,8 @@ public interface CreateTransferConfigRequestOrBuilder
    * 
* * string service_account_name = 6; - * * @return The bytes for serviceAccountName. */ - com.google.protobuf.ByteString getServiceAccountNameBytes(); + com.google.protobuf.ByteString + getServiceAccountNameBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java similarity index 71% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java index f8d9a46fcd9e..bff5273fb450 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,31 +5,29 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Defines the properties and custom parameters for a data source.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSource} */ -public final class DataSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DataSource) DataSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataSource.newBuilder() to construct. private DataSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataSource() { name_ = ""; dataSourceId_ = ""; displayName_ = ""; description_ = ""; clientId_ = ""; - scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + scopes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); transferType_ = 0; defaultSchedule_ = ""; parameters_ = java.util.Collections.emptyList(); @@ -55,38 +38,34 @@ private DataSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataSource(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_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_DataSource_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSource.class, - com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSource.class, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); } /** - * - * *
    * The type of authorization needed for this data source.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType} */ - public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum { + public enum AuthorizationType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Type unspecified.
      * 
@@ -95,8 +74,6 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum */ AUTHORIZATION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Use OAuth 2 authorization codes that can be exchanged
      * for a refresh token on the backend.
@@ -106,8 +83,6 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum
      */
     AUTHORIZATION_CODE(1),
     /**
-     *
-     *
      * 
      * Return an authorization code for a given Google+ page that can then be
      * exchanged for a refresh token on the backend.
@@ -117,8 +92,6 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum
      */
     GOOGLE_PLUS_AUTHORIZATION_CODE(2),
     /**
-     *
-     *
      * 
      * Use First Party OAuth.
      * 
@@ -130,8 +103,6 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Type unspecified.
      * 
@@ -140,8 +111,6 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int AUTHORIZATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Use OAuth 2 authorization codes that can be exchanged
      * for a refresh token on the backend.
@@ -151,8 +120,6 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int AUTHORIZATION_CODE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Return an authorization code for a given Google+ page that can then be
      * exchanged for a refresh token on the backend.
@@ -162,8 +129,6 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int GOOGLE_PLUS_AUTHORIZATION_CODE_VALUE = 2;
     /**
-     *
-     *
      * 
      * Use First Party OAuth.
      * 
@@ -172,6 +137,7 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int FIRST_PARTY_OAUTH_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -196,16 +162,11 @@ public static AuthorizationType valueOf(int value) { */ public static AuthorizationType forNumber(int value) { switch (value) { - case 0: - return AUTHORIZATION_TYPE_UNSPECIFIED; - case 1: - return AUTHORIZATION_CODE; - case 2: - return GOOGLE_PLUS_AUTHORIZATION_CODE; - case 3: - return FIRST_PARTY_OAUTH; - default: - return null; + case 0: return AUTHORIZATION_TYPE_UNSPECIFIED; + case 1: return AUTHORIZATION_CODE; + case 2: return GOOGLE_PLUS_AUTHORIZATION_CODE; + case 3: return FIRST_PARTY_OAUTH; + default: return null; } } @@ -213,31 +174,29 @@ public static AuthorizationType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + AuthorizationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AuthorizationType findValueByNumber(int number) { + return AuthorizationType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AuthorizationType findValueByNumber(int number) { - return AuthorizationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor().getEnumTypes().get(0); } private static final AuthorizationType[] VALUES = values(); @@ -245,7 +204,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static AuthorizationType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -263,18 +223,15 @@ private AuthorizationType(int value) { } /** - * - * *
    * Represents how the data source supports data auto refresh.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType} */ - public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum { + public enum DataRefreshType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The data source won't support data auto refresh, which is default value.
      * 
@@ -283,8 +240,6 @@ public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum { */ DATA_REFRESH_TYPE_UNSPECIFIED(0), /** - * - * *
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Does not allow custom values to be set for each
@@ -295,8 +250,6 @@ public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum {
      */
     SLIDING_WINDOW(1),
     /**
-     *
-     *
      * 
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Allows custom values to be set for each transfer
@@ -310,8 +263,6 @@ public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The data source won't support data auto refresh, which is default value.
      * 
@@ -320,8 +271,6 @@ public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_REFRESH_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Does not allow custom values to be set for each
@@ -332,8 +281,6 @@ public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SLIDING_WINDOW_VALUE = 1;
     /**
-     *
-     *
      * 
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Allows custom values to be set for each transfer
@@ -344,6 +291,7 @@ public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CUSTOM_SLIDING_WINDOW_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -368,45 +316,40 @@ public static DataRefreshType valueOf(int value) {
      */
     public static DataRefreshType forNumber(int value) {
       switch (value) {
-        case 0:
-          return DATA_REFRESH_TYPE_UNSPECIFIED;
-        case 1:
-          return SLIDING_WINDOW;
-        case 2:
-          return CUSTOM_SLIDING_WINDOW;
-        default:
-          return null;
+        case 0: return DATA_REFRESH_TYPE_UNSPECIFIED;
+        case 1: return SLIDING_WINDOW;
+        case 2: return CUSTOM_SLIDING_WINDOW;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        DataRefreshType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public DataRefreshType findValueByNumber(int number) {
+              return DataRefreshType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public DataRefreshType findValueByNumber(int number) {
-                return DataRefreshType.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor()
-          .getEnumTypes()
-          .get(1);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final DataRefreshType[] VALUES = values();
@@ -414,7 +357,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static DataRefreshType valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -433,18 +377,14 @@ private DataRefreshType(int value) {
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -453,29 +393,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -484,18 +424,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DATA_SOURCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object dataSourceId_ = ""; /** - * - * *
    * Data source id.
    * 
* * string data_source_id = 2; - * * @return The dataSourceId. */ @java.lang.Override @@ -504,29 +440,29 @@ public java.lang.String getDataSourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; } } /** - * - * *
    * Data source id.
    * 
* * string data_source_id = 2; - * * @return The bytes for dataSourceId. */ @java.lang.Override - public com.google.protobuf.ByteString getDataSourceIdBytes() { + public com.google.protobuf.ByteString + getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -535,18 +471,14 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * User friendly data source name.
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -555,29 +487,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * User friendly data source name.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -586,18 +518,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * User friendly data source description string.
    * 
* * string description = 4; - * * @return The description. */ @java.lang.Override @@ -606,29 +534,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * User friendly data source description string.
    * 
* * string description = 4; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -637,18 +565,14 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int CLIENT_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object clientId_ = ""; /** - * - * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; - * * @return The clientId. */ @java.lang.Override @@ -657,29 +581,29 @@ public java.lang.String getClientId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientId_ = s; return s; } } /** - * - * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; - * * @return The bytes for clientId. */ @java.lang.Override - public com.google.protobuf.ByteString getClientIdBytes() { + public com.google.protobuf.ByteString + getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientId_ = b; return b; } else { @@ -688,13 +612,10 @@ public com.google.protobuf.ByteString getClientIdBytes() { } public static final int SCOPES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -702,15 +623,13 @@ public com.google.protobuf.ByteString getClientIdBytes() {
    * 
* * repeated string scopes = 6; - * * @return A list containing the scopes. */ - public com.google.protobuf.ProtocolStringList getScopesList() { + public com.google.protobuf.ProtocolStringList + getScopesList() { return scopes_; } /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -718,15 +637,12 @@ public com.google.protobuf.ProtocolStringList getScopesList() {
    * 
* * repeated string scopes = 6; - * * @return The count of scopes. */ public int getScopesCount() { return scopes_.size(); } /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -734,7 +650,6 @@ public int getScopesCount() {
    * 
* * repeated string scopes = 6; - * * @param index The index of the element to return. * @return The scopes at the given index. */ @@ -742,8 +657,6 @@ public java.lang.String getScopes(int index) { return scopes_.get(index); } /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -751,94 +664,70 @@ public java.lang.String getScopes(int index) {
    * 
* * repeated string scopes = 6; - * * @param index The index of the value to return. * @return The bytes of the scopes at the given index. */ - public com.google.protobuf.ByteString getScopesBytes(int index) { + public com.google.protobuf.ByteString + getScopesBytes(int index) { return scopes_.getByteString(index); } public static final int TRANSFER_TYPE_FIELD_NUMBER = 7; private int transferType_ = 0; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See - * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The enum numeric value on the wire for transferType. */ - @java.lang.Override - @java.lang.Deprecated - public int getTransferTypeValue() { + @java.lang.Override @java.lang.Deprecated public int getTransferTypeValue() { return transferType_; } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See - * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The transferType. */ - @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { - com.google.cloud.bigquery.datatransfer.v1.TransferType result = - com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED - : result; + @java.lang.Override @java.lang.Deprecated public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { + com.google.cloud.bigquery.datatransfer.v1.TransferType result = com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED : result; } public static final int SUPPORTS_MULTIPLE_TRANSFERS_FIELD_NUMBER = 8; private boolean supportsMultipleTransfers_ = false; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * 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=398 + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return The supportsMultipleTransfers. */ @java.lang.Override - @java.lang.Deprecated - public boolean getSupportsMultipleTransfers() { + @java.lang.Deprecated public boolean getSupportsMultipleTransfers() { return supportsMultipleTransfers_; } public static final int UPDATE_DEADLINE_SECONDS_FIELD_NUMBER = 9; private int updateDeadlineSeconds_ = 0; /** - * - * *
    * The number of seconds to wait for an update from the data source
    * before the Data Transfer Service marks the transfer as FAILED.
    * 
* * int32 update_deadline_seconds = 9; - * * @return The updateDeadlineSeconds. */ @java.lang.Override @@ -847,12 +736,9 @@ public int getUpdateDeadlineSeconds() { } public static final int DEFAULT_SCHEDULE_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object defaultSchedule_ = ""; /** - * - * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -862,7 +748,6 @@ public int getUpdateDeadlineSeconds() {
    * 
* * string default_schedule = 10; - * * @return The defaultSchedule. */ @java.lang.Override @@ -871,15 +756,14 @@ public java.lang.String getDefaultSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSchedule_ = s; return s; } } /** - * - * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -889,15 +773,16 @@ public java.lang.String getDefaultSchedule() {
    * 
* * string default_schedule = 10; - * * @return The bytes for defaultSchedule. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultScheduleBytes() { + public com.google.protobuf.ByteString + getDefaultScheduleBytes() { java.lang.Object ref = defaultSchedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultSchedule_ = b; return b; } else { @@ -908,8 +793,6 @@ public com.google.protobuf.ByteString getDefaultScheduleBytes() { public static final int SUPPORTS_CUSTOM_SCHEDULE_FIELD_NUMBER = 11; private boolean supportsCustomSchedule_ = false; /** - * - * *
    * Specifies whether the data source supports a user defined schedule, or
    * operates on the default schedule.
@@ -917,7 +800,6 @@ public com.google.protobuf.ByteString getDefaultScheduleBytes() {
    * 
* * bool supports_custom_schedule = 11; - * * @return The supportsCustomSchedule. */ @java.lang.Override @@ -926,97 +808,75 @@ public boolean getSupportsCustomSchedule() { } public static final int PARAMETERS_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private java.util.List parameters_; /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ @java.lang.Override - public java.util.List - getParametersList() { + public java.util.List getParametersList() { return parameters_; } /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + public java.util.List getParametersOrBuilderList() { return parameters_; } /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ @java.lang.Override public int getParametersCount() { return parameters_.size(); } /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParameters(int index) { return parameters_.get(index); } /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder - getParametersOrBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParametersOrBuilder( + int index) { return parameters_.get(index); } public static final int HELP_URL_FIELD_NUMBER = 13; - @SuppressWarnings("serial") private volatile java.lang.Object helpUrl_ = ""; /** - * - * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; - * * @return The helpUrl. */ @java.lang.Override @@ -1025,29 +885,29 @@ public java.lang.String getHelpUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpUrl_ = s; return s; } } /** - * - * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; - * * @return The bytes for helpUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getHelpUrlBytes() { + public com.google.protobuf.ByteString + getHelpUrlBytes() { java.lang.Object ref = helpUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); helpUrl_ = b; return b; } else { @@ -1058,51 +918,32 @@ public com.google.protobuf.ByteString getHelpUrlBytes() { public static final int AUTHORIZATION_TYPE_FIELD_NUMBER = 14; private int authorizationType_ = 0; /** - * - * *
    * Indicates the type of authorization.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @return The enum numeric value on the wire for authorizationType. */ - @java.lang.Override - public int getAuthorizationTypeValue() { + @java.lang.Override public int getAuthorizationTypeValue() { return authorizationType_; } /** - * - * *
    * Indicates the type of authorization.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @return The authorizationType. */ - @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType - getAuthorizationType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = - com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber( - authorizationType_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType getAuthorizationType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber(authorizationType_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED : result; } public static final int DATA_REFRESH_TYPE_FIELD_NUMBER = 15; private int dataRefreshType_ = 0; /** - * - * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -1110,18 +951,13 @@ public int getAuthorizationTypeValue() {
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @return The enum numeric value on the wire for dataRefreshType. */ - @java.lang.Override - public int getDataRefreshTypeValue() { + @java.lang.Override public int getDataRefreshTypeValue() { return dataRefreshType_; } /** - * - * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -1129,33 +965,23 @@ public int getDataRefreshTypeValue() {
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @return The dataRefreshType. */ - @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = - com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber( - dataRefreshType_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber(dataRefreshType_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED : result; } public static final int DEFAULT_DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER = 16; private int defaultDataRefreshWindowDays_ = 0; /** - * - * *
    * Default data refresh window on days.
    * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
    * 
* * int32 default_data_refresh_window_days = 16; - * * @return The defaultDataRefreshWindowDays. */ @java.lang.Override @@ -1166,15 +992,12 @@ public int getDefaultDataRefreshWindowDays() { public static final int MANUAL_RUNS_DISABLED_FIELD_NUMBER = 17; private boolean manualRunsDisabled_ = false; /** - * - * *
    * Disables backfilling and manual run scheduling
    * for the data source.
    * 
* * bool manual_runs_disabled = 17; - * * @return The manualRunsDisabled. */ @java.lang.Override @@ -1185,14 +1008,11 @@ public boolean getManualRunsDisabled() { public static final int MINIMUM_SCHEDULE_INTERVAL_FIELD_NUMBER = 18; private com.google.protobuf.Duration minimumScheduleInterval_; /** - * - * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; - * * @return Whether the minimumScheduleInterval field is set. */ @java.lang.Override @@ -1200,25 +1020,18 @@ public boolean hasMinimumScheduleInterval() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; - * * @return The minimumScheduleInterval. */ @java.lang.Override public com.google.protobuf.Duration getMinimumScheduleInterval() { - return minimumScheduleInterval_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minimumScheduleInterval_; + return minimumScheduleInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; } /** - * - * *
    * The minimum interval for scheduler to schedule runs.
    * 
@@ -1227,13 +1040,10 @@ public com.google.protobuf.Duration getMinimumScheduleInterval() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getMinimumScheduleIntervalOrBuilder() { - return minimumScheduleInterval_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minimumScheduleInterval_; + return minimumScheduleInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1245,7 +1055,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -1264,9 +1075,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < scopes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, scopes_.getRaw(i)); } - if (transferType_ - != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED - .getNumber()) { + if (transferType_ != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(7, transferType_); } if (supportsMultipleTransfers_ != false) { @@ -1287,16 +1096,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, helpUrl_); } - if (authorizationType_ - != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType - .AUTHORIZATION_TYPE_UNSPECIFIED - .getNumber()) { + if (authorizationType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(14, authorizationType_); } - if (dataRefreshType_ - != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType - .DATA_REFRESH_TYPE_UNSPECIFIED - .getNumber()) { + if (dataRefreshType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.DATA_REFRESH_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(15, dataRefreshType_); } if (defaultDataRefreshWindowDays_ != 0) { @@ -1340,52 +1143,51 @@ public int getSerializedSize() { size += dataSize; size += 1 * getScopesList().size(); } - if (transferType_ - != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, transferType_); + if (transferType_ != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, transferType_); } if (supportsMultipleTransfers_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, supportsMultipleTransfers_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, supportsMultipleTransfers_); } if (updateDeadlineSeconds_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, updateDeadlineSeconds_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, updateDeadlineSeconds_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSchedule_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, defaultSchedule_); } if (supportsCustomSchedule_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, supportsCustomSchedule_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(11, supportsCustomSchedule_); } for (int i = 0; i < parameters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, parameters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, parameters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, helpUrl_); } - if (authorizationType_ - != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType - .AUTHORIZATION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, authorizationType_); + if (authorizationType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(14, authorizationType_); } - if (dataRefreshType_ - != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType - .DATA_REFRESH_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, dataRefreshType_); + if (dataRefreshType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.DATA_REFRESH_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(15, dataRefreshType_); } if (defaultDataRefreshWindowDays_ != 0) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size(16, defaultDataRefreshWindowDays_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(16, defaultDataRefreshWindowDays_); } if (manualRunsDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(17, manualRunsDisabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(17, manualRunsDisabled_); } if (((bitField0_ & 0x00000001) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 18, getMinimumScheduleInterval()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getMinimumScheduleInterval()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1395,34 +1197,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DataSource)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DataSource other = - (com.google.cloud.bigquery.datatransfer.v1.DataSource) obj; - - if (!getName().equals(other.getName())) return false; - if (!getDataSourceId().equals(other.getDataSourceId())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getClientId().equals(other.getClientId())) return false; - if (!getScopesList().equals(other.getScopesList())) return false; + com.google.cloud.bigquery.datatransfer.v1.DataSource other = (com.google.cloud.bigquery.datatransfer.v1.DataSource) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getDataSourceId() + .equals(other.getDataSourceId())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getClientId() + .equals(other.getClientId())) return false; + if (!getScopesList() + .equals(other.getScopesList())) return false; if (transferType_ != other.transferType_) return false; - if (getSupportsMultipleTransfers() != other.getSupportsMultipleTransfers()) return false; - if (getUpdateDeadlineSeconds() != other.getUpdateDeadlineSeconds()) return false; - if (!getDefaultSchedule().equals(other.getDefaultSchedule())) return false; - if (getSupportsCustomSchedule() != other.getSupportsCustomSchedule()) return false; - if (!getParametersList().equals(other.getParametersList())) return false; - if (!getHelpUrl().equals(other.getHelpUrl())) return false; + if (getSupportsMultipleTransfers() + != other.getSupportsMultipleTransfers()) return false; + if (getUpdateDeadlineSeconds() + != other.getUpdateDeadlineSeconds()) return false; + if (!getDefaultSchedule() + .equals(other.getDefaultSchedule())) return false; + if (getSupportsCustomSchedule() + != other.getSupportsCustomSchedule()) return false; + if (!getParametersList() + .equals(other.getParametersList())) return false; + if (!getHelpUrl() + .equals(other.getHelpUrl())) return false; if (authorizationType_ != other.authorizationType_) return false; if (dataRefreshType_ != other.dataRefreshType_) return false; - if (getDefaultDataRefreshWindowDays() != other.getDefaultDataRefreshWindowDays()) return false; - if (getManualRunsDisabled() != other.getManualRunsDisabled()) return false; + if (getDefaultDataRefreshWindowDays() + != other.getDefaultDataRefreshWindowDays()) return false; + if (getManualRunsDisabled() + != other.getManualRunsDisabled()) return false; if (hasMinimumScheduleInterval() != other.hasMinimumScheduleInterval()) return false; if (hasMinimumScheduleInterval()) { - if (!getMinimumScheduleInterval().equals(other.getMinimumScheduleInterval())) return false; + if (!getMinimumScheduleInterval() + .equals(other.getMinimumScheduleInterval())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1452,13 +1268,15 @@ public int hashCode() { hash = (37 * hash) + TRANSFER_TYPE_FIELD_NUMBER; hash = (53 * hash) + transferType_; hash = (37 * hash) + SUPPORTS_MULTIPLE_TRANSFERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSupportsMultipleTransfers()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSupportsMultipleTransfers()); hash = (37 * hash) + UPDATE_DEADLINE_SECONDS_FIELD_NUMBER; hash = (53 * hash) + getUpdateDeadlineSeconds(); hash = (37 * hash) + DEFAULT_SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getDefaultSchedule().hashCode(); hash = (37 * hash) + SUPPORTS_CUSTOM_SCHEDULE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSupportsCustomSchedule()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSupportsCustomSchedule()); if (getParametersCount() > 0) { hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + getParametersList().hashCode(); @@ -1472,7 +1290,8 @@ public int hashCode() { hash = (37 * hash) + DEFAULT_DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER; hash = (53 * hash) + getDefaultDataRefreshWindowDays(); hash = (37 * hash) + MANUAL_RUNS_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getManualRunsDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getManualRunsDisabled()); if (hasMinimumScheduleInterval()) { hash = (37 * hash) + MINIMUM_SCHEDULE_INTERVAL_FIELD_NUMBER; hash = (53 * hash) + getMinimumScheduleInterval().hashCode(); @@ -1483,126 +1302,119 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSource 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.DataSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSource 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.DataSource 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.DataSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSource 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.DataSource 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.DataSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.DataSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DataSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines the properties and custom parameters for a data source.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DataSource) com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_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_DataSource_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSource.class, - com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSource.class, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.DataSource.newBuilder() @@ -1610,18 +1422,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getParametersFieldBuilder(); getMinimumScheduleIntervalFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1631,7 +1443,8 @@ public Builder clear() { displayName_ = ""; description_ = ""; clientId_ = ""; - scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + scopes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); transferType_ = 0; supportsMultipleTransfers_ = false; updateDeadlineSeconds_ = 0; @@ -1658,9 +1471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; } @java.lang.Override @@ -1679,18 +1492,14 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSource buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.DataSource result = - new com.google.cloud.bigquery.datatransfer.v1.DataSource(this); + com.google.cloud.bigquery.datatransfer.v1.DataSource result = new com.google.cloud.bigquery.datatransfer.v1.DataSource(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.DataSource result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.DataSource result) { if (parametersBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); @@ -1755,10 +1564,9 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSource } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00020000) != 0)) { - result.minimumScheduleInterval_ = - minimumScheduleIntervalBuilder_ == null - ? minimumScheduleInterval_ - : minimumScheduleIntervalBuilder_.build(); + result.minimumScheduleInterval_ = minimumScheduleIntervalBuilder_ == null + ? minimumScheduleInterval_ + : minimumScheduleIntervalBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1768,39 +1576,38 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSource public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DataSource) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSource) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSource)other); } else { super.mergeFrom(other); return this; @@ -1808,8 +1615,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSource other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1880,10 +1686,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSource ot parametersBuilder_ = null; parameters_ = other.parameters_; bitField0_ = (bitField0_ & ~0x00000800); - parametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getParametersFieldBuilder() - : null; + parametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getParametersFieldBuilder() : null; } else { parametersBuilder_.addAllMessages(other.parameters_); } @@ -1935,131 +1740,113 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - dataSourceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - clientId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureScopesIsMutable(); - scopes_.add(s); - break; - } // case 50 - case 56: - { - transferType_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 64: - { - supportsMultipleTransfers_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 72: - { - updateDeadlineSeconds_ = input.readInt32(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 82: - { - defaultSchedule_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 88: - { - supportsCustomSchedule_ = input.readBool(); - bitField0_ |= 0x00000400; - break; - } // case 88 - case 98: - { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), - extensionRegistry); - if (parametersBuilder_ == null) { - ensureParametersIsMutable(); - parameters_.add(m); - } else { - parametersBuilder_.addMessage(m); - } - break; - } // case 98 - case 106: - { - helpUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 112: - { - authorizationType_ = input.readEnum(); - bitField0_ |= 0x00002000; - break; - } // case 112 - case 120: - { - dataRefreshType_ = input.readEnum(); - bitField0_ |= 0x00004000; - break; - } // case 120 - case 128: - { - defaultDataRefreshWindowDays_ = input.readInt32(); - bitField0_ |= 0x00008000; - break; - } // case 128 - case 136: - { - manualRunsDisabled_ = input.readBool(); - bitField0_ |= 0x00010000; - break; - } // case 136 - case 146: - { - input.readMessage( - getMinimumScheduleIntervalFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00020000; - break; - } // case 146 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + dataSourceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + clientId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureScopesIsMutable(); + scopes_.add(s); + break; + } // case 50 + case 56: { + transferType_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + supportsMultipleTransfers_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: { + updateDeadlineSeconds_ = input.readInt32(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 82: { + defaultSchedule_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 88: { + supportsCustomSchedule_ = input.readBool(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 98: { + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), + extensionRegistry); + if (parametersBuilder_ == null) { + ensureParametersIsMutable(); + parameters_.add(m); + } else { + parametersBuilder_.addMessage(m); + } + break; + } // case 98 + case 106: { + helpUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 112: { + authorizationType_ = input.readEnum(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 120: { + dataRefreshType_ = input.readEnum(); + bitField0_ |= 0x00004000; + break; + } // case 120 + case 128: { + defaultDataRefreshWindowDays_ = input.readInt32(); + bitField0_ |= 0x00008000; + break; + } // case 128 + case 136: { + manualRunsDisabled_ = input.readBool(); + bitField0_ |= 0x00010000; + break; + } // case 136 + case 146: { + input.readMessage( + getMinimumScheduleIntervalFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00020000; + break; + } // case 146 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2069,25 +1856,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2096,21 +1880,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2118,35 +1901,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2156,21 +1932,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2180,20 +1952,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataSourceId_ = ""; /** - * - * *
      * Data source id.
      * 
* * string data_source_id = 2; - * * @return The dataSourceId. */ public java.lang.String getDataSourceId() { java.lang.Object ref = dataSourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; @@ -2202,21 +1972,20 @@ public java.lang.String getDataSourceId() { } } /** - * - * *
      * Data source id.
      * 
* * string data_source_id = 2; - * * @return The bytes for dataSourceId. */ - public com.google.protobuf.ByteString getDataSourceIdBytes() { + public com.google.protobuf.ByteString + getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -2224,35 +1993,28 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() { } } /** - * - * *
      * Data source id.
      * 
* * string data_source_id = 2; - * * @param value The dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSourceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataSourceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Data source id.
      * 
* * string data_source_id = 2; - * * @return This builder for chaining. */ public Builder clearDataSourceId() { @@ -2262,21 +2024,17 @@ public Builder clearDataSourceId() { return this; } /** - * - * *
      * Data source id.
      * 
* * string data_source_id = 2; - * * @param value The bytes for dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSourceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataSourceId_ = value; bitField0_ |= 0x00000002; @@ -2286,20 +2044,18 @@ public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * User friendly data source name.
      * 
* * string display_name = 3; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2308,21 +2064,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * User friendly data source name.
      * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2330,35 +2085,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * User friendly data source name.
      * 
* * string display_name = 3; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * User friendly data source name.
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2368,21 +2116,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * User friendly data source name.
      * 
* * string display_name = 3; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -2392,20 +2136,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * User friendly data source description string.
      * 
* * string description = 4; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2414,21 +2156,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * User friendly data source description string.
      * 
* * string description = 4; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2436,35 +2177,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * User friendly data source description string.
      * 
* * string description = 4; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * User friendly data source description string.
      * 
* * string description = 4; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2474,21 +2208,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * User friendly data source description string.
      * 
* * string description = 4; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000008; @@ -2498,20 +2228,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object clientId_ = ""; /** - * - * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; - * * @return The clientId. */ public java.lang.String getClientId() { java.lang.Object ref = clientId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientId_ = s; return s; @@ -2520,21 +2248,20 @@ public java.lang.String getClientId() { } } /** - * - * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; - * * @return The bytes for clientId. */ - public com.google.protobuf.ByteString getClientIdBytes() { + public com.google.protobuf.ByteString + getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientId_ = b; return b; } else { @@ -2542,35 +2269,28 @@ public com.google.protobuf.ByteString getClientIdBytes() { } } /** - * - * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; - * * @param value The clientId to set. * @return This builder for chaining. */ - public Builder setClientId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClientId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clientId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; - * * @return This builder for chaining. */ public Builder clearClientId() { @@ -2580,21 +2300,17 @@ public Builder clearClientId() { return this; } /** - * - * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; - * * @param value The bytes for clientId to set. * @return This builder for chaining. */ - public Builder setClientIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClientIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clientId_ = value; bitField0_ |= 0x00000010; @@ -2604,7 +2320,6 @@ public Builder setClientIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureScopesIsMutable() { if (!scopes_.isModifiable()) { scopes_ = new com.google.protobuf.LazyStringArrayList(scopes_); @@ -2612,8 +2327,6 @@ private void ensureScopesIsMutable() { bitField0_ |= 0x00000020; } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2621,16 +2334,14 @@ private void ensureScopesIsMutable() {
      * 
* * repeated string scopes = 6; - * * @return A list containing the scopes. */ - public com.google.protobuf.ProtocolStringList getScopesList() { + public com.google.protobuf.ProtocolStringList + getScopesList() { scopes_.makeImmutable(); return scopes_; } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2638,15 +2349,12 @@ public com.google.protobuf.ProtocolStringList getScopesList() {
      * 
* * repeated string scopes = 6; - * * @return The count of scopes. */ public int getScopesCount() { return scopes_.size(); } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2654,7 +2362,6 @@ public int getScopesCount() {
      * 
* * repeated string scopes = 6; - * * @param index The index of the element to return. * @return The scopes at the given index. */ @@ -2662,8 +2369,6 @@ public java.lang.String getScopes(int index) { return scopes_.get(index); } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2671,16 +2376,14 @@ public java.lang.String getScopes(int index) {
      * 
* * repeated string scopes = 6; - * * @param index The index of the value to return. * @return The bytes of the scopes at the given index. */ - public com.google.protobuf.ByteString getScopesBytes(int index) { + public com.google.protobuf.ByteString + getScopesBytes(int index) { return scopes_.getByteString(index); } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2688,15 +2391,13 @@ public com.google.protobuf.ByteString getScopesBytes(int index) {
      * 
* * repeated string scopes = 6; - * * @param index The index to set the value at. * @param value The scopes to set. * @return This builder for chaining. */ - public Builder setScopes(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScopes( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureScopesIsMutable(); scopes_.set(index, value); bitField0_ |= 0x00000020; @@ -2704,8 +2405,6 @@ public Builder setScopes(int index, java.lang.String value) { return this; } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2713,14 +2412,12 @@ public Builder setScopes(int index, java.lang.String value) {
      * 
* * repeated string scopes = 6; - * * @param value The scopes to add. * @return This builder for chaining. */ - public Builder addScopes(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addScopes( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureScopesIsMutable(); scopes_.add(value); bitField0_ |= 0x00000020; @@ -2728,8 +2425,6 @@ public Builder addScopes(java.lang.String value) { return this; } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2737,20 +2432,19 @@ public Builder addScopes(java.lang.String value) {
      * 
* * repeated string scopes = 6; - * * @param values The scopes to add. * @return This builder for chaining. */ - public Builder addAllScopes(java.lang.Iterable values) { + public Builder addAllScopes( + java.lang.Iterable values) { ensureScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, scopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, scopes_); bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2758,19 +2452,16 @@ public Builder addAllScopes(java.lang.Iterable values) {
      * 
* * repeated string scopes = 6; - * * @return This builder for chaining. */ public Builder clearScopes() { - scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - ; + scopes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020);; onChanged(); return this; } /** - * - * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2778,14 +2469,12 @@ public Builder clearScopes() {
      * 
* * repeated string scopes = 6; - * * @param value The bytes of the scopes to add. * @return This builder for chaining. */ - public Builder addScopesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addScopesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureScopesIsMutable(); scopes_.add(value); @@ -2796,90 +2485,62 @@ public Builder addScopesBytes(com.google.protobuf.ByteString value) { private int transferType_ = 0; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See - * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The enum numeric value on the wire for transferType. */ - @java.lang.Override - @java.lang.Deprecated - public int getTransferTypeValue() { + @java.lang.Override @java.lang.Deprecated public int getTransferTypeValue() { return transferType_; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See - * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See 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. */ - @java.lang.Deprecated - public Builder setTransferTypeValue(int value) { + @java.lang.Deprecated public Builder setTransferTypeValue(int value) { transferType_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See - * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The transferType. */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { - com.google.cloud.bigquery.datatransfer.v1.TransferType result = - com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED - : result; + @java.lang.Deprecated public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { + com.google.cloud.bigquery.datatransfer.v1.TransferType result = com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED : result; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See - * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @param value The transferType to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setTransferType(com.google.cloud.bigquery.datatransfer.v1.TransferType value) { + @java.lang.Deprecated public Builder setTransferType(com.google.cloud.bigquery.datatransfer.v1.TransferType value) { if (value == null) { throw new NullPointerException(); } @@ -2889,63 +2550,49 @@ public Builder setTransferType(com.google.cloud.bigquery.datatransfer.v1.Transfe return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See - * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearTransferType() { + @java.lang.Deprecated public Builder clearTransferType() { bitField0_ = (bitField0_ & ~0x00000040); transferType_ = 0; onChanged(); return this; } - private boolean supportsMultipleTransfers_; + private boolean supportsMultipleTransfers_ ; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * 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=398 + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return The supportsMultipleTransfers. */ @java.lang.Override - @java.lang.Deprecated - public boolean getSupportsMultipleTransfers() { + @java.lang.Deprecated public boolean getSupportsMultipleTransfers() { return supportsMultipleTransfers_; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * 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=398 + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @param value The supportsMultipleTransfers to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setSupportsMultipleTransfers(boolean value) { + @java.lang.Deprecated public Builder setSupportsMultipleTransfers(boolean value) { supportsMultipleTransfers_ = value; bitField0_ |= 0x00000080; @@ -2953,37 +2600,30 @@ public Builder setSupportsMultipleTransfers(boolean value) { return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * 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=398 + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearSupportsMultipleTransfers() { + @java.lang.Deprecated public Builder clearSupportsMultipleTransfers() { bitField0_ = (bitField0_ & ~0x00000080); supportsMultipleTransfers_ = false; onChanged(); return this; } - private int updateDeadlineSeconds_; + private int updateDeadlineSeconds_ ; /** - * - * *
      * The number of seconds to wait for an update from the data source
      * before the Data Transfer Service marks the transfer as FAILED.
      * 
* * int32 update_deadline_seconds = 9; - * * @return The updateDeadlineSeconds. */ @java.lang.Override @@ -2991,15 +2631,12 @@ public int getUpdateDeadlineSeconds() { return updateDeadlineSeconds_; } /** - * - * *
      * The number of seconds to wait for an update from the data source
      * before the Data Transfer Service marks the transfer as FAILED.
      * 
* * int32 update_deadline_seconds = 9; - * * @param value The updateDeadlineSeconds to set. * @return This builder for chaining. */ @@ -3011,15 +2648,12 @@ public Builder setUpdateDeadlineSeconds(int value) { return this; } /** - * - * *
      * The number of seconds to wait for an update from the data source
      * before the Data Transfer Service marks the transfer as FAILED.
      * 
* * int32 update_deadline_seconds = 9; - * * @return This builder for chaining. */ public Builder clearUpdateDeadlineSeconds() { @@ -3031,8 +2665,6 @@ public Builder clearUpdateDeadlineSeconds() { private java.lang.Object defaultSchedule_ = ""; /** - * - * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -3042,13 +2674,13 @@ public Builder clearUpdateDeadlineSeconds() {
      * 
* * string default_schedule = 10; - * * @return The defaultSchedule. */ public java.lang.String getDefaultSchedule() { java.lang.Object ref = defaultSchedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSchedule_ = s; return s; @@ -3057,8 +2689,6 @@ public java.lang.String getDefaultSchedule() { } } /** - * - * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -3068,14 +2698,15 @@ public java.lang.String getDefaultSchedule() {
      * 
* * string default_schedule = 10; - * * @return The bytes for defaultSchedule. */ - public com.google.protobuf.ByteString getDefaultScheduleBytes() { + public com.google.protobuf.ByteString + getDefaultScheduleBytes() { java.lang.Object ref = defaultSchedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultSchedule_ = b; return b; } else { @@ -3083,8 +2714,6 @@ public com.google.protobuf.ByteString getDefaultScheduleBytes() { } } /** - * - * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -3094,22 +2723,18 @@ public com.google.protobuf.ByteString getDefaultScheduleBytes() {
      * 
* * string default_schedule = 10; - * * @param value The defaultSchedule to set. * @return This builder for chaining. */ - public Builder setDefaultSchedule(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultSchedule( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } defaultSchedule_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -3119,7 +2744,6 @@ public Builder setDefaultSchedule(java.lang.String value) {
      * 
* * string default_schedule = 10; - * * @return This builder for chaining. */ public Builder clearDefaultSchedule() { @@ -3129,8 +2753,6 @@ public Builder clearDefaultSchedule() { return this; } /** - * - * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -3140,14 +2762,12 @@ public Builder clearDefaultSchedule() {
      * 
* * string default_schedule = 10; - * * @param value The bytes for defaultSchedule to set. * @return This builder for chaining. */ - public Builder setDefaultScheduleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultScheduleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultSchedule_ = value; bitField0_ |= 0x00000200; @@ -3155,10 +2775,8 @@ public Builder setDefaultScheduleBytes(com.google.protobuf.ByteString value) { return this; } - private boolean supportsCustomSchedule_; + private boolean supportsCustomSchedule_ ; /** - * - * *
      * Specifies whether the data source supports a user defined schedule, or
      * operates on the default schedule.
@@ -3166,7 +2784,6 @@ public Builder setDefaultScheduleBytes(com.google.protobuf.ByteString value) {
      * 
* * bool supports_custom_schedule = 11; - * * @return The supportsCustomSchedule. */ @java.lang.Override @@ -3174,8 +2791,6 @@ public boolean getSupportsCustomSchedule() { return supportsCustomSchedule_; } /** - * - * *
      * Specifies whether the data source supports a user defined schedule, or
      * operates on the default schedule.
@@ -3183,7 +2798,6 @@ public boolean getSupportsCustomSchedule() {
      * 
* * bool supports_custom_schedule = 11; - * * @param value The supportsCustomSchedule to set. * @return This builder for chaining. */ @@ -3195,8 +2809,6 @@ public Builder setSupportsCustomSchedule(boolean value) { return this; } /** - * - * *
      * Specifies whether the data source supports a user defined schedule, or
      * operates on the default schedule.
@@ -3204,7 +2816,6 @@ public Builder setSupportsCustomSchedule(boolean value) {
      * 
* * bool supports_custom_schedule = 11; - * * @return This builder for chaining. */ public Builder clearSupportsCustomSchedule() { @@ -3214,36 +2825,26 @@ public Builder clearSupportsCustomSchedule() { return this; } - private java.util.List - parameters_ = java.util.Collections.emptyList(); - + private java.util.List parameters_ = + java.util.Collections.emptyList(); private void ensureParametersIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { - parameters_ = - new java.util.ArrayList( - parameters_); + parameters_ = new java.util.ArrayList(parameters_); bitField0_ |= 0x00000800; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> - parametersBuilder_; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> parametersBuilder_; /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public java.util.List - getParametersList() { + public java.util.List getParametersList() { if (parametersBuilder_ == null) { return java.util.Collections.unmodifiableList(parameters_); } else { @@ -3251,14 +2852,11 @@ private void ensureParametersIsMutable() { } } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public int getParametersCount() { if (parametersBuilder_ == null) { @@ -3268,14 +2866,11 @@ public int getParametersCount() { } } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParameters(int index) { if (parametersBuilder_ == null) { @@ -3285,14 +2880,11 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParamete } } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder setParameters( int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { @@ -3309,18 +2901,14 @@ public Builder setParameters( return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder setParameters( - int index, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.set(index, builderForValue.build()); @@ -3331,17 +2919,13 @@ public Builder setParameters( return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public Builder addParameters( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { + public Builder addParameters(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { if (parametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3355,14 +2939,11 @@ public Builder addParameters( return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder addParameters( int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { @@ -3379,14 +2960,11 @@ public Builder addParameters( return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder addParameters( com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { @@ -3400,18 +2978,14 @@ public Builder addParameters( return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder addParameters( - int index, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.add(index, builderForValue.build()); @@ -3422,21 +2996,18 @@ public Builder addParameters( return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder addAllParameters( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, parameters_); onChanged(); } else { parametersBuilder_.addAllMessages(values); @@ -3444,14 +3015,11 @@ public Builder addAllParameters( return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder clearParameters() { if (parametersBuilder_ == null) { @@ -3464,14 +3032,11 @@ public Builder clearParameters() { return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ public Builder removeParameters(int index) { if (parametersBuilder_ == null) { @@ -3484,50 +3049,39 @@ public Builder removeParameters(int index) { return this; } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder - getParametersBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder getParametersBuilder( + int index) { return getParametersFieldBuilder().getBuilder(index); } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder - getParametersOrBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParametersOrBuilder( + int index) { if (parametersBuilder_ == null) { - return parameters_.get(index); - } else { + return parameters_.get(index); } else { return parametersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public java.util.List< - ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> - getParametersOrBuilderList() { + public java.util.List + getParametersOrBuilderList() { if (parametersBuilder_ != null) { return parametersBuilder_.getMessageOrBuilderList(); } else { @@ -3535,65 +3089,49 @@ public Builder removeParameters(int index) { } } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder - addParametersBuilder() { - return getParametersFieldBuilder() - .addBuilder( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addParametersBuilder() { + return getParametersFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder - addParametersBuilder(int index) { - return getParametersFieldBuilder() - .addBuilder( - index, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addParametersBuilder( + int index) { + return getParametersFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** - * - * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - public java.util.List - getParametersBuilderList() { + public java.util.List + getParametersBuilderList() { return getParametersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> getParametersFieldBuilder() { if (parametersBuilder_ == null) { - parametersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( - parameters_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); + parametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( + parameters_, + ((bitField0_ & 0x00000800) != 0), + getParentForChildren(), + isClean()); parameters_ = null; } return parametersBuilder_; @@ -3601,20 +3139,18 @@ public Builder removeParameters(int index) { private java.lang.Object helpUrl_ = ""; /** - * - * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; - * * @return The helpUrl. */ public java.lang.String getHelpUrl() { java.lang.Object ref = helpUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpUrl_ = s; return s; @@ -3623,21 +3159,20 @@ public java.lang.String getHelpUrl() { } } /** - * - * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; - * * @return The bytes for helpUrl. */ - public com.google.protobuf.ByteString getHelpUrlBytes() { + public com.google.protobuf.ByteString + getHelpUrlBytes() { java.lang.Object ref = helpUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); helpUrl_ = b; return b; } else { @@ -3645,35 +3180,28 @@ public com.google.protobuf.ByteString getHelpUrlBytes() { } } /** - * - * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; - * * @param value The helpUrl to set. * @return This builder for chaining. */ - public Builder setHelpUrl(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHelpUrl( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } helpUrl_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** - * - * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; - * * @return This builder for chaining. */ public Builder clearHelpUrl() { @@ -3683,21 +3211,17 @@ public Builder clearHelpUrl() { return this; } /** - * - * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; - * * @param value The bytes for helpUrl to set. * @return This builder for chaining. */ - public Builder setHelpUrlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHelpUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); helpUrl_ = value; bitField0_ |= 0x00001000; @@ -3707,33 +3231,22 @@ public Builder setHelpUrlBytes(com.google.protobuf.ByteString value) { private int authorizationType_ = 0; /** - * - * *
      * Indicates the type of authorization.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @return The enum numeric value on the wire for authorizationType. */ - @java.lang.Override - public int getAuthorizationTypeValue() { + @java.lang.Override public int getAuthorizationTypeValue() { return authorizationType_; } /** - * - * *
      * Indicates the type of authorization.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @param value The enum numeric value on the wire for authorizationType to set. * @return This builder for chaining. */ @@ -3744,44 +3257,28 @@ public Builder setAuthorizationTypeValue(int value) { return this; } /** - * - * *
      * Indicates the type of authorization.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @return The authorizationType. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType - getAuthorizationType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = - com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber( - authorizationType_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED - : result; + public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType getAuthorizationType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber(authorizationType_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED : result; } /** - * - * *
      * Indicates the type of authorization.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @param value The authorizationType to set. * @return This builder for chaining. */ - public Builder setAuthorizationType( - com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType value) { + public Builder setAuthorizationType(com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType value) { if (value == null) { throw new NullPointerException(); } @@ -3791,16 +3288,11 @@ public Builder setAuthorizationType( return this; } /** - * - * *
      * Indicates the type of authorization.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @return This builder for chaining. */ public Builder clearAuthorizationType() { @@ -3812,8 +3304,6 @@ public Builder clearAuthorizationType() { private int dataRefreshType_ = 0; /** - * - * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3821,19 +3311,13 @@ public Builder clearAuthorizationType() {
      * so it's useful to refresh data automatically.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @return The enum numeric value on the wire for dataRefreshType. */ - @java.lang.Override - public int getDataRefreshTypeValue() { + @java.lang.Override public int getDataRefreshTypeValue() { return dataRefreshType_; } /** - * - * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3841,10 +3325,7 @@ public int getDataRefreshTypeValue() {
      * so it's useful to refresh data automatically.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @param value The enum numeric value on the wire for dataRefreshType to set. * @return This builder for chaining. */ @@ -3855,8 +3336,6 @@ public Builder setDataRefreshTypeValue(int value) { return this; } /** - * - * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3864,25 +3343,15 @@ public Builder setDataRefreshTypeValue(int value) {
      * so it's useful to refresh data automatically.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @return The dataRefreshType. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType - getDataRefreshType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = - com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber( - dataRefreshType_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED - : result; + public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber(dataRefreshType_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED : result; } /** - * - * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3890,15 +3359,11 @@ public Builder setDataRefreshTypeValue(int value) {
      * so it's useful to refresh data automatically.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @param value The dataRefreshType to set. * @return This builder for chaining. */ - public Builder setDataRefreshType( - com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType value) { + public Builder setDataRefreshType(com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType value) { if (value == null) { throw new NullPointerException(); } @@ -3908,8 +3373,6 @@ public Builder setDataRefreshType( return this; } /** - * - * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3917,10 +3380,7 @@ public Builder setDataRefreshType(
      * so it's useful to refresh data automatically.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @return This builder for chaining. */ public Builder clearDataRefreshType() { @@ -3930,17 +3390,14 @@ public Builder clearDataRefreshType() { return this; } - private int defaultDataRefreshWindowDays_; + private int defaultDataRefreshWindowDays_ ; /** - * - * *
      * Default data refresh window on days.
      * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
      * 
* * int32 default_data_refresh_window_days = 16; - * * @return The defaultDataRefreshWindowDays. */ @java.lang.Override @@ -3948,15 +3405,12 @@ public int getDefaultDataRefreshWindowDays() { return defaultDataRefreshWindowDays_; } /** - * - * *
      * Default data refresh window on days.
      * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
      * 
* * int32 default_data_refresh_window_days = 16; - * * @param value The defaultDataRefreshWindowDays to set. * @return This builder for chaining. */ @@ -3968,15 +3422,12 @@ public Builder setDefaultDataRefreshWindowDays(int value) { return this; } /** - * - * *
      * Default data refresh window on days.
      * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
      * 
* * int32 default_data_refresh_window_days = 16; - * * @return This builder for chaining. */ public Builder clearDefaultDataRefreshWindowDays() { @@ -3986,17 +3437,14 @@ public Builder clearDefaultDataRefreshWindowDays() { return this; } - private boolean manualRunsDisabled_; + private boolean manualRunsDisabled_ ; /** - * - * *
      * Disables backfilling and manual run scheduling
      * for the data source.
      * 
* * bool manual_runs_disabled = 17; - * * @return The manualRunsDisabled. */ @java.lang.Override @@ -4004,15 +3452,12 @@ public boolean getManualRunsDisabled() { return manualRunsDisabled_; } /** - * - * *
      * Disables backfilling and manual run scheduling
      * for the data source.
      * 
* * bool manual_runs_disabled = 17; - * * @param value The manualRunsDisabled to set. * @return This builder for chaining. */ @@ -4024,15 +3469,12 @@ public Builder setManualRunsDisabled(boolean value) { return this; } /** - * - * *
      * Disables backfilling and manual run scheduling
      * for the data source.
      * 
* * bool manual_runs_disabled = 17; - * * @return This builder for chaining. */ public Builder clearManualRunsDisabled() { @@ -4044,47 +3486,34 @@ public Builder clearManualRunsDisabled() { private com.google.protobuf.Duration minimumScheduleInterval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - minimumScheduleIntervalBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minimumScheduleIntervalBuilder_; /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; - * * @return Whether the minimumScheduleInterval field is set. */ public boolean hasMinimumScheduleInterval() { return ((bitField0_ & 0x00020000) != 0); } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; - * * @return The minimumScheduleInterval. */ public com.google.protobuf.Duration getMinimumScheduleInterval() { if (minimumScheduleIntervalBuilder_ == null) { - return minimumScheduleInterval_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minimumScheduleInterval_; + return minimumScheduleInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; } else { return minimumScheduleIntervalBuilder_.getMessage(); } } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -4105,8 +3534,6 @@ public Builder setMinimumScheduleInterval(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -4125,8 +3552,6 @@ public Builder setMinimumScheduleInterval( return this; } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -4135,9 +3560,9 @@ public Builder setMinimumScheduleInterval( */ public Builder mergeMinimumScheduleInterval(com.google.protobuf.Duration value) { if (minimumScheduleIntervalBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) - && minimumScheduleInterval_ != null - && minimumScheduleInterval_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) && + minimumScheduleInterval_ != null && + minimumScheduleInterval_ != com.google.protobuf.Duration.getDefaultInstance()) { getMinimumScheduleIntervalBuilder().mergeFrom(value); } else { minimumScheduleInterval_ = value; @@ -4152,8 +3577,6 @@ public Builder mergeMinimumScheduleInterval(com.google.protobuf.Duration value) return this; } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -4171,8 +3594,6 @@ public Builder clearMinimumScheduleInterval() { return this; } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -4185,8 +3606,6 @@ public com.google.protobuf.Duration.Builder getMinimumScheduleIntervalBuilder() return getMinimumScheduleIntervalFieldBuilder().getBuilder(); } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -4197,14 +3616,11 @@ public com.google.protobuf.DurationOrBuilder getMinimumScheduleIntervalOrBuilder if (minimumScheduleIntervalBuilder_ != null) { return minimumScheduleIntervalBuilder_.getMessageOrBuilder(); } else { - return minimumScheduleInterval_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minimumScheduleInterval_; + return minimumScheduleInterval_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; } } /** - * - * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -4212,24 +3628,21 @@ public com.google.protobuf.DurationOrBuilder getMinimumScheduleIntervalOrBuilder * .google.protobuf.Duration minimum_schedule_interval = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getMinimumScheduleIntervalFieldBuilder() { if (minimumScheduleIntervalBuilder_ == null) { - minimumScheduleIntervalBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getMinimumScheduleInterval(), getParentForChildren(), isClean()); + minimumScheduleIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getMinimumScheduleInterval(), + getParentForChildren(), + isClean()); minimumScheduleInterval_ = null; } return minimumScheduleIntervalBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4239,12 +3652,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DataSource) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DataSource) private static final com.google.cloud.bigquery.datatransfer.v1.DataSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DataSource(); } @@ -4253,27 +3666,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.DataSource getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4288,4 +3701,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.DataSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java new file mode 100644 index 000000000000..4856fa896cdf --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java @@ -0,0 +1,313 @@ +/* + * 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; + +import com.google.api.core.BetaApi; +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.pathtemplate.ValidationException; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class DataSourceName implements ResourceName { + private static final PathTemplate PROJECT_DATA_SOURCE = + PathTemplate.createWithoutUrlEncoding("projects/{project}/dataSources/{data_source}"); + private static final PathTemplate PROJECT_LOCATION_DATA_SOURCE = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/dataSources/{data_source}"); + private volatile Map fieldValuesMap; + private PathTemplate pathTemplate; + private String fixedValue; + private final String project; + private final String dataSource; + private final String location; + + @Deprecated + protected DataSourceName() { + project = null; + dataSource = null; + location = null; + } + + private DataSourceName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + dataSource = Preconditions.checkNotNull(builder.getDataSource()); + location = null; + pathTemplate = PROJECT_DATA_SOURCE; + } + + private DataSourceName(ProjectLocationDataSourceBuilder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + dataSource = Preconditions.checkNotNull(builder.getDataSource()); + pathTemplate = PROJECT_LOCATION_DATA_SOURCE; + } + + public String getProject() { + return project; + } + + public String getDataSource() { + return dataSource; + } + + public String getLocation() { + return location; + } + + public static Builder newBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static Builder newProjectDataSourceBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static ProjectLocationDataSourceBuilder newProjectLocationDataSourceBuilder() { + return new ProjectLocationDataSourceBuilder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static DataSourceName of(String project, String dataSource) { + return newBuilder().setProject(project).setDataSource(dataSource).build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static DataSourceName ofProjectDataSourceName(String project, String dataSource) { + return newBuilder().setProject(project).setDataSource(dataSource).build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static DataSourceName ofProjectLocationDataSourceName( + String project, String location, String dataSource) { + return newProjectLocationDataSourceBuilder() + .setProject(project) + .setLocation(location) + .setDataSource(dataSource) + .build(); + } + + public static String format(String project, String dataSource) { + return newBuilder().setProject(project).setDataSource(dataSource).build().toString(); + } + + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectDataSourceName(String project, String dataSource) { + return newBuilder().setProject(project).setDataSource(dataSource).build().toString(); + } + + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectLocationDataSourceName( + String project, String location, String dataSource) { + return newProjectLocationDataSourceBuilder() + .setProject(project) + .setLocation(location) + .setDataSource(dataSource) + .build() + .toString(); + } + + public static DataSourceName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + if (PROJECT_DATA_SOURCE.matches(formattedString)) { + Map matchMap = PROJECT_DATA_SOURCE.match(formattedString); + return ofProjectDataSourceName(matchMap.get("project"), matchMap.get("data_source")); + } else if (PROJECT_LOCATION_DATA_SOURCE.matches(formattedString)) { + Map matchMap = PROJECT_LOCATION_DATA_SOURCE.match(formattedString); + return ofProjectLocationDataSourceName( + matchMap.get("project"), matchMap.get("location"), matchMap.get("data_source")); + } + throw new ValidationException("DataSourceName.parse: formattedString not in valid format"); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (DataSourceName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_DATA_SOURCE.matches(formattedString) + || PROJECT_LOCATION_DATA_SOURCE.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (dataSource != null) { + fieldMapBuilder.put("data_source", dataSource); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return fixedValue != null ? fixedValue : pathTemplate.instantiate(getFieldValuesMap()); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + DataSourceName that = ((DataSourceName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.dataSource, that.dataSource) + && Objects.equals(this.location, that.location); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(fixedValue); + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(dataSource); + h *= 1000003; + h ^= Objects.hashCode(location); + return h; + } + + /** Builder for projects/{project}/dataSources/{data_source}. */ + public static class Builder { + private String project; + private String dataSource; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getDataSource() { + return dataSource; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setDataSource(String dataSource) { + this.dataSource = dataSource; + return this; + } + + private Builder(DataSourceName dataSourceName) { + Preconditions.checkArgument( + Objects.equals(dataSourceName.pathTemplate, PROJECT_DATA_SOURCE), + "toBuilder is only supported when DataSourceName has the pattern of projects/{project}/dataSources/{data_source}"); + this.project = dataSourceName.project; + this.dataSource = dataSourceName.dataSource; + } + + public DataSourceName build() { + return new DataSourceName(this); + } + } + + /** Builder for projects/{project}/locations/{location}/dataSources/{data_source}. */ + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static class ProjectLocationDataSourceBuilder { + private String project; + private String location; + private String dataSource; + + protected ProjectLocationDataSourceBuilder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getDataSource() { + return dataSource; + } + + public ProjectLocationDataSourceBuilder setProject(String project) { + this.project = project; + return this; + } + + public ProjectLocationDataSourceBuilder setLocation(String location) { + this.location = location; + return this; + } + + public ProjectLocationDataSourceBuilder setDataSource(String dataSource) { + this.dataSource = dataSource; + return this; + } + + public DataSourceName build() { + return new DataSourceName(this); + } + } +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java similarity index 76% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java index 88a54468e75e..9f30d204202a 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java @@ -1,157 +1,114 @@ -/* - * 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; -public interface DataSourceOrBuilder - extends +public interface DataSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DataSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Data source id.
    * 
* * string data_source_id = 2; - * * @return The dataSourceId. */ java.lang.String getDataSourceId(); /** - * - * *
    * Data source id.
    * 
* * string data_source_id = 2; - * * @return The bytes for dataSourceId. */ - com.google.protobuf.ByteString getDataSourceIdBytes(); + com.google.protobuf.ByteString + getDataSourceIdBytes(); /** - * - * *
    * User friendly data source name.
    * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * User friendly data source name.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * User friendly data source description string.
    * 
* * string description = 4; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * User friendly data source description string.
    * 
* * string description = 4; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; - * * @return The clientId. */ java.lang.String getClientId(); /** - * - * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; - * * @return The bytes for clientId. */ - com.google.protobuf.ByteString getClientIdBytes(); + com.google.protobuf.ByteString + getClientIdBytes(); /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -159,13 +116,11 @@ public interface DataSourceOrBuilder
    * 
* * repeated string scopes = 6; - * * @return A list containing the scopes. */ - java.util.List getScopesList(); + java.util.List + getScopesList(); /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -173,13 +128,10 @@ public interface DataSourceOrBuilder
    * 
* * repeated string scopes = 6; - * * @return The count of scopes. */ int getScopesCount(); /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -187,14 +139,11 @@ public interface DataSourceOrBuilder
    * 
* * repeated string scopes = 6; - * * @param index The index of the element to return. * @return The scopes at the given index. */ java.lang.String getScopes(int index); /** - * - * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -202,80 +151,59 @@ public interface DataSourceOrBuilder
    * 
* * repeated string scopes = 6; - * * @param index The index of the value to return. * @return The bytes of the scopes at the given index. */ - com.google.protobuf.ByteString getScopesBytes(int index); + com.google.protobuf.ByteString + getScopesBytes(int index); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See - * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The enum numeric value on the wire for transferType. */ - @java.lang.Deprecated - int getTransferTypeValue(); + @java.lang.Deprecated int getTransferTypeValue(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * - * - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See - * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The transferType. */ - @java.lang.Deprecated - com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType(); + @java.lang.Deprecated com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * 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=398 + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is deprecated. + * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return The supportsMultipleTransfers. */ - @java.lang.Deprecated - boolean getSupportsMultipleTransfers(); + @java.lang.Deprecated boolean getSupportsMultipleTransfers(); /** - * - * *
    * The number of seconds to wait for an update from the data source
    * before the Data Transfer Service marks the transfer as FAILED.
    * 
* * int32 update_deadline_seconds = 9; - * * @return The updateDeadlineSeconds. */ int getUpdateDeadlineSeconds(); /** - * - * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -285,13 +213,10 @@ public interface DataSourceOrBuilder
    * 
* * string default_schedule = 10; - * * @return The defaultSchedule. */ java.lang.String getDefaultSchedule(); /** - * - * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -301,14 +226,12 @@ public interface DataSourceOrBuilder
    * 
* * string default_schedule = 10; - * * @return The bytes for defaultSchedule. */ - com.google.protobuf.ByteString getDefaultScheduleBytes(); + com.google.protobuf.ByteString + getDefaultScheduleBytes(); /** - * - * *
    * Specifies whether the data source supports a user defined schedule, or
    * operates on the default schedule.
@@ -316,126 +239,94 @@ public interface DataSourceOrBuilder
    * 
* * bool supports_custom_schedule = 11; - * * @return The supportsCustomSchedule. */ boolean getSupportsCustomSchedule(); /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - java.util.List getParametersList(); + java.util.List + getParametersList(); /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParameters(int index); /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ int getParametersCount(); /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ - java.util.List + java.util.List getParametersOrBuilderList(); /** - * - * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; - * + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParametersOrBuilder( int index); /** - * - * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; - * * @return The helpUrl. */ java.lang.String getHelpUrl(); /** - * - * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; - * * @return The bytes for helpUrl. */ - com.google.protobuf.ByteString getHelpUrlBytes(); + com.google.protobuf.ByteString + getHelpUrlBytes(); /** - * - * *
    * Indicates the type of authorization.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @return The enum numeric value on the wire for authorizationType. */ int getAuthorizationTypeValue(); /** - * - * *
    * Indicates the type of authorization.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; * @return The authorizationType. */ com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType getAuthorizationType(); /** - * - * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -443,15 +334,11 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @return The enum numeric value on the wire for dataRefreshType. */ int getDataRefreshTypeValue(); /** - * - * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -459,68 +346,52 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; - * - * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; * @return The dataRefreshType. */ com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType(); /** - * - * *
    * Default data refresh window on days.
    * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
    * 
* * int32 default_data_refresh_window_days = 16; - * * @return The defaultDataRefreshWindowDays. */ int getDefaultDataRefreshWindowDays(); /** - * - * *
    * Disables backfilling and manual run scheduling
    * for the data source.
    * 
* * bool manual_runs_disabled = 17; - * * @return The manualRunsDisabled. */ boolean getManualRunsDisabled(); /** - * - * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; - * * @return Whether the minimumScheduleInterval field is set. */ boolean hasMinimumScheduleInterval(); /** - * - * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; - * * @return The minimumScheduleInterval. */ com.google.protobuf.Duration getMinimumScheduleInterval(); /** - * - * *
    * The minimum interval for scheduler to schedule runs.
    * 
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java similarity index 74% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java index d839d6167d5f..5fd2880bc313 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,31 +5,29 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A parameter used to define custom fields in a data source definition.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSourceParameter} */ -public final class DataSourceParameter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataSourceParameter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) DataSourceParameterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataSourceParameter.newBuilder() to construct. private DataSourceParameter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataSourceParameter() { paramId_ = ""; displayName_ = ""; description_ = ""; type_ = 0; validationRegex_ = ""; - allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = + com.google.protobuf.LazyStringArrayList.emptyList(); fields_ = java.util.Collections.emptyList(); validationDescription_ = ""; validationHelpUrl_ = ""; @@ -52,38 +35,34 @@ private DataSourceParameter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataSourceParameter(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_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_DataSourceParameter_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); } /** - * - * *
    * Parameter type.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Type unspecified.
      * 
@@ -92,8 +71,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * String parameter.
      * 
@@ -102,8 +79,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ STRING(1), /** - * - * *
      * Integer parameter (64-bits).
      * Will be serialized to json as string.
@@ -113,8 +88,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     INTEGER(2),
     /**
-     *
-     *
      * 
      * Double precision floating point parameter.
      * 
@@ -123,8 +96,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DOUBLE(3), /** - * - * *
      * Boolean parameter.
      * 
@@ -133,8 +104,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ BOOLEAN(4), /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -143,8 +112,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ RECORD(5), /** - * - * *
      * Page ID for a Google+ Page.
      * 
@@ -153,8 +120,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PLUS_PAGE(6), /** - * - * *
      * List of strings parameter.
      * 
@@ -166,8 +131,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Type unspecified.
      * 
@@ -176,8 +139,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * String parameter.
      * 
@@ -186,8 +147,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 1; /** - * - * *
      * Integer parameter (64-bits).
      * Will be serialized to json as string.
@@ -197,8 +156,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int INTEGER_VALUE = 2;
     /**
-     *
-     *
      * 
      * Double precision floating point parameter.
      * 
@@ -207,8 +164,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOUBLE_VALUE = 3; /** - * - * *
      * Boolean parameter.
      * 
@@ -217,8 +172,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BOOLEAN_VALUE = 4; /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -227,8 +180,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RECORD_VALUE = 5; /** - * - * *
      * Page ID for a Google+ Page.
      * 
@@ -237,8 +188,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PLUS_PAGE_VALUE = 6; /** - * - * *
      * List of strings parameter.
      * 
@@ -247,6 +196,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LIST_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -271,61 +221,54 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return STRING; - case 2: - return INTEGER; - case 3: - return DOUBLE; - case 4: - return BOOLEAN; - case 5: - return RECORD; - case 6: - return PLUS_PAGE; - case 7: - return LIST; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return TYPE_UNSPECIFIED; + case 1: return STRING; + case 2: return INTEGER; + case 3: return DOUBLE; + case 4: return BOOLEAN; + case 5: return RECORD; + case 6: return PLUS_PAGE; + case 7: return LIST; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -344,18 +287,14 @@ private Type(int value) { private int bitField0_; public static final int PARAM_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object paramId_ = ""; /** - * - * *
    * Parameter identifier.
    * 
* * string param_id = 1; - * * @return The paramId. */ @java.lang.Override @@ -364,29 +303,29 @@ public java.lang.String getParamId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); paramId_ = s; return s; } } /** - * - * *
    * Parameter identifier.
    * 
* * string param_id = 1; - * * @return The bytes for paramId. */ @java.lang.Override - public com.google.protobuf.ByteString getParamIdBytes() { + public com.google.protobuf.ByteString + getParamIdBytes() { java.lang.Object ref = paramId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); paramId_ = b; return b; } else { @@ -395,18 +334,14 @@ public com.google.protobuf.ByteString getParamIdBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -415,29 +350,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -446,18 +381,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Parameter description.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -466,29 +397,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Parameter description.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -499,51 +430,37 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int TYPE_FIELD_NUMBER = 4; private int type_ = 0; /** - * - * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType() { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType() { + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED : result; } public static final int REQUIRED_FIELD_NUMBER = 5; private boolean required_ = false; /** - * - * *
    * Is parameter required.
    * 
* * bool required = 5; - * * @return The required. */ @java.lang.Override @@ -554,14 +471,11 @@ public boolean getRequired() { public static final int REPEATED_FIELD_NUMBER = 6; private boolean repeated_ = false; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * bool repeated = 6; - * * @return The repeated. */ @java.lang.Override @@ -570,18 +484,14 @@ public boolean getRepeated() { } public static final int VALIDATION_REGEX_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object validationRegex_ = ""; /** - * - * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; - * * @return The validationRegex. */ @java.lang.Override @@ -590,29 +500,29 @@ public java.lang.String getValidationRegex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationRegex_ = s; return s; } } /** - * - * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; - * * @return The bytes for validationRegex. */ @java.lang.Override - public com.google.protobuf.ByteString getValidationRegexBytes() { + public com.google.protobuf.ByteString + getValidationRegexBytes() { java.lang.Object ref = validationRegex_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); validationRegex_ = b; return b; } else { @@ -621,47 +531,38 @@ public com.google.protobuf.ByteString getValidationRegexBytes() { } public static final int ALLOWED_VALUES_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList + getAllowedValuesList() { return allowedValues_; } /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -669,32 +570,27 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString + getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } public static final int MIN_VALUE_FIELD_NUMBER = 9; private com.google.protobuf.DoubleValue minValue_; /** - * - * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; - * * @return Whether the minValue field is set. */ @java.lang.Override @@ -702,14 +598,11 @@ public boolean hasMinValue() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; - * * @return The minValue. */ @java.lang.Override @@ -717,8 +610,6 @@ public com.google.protobuf.DoubleValue getMinValue() { return minValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : minValue_; } /** - * - * *
    * For integer and double values specifies minimum allowed value.
    * 
@@ -733,14 +624,11 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { public static final int MAX_VALUE_FIELD_NUMBER = 10; private com.google.protobuf.DoubleValue maxValue_; /** - * - * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; - * * @return Whether the maxValue field is set. */ @java.lang.Override @@ -748,14 +636,11 @@ public boolean hasMaxValue() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; - * * @return The maxValue. */ @java.lang.Override @@ -763,8 +648,6 @@ public com.google.protobuf.DoubleValue getMaxValue() { return maxValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxValue_; } /** - * - * *
    * For integer and double values specifies maximum allowed value.
    * 
@@ -777,12 +660,9 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { } public static final int FIELDS_FIELD_NUMBER = 11; - @SuppressWarnings("serial") private java.util.List fields_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -790,13 +670,10 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ @java.lang.Override - public java.util.List - getFieldsList() { + public java.util.List getFieldsList() { return fields_; } /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -804,14 +681,11 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + public java.util.List getFieldsOrBuilderList() { return fields_; } /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -823,8 +697,6 @@ public int getFieldsCount() { return fields_.size(); } /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -836,8 +708,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getFields(i return fields_.get(index); } /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -851,19 +721,15 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder ge } public static final int VALIDATION_DESCRIPTION_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private volatile java.lang.Object validationDescription_ = ""; /** - * - * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; - * * @return The validationDescription. */ @java.lang.Override @@ -872,30 +738,30 @@ public java.lang.String getValidationDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationDescription_ = s; return s; } } /** - * - * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; - * * @return The bytes for validationDescription. */ @java.lang.Override - public com.google.protobuf.ByteString getValidationDescriptionBytes() { + public com.google.protobuf.ByteString + getValidationDescriptionBytes() { java.lang.Object ref = validationDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); validationDescription_ = b; return b; } else { @@ -904,18 +770,14 @@ public com.google.protobuf.ByteString getValidationDescriptionBytes() { } public static final int VALIDATION_HELP_URL_FIELD_NUMBER = 13; - @SuppressWarnings("serial") private volatile java.lang.Object validationHelpUrl_ = ""; /** - * - * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; - * * @return The validationHelpUrl. */ @java.lang.Override @@ -924,29 +786,29 @@ public java.lang.String getValidationHelpUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationHelpUrl_ = s; return s; } } /** - * - * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; - * * @return The bytes for validationHelpUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getValidationHelpUrlBytes() { + public com.google.protobuf.ByteString + getValidationHelpUrlBytes() { java.lang.Object ref = validationHelpUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); validationHelpUrl_ = b; return b; } else { @@ -957,14 +819,11 @@ public com.google.protobuf.ByteString getValidationHelpUrlBytes() { public static final int IMMUTABLE_FIELD_NUMBER = 14; private boolean immutable_ = false; /** - * - * *
    * Cannot be changed after initial creation.
    * 
* * bool immutable = 14; - * * @return The immutable. */ @java.lang.Override @@ -975,14 +834,11 @@ public boolean getImmutable() { public static final int RECURSE_FIELD_NUMBER = 15; private boolean recurse_ = false; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * bool recurse = 15; - * * @return The recurse. */ @java.lang.Override @@ -993,15 +849,12 @@ public boolean getRecurse() { public static final int DEPRECATED_FIELD_NUMBER = 20; private boolean deprecated_ = false; /** - * - * *
    * If true, it should not be used in new transfers, and it should not be
    * visible to users.
    * 
* * bool deprecated = 20; - * * @return The deprecated. */ @java.lang.Override @@ -1010,7 +863,6 @@ public boolean getDeprecated() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1022,7 +874,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(paramId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, paramId_); } @@ -1032,9 +885,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - if (type_ - != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, type_); } if (required_ != false) { @@ -1091,16 +942,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - if (type_ - != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); + if (type_ != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, type_); } if (required_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, required_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, required_); } if (repeated_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, repeated_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, repeated_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validationRegex_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, validationRegex_); @@ -1114,13 +966,16 @@ public int getSerializedSize() { size += 1 * getAllowedValuesList().size(); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getMinValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getMinValue()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getMaxValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getMaxValue()); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, fields_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validationDescription_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, validationDescription_); @@ -1129,13 +984,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, validationHelpUrl_); } if (immutable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, immutable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(14, immutable_); } if (recurse_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, recurse_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(15, recurse_); } if (deprecated_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(20, deprecated_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(20, deprecated_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1145,36 +1003,50 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter other = - (com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) obj; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter other = (com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) obj; - if (!getParamId().equals(other.getParamId())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getParamId() + .equals(other.getParamId())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (type_ != other.type_) return false; - if (getRequired() != other.getRequired()) return false; - if (getRepeated() != other.getRepeated()) return false; - if (!getValidationRegex().equals(other.getValidationRegex())) return false; - if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; + if (getRequired() + != other.getRequired()) return false; + if (getRepeated() + != other.getRepeated()) return false; + if (!getValidationRegex() + .equals(other.getValidationRegex())) return false; + if (!getAllowedValuesList() + .equals(other.getAllowedValuesList())) return false; if (hasMinValue() != other.hasMinValue()) return false; if (hasMinValue()) { - if (!getMinValue().equals(other.getMinValue())) return false; + if (!getMinValue() + .equals(other.getMinValue())) return false; } if (hasMaxValue() != other.hasMaxValue()) return false; if (hasMaxValue()) { - if (!getMaxValue().equals(other.getMaxValue())) return false; - } - if (!getFieldsList().equals(other.getFieldsList())) return false; - if (!getValidationDescription().equals(other.getValidationDescription())) return false; - if (!getValidationHelpUrl().equals(other.getValidationHelpUrl())) return false; - if (getImmutable() != other.getImmutable()) return false; - if (getRecurse() != other.getRecurse()) return false; - if (getDeprecated() != other.getDeprecated()) return false; + if (!getMaxValue() + .equals(other.getMaxValue())) return false; + } + if (!getFieldsList() + .equals(other.getFieldsList())) return false; + if (!getValidationDescription() + .equals(other.getValidationDescription())) return false; + if (!getValidationHelpUrl() + .equals(other.getValidationHelpUrl())) return false; + if (getImmutable() + != other.getImmutable()) return false; + if (getRecurse() + != other.getRecurse()) return false; + if (getDeprecated() + != other.getDeprecated()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1195,9 +1067,11 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequired()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequired()); hash = (37 * hash) + REPEATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRepeated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRepeated()); hash = (37 * hash) + VALIDATION_REGEX_FIELD_NUMBER; hash = (53 * hash) + getValidationRegex().hashCode(); if (getAllowedValuesCount() > 0) { @@ -1221,138 +1095,133 @@ public int hashCode() { hash = (37 * hash) + VALIDATION_HELP_URL_FIELD_NUMBER; hash = (53 * hash) + getValidationHelpUrl().hashCode(); hash = (37 * hash) + IMMUTABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getImmutable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getImmutable()); hash = (37 * hash) + RECURSE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecurse()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRecurse()); hash = (37 * hash) + DEPRECATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeprecated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeprecated()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSourceParameter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter 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.DataSourceParameter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSourceParameter 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.DataSourceParameter 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.DataSourceParameter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter 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.DataSourceParameter 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.DataSourceParameter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.DataSourceParameter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A parameter used to define custom fields in a data source definition.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSourceParameter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_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_DataSourceParameter_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.newBuilder() @@ -1360,19 +1229,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMinValueFieldBuilder(); getMaxValueFieldBuilder(); getFieldsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1384,7 +1253,8 @@ public Builder clear() { required_ = false; repeated_ = false; validationRegex_ = ""; - allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = + com.google.protobuf.LazyStringArrayList.emptyList(); minValue_ = null; if (minValueBuilder_ != null) { minValueBuilder_.dispose(); @@ -1411,14 +1281,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance(); } @@ -1433,18 +1302,14 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result = - new com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter(this); + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result = new com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -1456,8 +1321,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.paramId_ = paramId_; @@ -1486,11 +1350,15 @@ private void buildPartial0( } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000100) != 0)) { - result.minValue_ = minValueBuilder_ == null ? minValue_ : minValueBuilder_.build(); + result.minValue_ = minValueBuilder_ == null + ? minValue_ + : minValueBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.maxValue_ = maxValueBuilder_ == null ? maxValue_ : maxValueBuilder_.build(); + result.maxValue_ = maxValueBuilder_ == null + ? maxValue_ + : maxValueBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000800) != 0)) { @@ -1515,39 +1383,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter)other); } else { super.mergeFrom(other); return this; @@ -1555,9 +1422,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()) return this; if (!other.getParamId().isEmpty()) { paramId_ = other.paramId_; bitField0_ |= 0x00000001; @@ -1621,10 +1486,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSourcePar fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000400); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldsFieldBuilder() - : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -1675,118 +1539,105 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - paramId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - required_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: - { - repeated_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: - { - validationRegex_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAllowedValuesIsMutable(); - allowedValues_.add(s); - break; - } // case 66 - case 74: - { - input.readMessage(getMinValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: - { - input.readMessage(getMaxValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 90: - { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 90 - case 98: - { - validationDescription_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: - { - validationHelpUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 112: - { - immutable_ = input.readBool(); - bitField0_ |= 0x00002000; - break; - } // case 112 - case 120: - { - recurse_ = input.readBool(); - bitField0_ |= 0x00004000; - break; - } // case 120 - case 160: - { - deprecated_ = input.readBool(); - bitField0_ |= 0x00008000; - break; - } // case 160 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + paramId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + type_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + required_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + repeated_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: { + validationRegex_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + ensureAllowedValuesIsMutable(); + allowedValues_.add(s); + break; + } // case 66 + case 74: { + input.readMessage( + getMinValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: { + input.readMessage( + getMaxValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 90: { + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 90 + case 98: { + validationDescription_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: { + validationHelpUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 112: { + immutable_ = input.readBool(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 120: { + recurse_ = input.readBool(); + bitField0_ |= 0x00004000; + break; + } // case 120 + case 160: { + deprecated_ = input.readBool(); + bitField0_ |= 0x00008000; + break; + } // case 160 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1796,25 +1647,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object paramId_ = ""; /** - * - * *
      * Parameter identifier.
      * 
* * string param_id = 1; - * * @return The paramId. */ public java.lang.String getParamId() { java.lang.Object ref = paramId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); paramId_ = s; return s; @@ -1823,21 +1671,20 @@ public java.lang.String getParamId() { } } /** - * - * *
      * Parameter identifier.
      * 
* * string param_id = 1; - * * @return The bytes for paramId. */ - public com.google.protobuf.ByteString getParamIdBytes() { + public com.google.protobuf.ByteString + getParamIdBytes() { java.lang.Object ref = paramId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); paramId_ = b; return b; } else { @@ -1845,35 +1692,28 @@ public com.google.protobuf.ByteString getParamIdBytes() { } } /** - * - * *
      * Parameter identifier.
      * 
* * string param_id = 1; - * * @param value The paramId to set. * @return This builder for chaining. */ - public Builder setParamId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParamId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } paramId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Parameter identifier.
      * 
* * string param_id = 1; - * * @return This builder for chaining. */ public Builder clearParamId() { @@ -1883,21 +1723,17 @@ public Builder clearParamId() { return this; } /** - * - * *
      * Parameter identifier.
      * 
* * string param_id = 1; - * * @param value The bytes for paramId to set. * @return This builder for chaining. */ - public Builder setParamIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParamIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); paramId_ = value; bitField0_ |= 0x00000001; @@ -1907,20 +1743,18 @@ public Builder setParamIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1929,21 +1763,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1951,35 +1784,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1989,21 +1815,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -2013,20 +1835,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Parameter description.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2035,21 +1855,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Parameter description.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2057,35 +1876,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Parameter description.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Parameter description.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2095,21 +1907,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Parameter description.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -2119,29 +1927,22 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -2152,38 +1953,28 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @return The type. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType() { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED - : result; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED : result; } /** - * - * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type value) { + public Builder setType(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type value) { if (value == null) { throw new NullPointerException(); } @@ -2193,14 +1984,11 @@ public Builder setType( return this; } /** - * - * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @return This builder for chaining. */ public Builder clearType() { @@ -2210,16 +1998,13 @@ public Builder clearType() { return this; } - private boolean required_; + private boolean required_ ; /** - * - * *
      * Is parameter required.
      * 
* * bool required = 5; - * * @return The required. */ @java.lang.Override @@ -2227,14 +2012,11 @@ public boolean getRequired() { return required_; } /** - * - * *
      * Is parameter required.
      * 
* * bool required = 5; - * * @param value The required to set. * @return This builder for chaining. */ @@ -2246,14 +2028,11 @@ public Builder setRequired(boolean value) { return this; } /** - * - * *
      * Is parameter required.
      * 
* * bool required = 5; - * * @return This builder for chaining. */ public Builder clearRequired() { @@ -2263,16 +2042,13 @@ public Builder clearRequired() { return this; } - private boolean repeated_; + private boolean repeated_ ; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * bool repeated = 6; - * * @return The repeated. */ @java.lang.Override @@ -2280,14 +2056,11 @@ public boolean getRepeated() { return repeated_; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * bool repeated = 6; - * * @param value The repeated to set. * @return This builder for chaining. */ @@ -2299,14 +2072,11 @@ public Builder setRepeated(boolean value) { return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * bool repeated = 6; - * * @return This builder for chaining. */ public Builder clearRepeated() { @@ -2318,20 +2088,18 @@ public Builder clearRepeated() { private java.lang.Object validationRegex_ = ""; /** - * - * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; - * * @return The validationRegex. */ public java.lang.String getValidationRegex() { java.lang.Object ref = validationRegex_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationRegex_ = s; return s; @@ -2340,21 +2108,20 @@ public java.lang.String getValidationRegex() { } } /** - * - * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; - * * @return The bytes for validationRegex. */ - public com.google.protobuf.ByteString getValidationRegexBytes() { + public com.google.protobuf.ByteString + getValidationRegexBytes() { java.lang.Object ref = validationRegex_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); validationRegex_ = b; return b; } else { @@ -2362,35 +2129,28 @@ public com.google.protobuf.ByteString getValidationRegexBytes() { } } /** - * - * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; - * * @param value The validationRegex to set. * @return This builder for chaining. */ - public Builder setValidationRegex(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValidationRegex( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } validationRegex_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; - * * @return This builder for chaining. */ public Builder clearValidationRegex() { @@ -2400,21 +2160,17 @@ public Builder clearValidationRegex() { return this; } /** - * - * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; - * * @param value The bytes for validationRegex to set. * @return This builder for chaining. */ - public Builder setValidationRegexBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValidationRegexBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); validationRegex_ = value; bitField0_ |= 0x00000040; @@ -2424,7 +2180,6 @@ public Builder setValidationRegexBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureAllowedValuesIsMutable() { if (!allowedValues_.isModifiable()) { allowedValues_ = new com.google.protobuf.LazyStringArrayList(allowedValues_); @@ -2432,43 +2187,35 @@ private void ensureAllowedValuesIsMutable() { bitField0_ |= 0x00000080; } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList + getAllowedValuesList() { allowedValues_.makeImmutable(); return allowedValues_; } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -2476,37 +2223,31 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString + getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @param index The index to set the value at. * @param value The allowedValues to set. * @return This builder for chaining. */ - public Builder setAllowedValues(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAllowedValues( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAllowedValuesIsMutable(); allowedValues_.set(index, value); bitField0_ |= 0x00000080; @@ -2514,21 +2255,17 @@ public Builder setAllowedValues(int index, java.lang.String value) { return this; } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @param value The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValues(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAllowedValues( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAllowedValuesIsMutable(); allowedValues_.add(value); bitField0_ |= 0x00000080; @@ -2536,58 +2273,50 @@ public Builder addAllowedValues(java.lang.String value) { return this; } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @param values The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllAllowedValues(java.lang.Iterable values) { + public Builder addAllAllowedValues( + java.lang.Iterable values) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedValues_); bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @return This builder for chaining. */ public Builder clearAllowedValues() { - allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); - ; + allowedValues_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080);; onChanged(); return this; } /** - * - * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; - * * @param value The bytes of the allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAllowedValuesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAllowedValuesIsMutable(); allowedValues_.add(value); @@ -2598,33 +2327,24 @@ public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.DoubleValue minValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder> - minValueBuilder_; + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> minValueBuilder_; /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
* * .google.protobuf.DoubleValue min_value = 9; - * * @return Whether the minValue field is set. */ public boolean hasMinValue() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
* * .google.protobuf.DoubleValue min_value = 9; - * * @return The minValue. */ public com.google.protobuf.DoubleValue getMinValue() { @@ -2635,8 +2355,6 @@ public com.google.protobuf.DoubleValue getMinValue() { } } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2657,15 +2375,14 @@ public Builder setMinValue(com.google.protobuf.DoubleValue value) { return this; } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
* * .google.protobuf.DoubleValue min_value = 9; */ - public Builder setMinValue(com.google.protobuf.DoubleValue.Builder builderForValue) { + public Builder setMinValue( + com.google.protobuf.DoubleValue.Builder builderForValue) { if (minValueBuilder_ == null) { minValue_ = builderForValue.build(); } else { @@ -2676,8 +2393,6 @@ public Builder setMinValue(com.google.protobuf.DoubleValue.Builder builderForVal return this; } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2686,9 +2401,9 @@ public Builder setMinValue(com.google.protobuf.DoubleValue.Builder builderForVal */ public Builder mergeMinValue(com.google.protobuf.DoubleValue value) { if (minValueBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && minValue_ != null - && minValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + minValue_ != null && + minValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { getMinValueBuilder().mergeFrom(value); } else { minValue_ = value; @@ -2703,8 +2418,6 @@ public Builder mergeMinValue(com.google.protobuf.DoubleValue value) { return this; } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2722,8 +2435,6 @@ public Builder clearMinValue() { return this; } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2736,8 +2447,6 @@ public com.google.protobuf.DoubleValue.Builder getMinValueBuilder() { return getMinValueFieldBuilder().getBuilder(); } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2748,12 +2457,11 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { if (minValueBuilder_ != null) { return minValueBuilder_.getMessageOrBuilder(); } else { - return minValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : minValue_; + return minValue_ == null ? + com.google.protobuf.DoubleValue.getDefaultInstance() : minValue_; } } /** - * - * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2761,17 +2469,14 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { * .google.protobuf.DoubleValue min_value = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder> + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> getMinValueFieldBuilder() { if (minValueBuilder_ == null) { - minValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder>( - getMinValue(), getParentForChildren(), isClean()); + minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( + getMinValue(), + getParentForChildren(), + isClean()); minValue_ = null; } return minValueBuilder_; @@ -2779,33 +2484,24 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { private com.google.protobuf.DoubleValue maxValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder> - maxValueBuilder_; + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> maxValueBuilder_; /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
* * .google.protobuf.DoubleValue max_value = 10; - * * @return Whether the maxValue field is set. */ public boolean hasMaxValue() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
* * .google.protobuf.DoubleValue max_value = 10; - * * @return The maxValue. */ public com.google.protobuf.DoubleValue getMaxValue() { @@ -2816,8 +2512,6 @@ public com.google.protobuf.DoubleValue getMaxValue() { } } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2838,15 +2532,14 @@ public Builder setMaxValue(com.google.protobuf.DoubleValue value) { return this; } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
* * .google.protobuf.DoubleValue max_value = 10; */ - public Builder setMaxValue(com.google.protobuf.DoubleValue.Builder builderForValue) { + public Builder setMaxValue( + com.google.protobuf.DoubleValue.Builder builderForValue) { if (maxValueBuilder_ == null) { maxValue_ = builderForValue.build(); } else { @@ -2857,8 +2550,6 @@ public Builder setMaxValue(com.google.protobuf.DoubleValue.Builder builderForVal return this; } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2867,9 +2558,9 @@ public Builder setMaxValue(com.google.protobuf.DoubleValue.Builder builderForVal */ public Builder mergeMaxValue(com.google.protobuf.DoubleValue value) { if (maxValueBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && maxValue_ != null - && maxValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + maxValue_ != null && + maxValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { getMaxValueBuilder().mergeFrom(value); } else { maxValue_ = value; @@ -2884,8 +2575,6 @@ public Builder mergeMaxValue(com.google.protobuf.DoubleValue value) { return this; } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2903,8 +2592,6 @@ public Builder clearMaxValue() { return this; } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2917,8 +2604,6 @@ public com.google.protobuf.DoubleValue.Builder getMaxValueBuilder() { return getMaxValueFieldBuilder().getBuilder(); } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2929,12 +2614,11 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { if (maxValueBuilder_ != null) { return maxValueBuilder_.getMessageOrBuilder(); } else { - return maxValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxValue_; + return maxValue_ == null ? + com.google.protobuf.DoubleValue.getDefaultInstance() : maxValue_; } } /** - * - * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2942,51 +2626,39 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { * .google.protobuf.DoubleValue max_value = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder> + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> getMaxValueFieldBuilder() { if (maxValueBuilder_ == null) { - maxValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder>( - getMaxValue(), getParentForChildren(), isClean()); + maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( + getMaxValue(), + getParentForChildren(), + isClean()); maxValue_ = null; } return maxValueBuilder_; } private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { - fields_ = - new java.util.ArrayList( - fields_); + fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000400; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> - fieldsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> fieldsBuilder_; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public java.util.List - getFieldsList() { + public java.util.List getFieldsList() { if (fieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(fields_); } else { @@ -2994,8 +2666,6 @@ private void ensureFieldsIsMutable() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3010,8 +2680,6 @@ public int getFieldsCount() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3026,8 +2694,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getFields(i } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3049,8 +2715,6 @@ public Builder setFields( return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3058,8 +2722,7 @@ public Builder setFields( * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ public Builder setFields( - int index, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.set(index, builderForValue.build()); @@ -3070,8 +2733,6 @@ public Builder setFields( return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3092,8 +2753,6 @@ public Builder addFields(com.google.cloud.bigquery.datatransfer.v1.DataSourcePar return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3115,8 +2774,6 @@ public Builder addFields( return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3135,8 +2792,6 @@ public Builder addFields( return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3144,8 +2799,7 @@ public Builder addFields( * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ public Builder addFields( - int index, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(index, builderForValue.build()); @@ -3156,8 +2810,6 @@ public Builder addFields( return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3165,11 +2817,11 @@ public Builder addFields( * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ public Builder addAllFields( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); @@ -3177,8 +2829,6 @@ public Builder addAllFields( return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3196,8 +2846,6 @@ public Builder clearFields() { return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3215,8 +2863,6 @@ public Builder removeFields(int index) { return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3228,34 +2874,28 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder get return getFieldsFieldBuilder().getBuilder(index); } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder - getFieldsOrBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getFieldsOrBuilder( + int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); - } else { + return fields_.get(index); } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public java.util.List< - ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -3263,23 +2903,17 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder get } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder - addFieldsBuilder() { - return getFieldsFieldBuilder() - .addBuilder( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addFieldsBuilder() { + return getFieldsFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** - * - * *
      * Deprecated. This field has no effect.
      * 
@@ -3288,37 +2922,30 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder get */ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addFieldsBuilder( int index) { - return getFieldsFieldBuilder() - .addBuilder( - index, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + return getFieldsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( - fields_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); + fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( + fields_, + ((bitField0_ & 0x00000400) != 0), + getParentForChildren(), + isClean()); fields_ = null; } return fieldsBuilder_; @@ -3326,21 +2953,19 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder add private java.lang.Object validationDescription_ = ""; /** - * - * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; - * * @return The validationDescription. */ public java.lang.String getValidationDescription() { java.lang.Object ref = validationDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationDescription_ = s; return s; @@ -3349,22 +2974,21 @@ public java.lang.String getValidationDescription() { } } /** - * - * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; - * * @return The bytes for validationDescription. */ - public com.google.protobuf.ByteString getValidationDescriptionBytes() { + public com.google.protobuf.ByteString + getValidationDescriptionBytes() { java.lang.Object ref = validationDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); validationDescription_ = b; return b; } else { @@ -3372,37 +2996,30 @@ public com.google.protobuf.ByteString getValidationDescriptionBytes() { } } /** - * - * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; - * * @param value The validationDescription to set. * @return This builder for chaining. */ - public Builder setValidationDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValidationDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } validationDescription_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** - * - * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; - * * @return This builder for chaining. */ public Builder clearValidationDescription() { @@ -3412,22 +3029,18 @@ public Builder clearValidationDescription() { return this; } /** - * - * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; - * * @param value The bytes for validationDescription to set. * @return This builder for chaining. */ - public Builder setValidationDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValidationDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); validationDescription_ = value; bitField0_ |= 0x00000800; @@ -3437,20 +3050,18 @@ public Builder setValidationDescriptionBytes(com.google.protobuf.ByteString valu private java.lang.Object validationHelpUrl_ = ""; /** - * - * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; - * * @return The validationHelpUrl. */ public java.lang.String getValidationHelpUrl() { java.lang.Object ref = validationHelpUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationHelpUrl_ = s; return s; @@ -3459,21 +3070,20 @@ public java.lang.String getValidationHelpUrl() { } } /** - * - * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; - * * @return The bytes for validationHelpUrl. */ - public com.google.protobuf.ByteString getValidationHelpUrlBytes() { + public com.google.protobuf.ByteString + getValidationHelpUrlBytes() { java.lang.Object ref = validationHelpUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); validationHelpUrl_ = b; return b; } else { @@ -3481,35 +3091,28 @@ public com.google.protobuf.ByteString getValidationHelpUrlBytes() { } } /** - * - * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; - * * @param value The validationHelpUrl to set. * @return This builder for chaining. */ - public Builder setValidationHelpUrl(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValidationHelpUrl( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } validationHelpUrl_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** - * - * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; - * * @return This builder for chaining. */ public Builder clearValidationHelpUrl() { @@ -3519,21 +3122,17 @@ public Builder clearValidationHelpUrl() { return this; } /** - * - * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; - * * @param value The bytes for validationHelpUrl to set. * @return This builder for chaining. */ - public Builder setValidationHelpUrlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValidationHelpUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); validationHelpUrl_ = value; bitField0_ |= 0x00001000; @@ -3541,16 +3140,13 @@ public Builder setValidationHelpUrlBytes(com.google.protobuf.ByteString value) { return this; } - private boolean immutable_; + private boolean immutable_ ; /** - * - * *
      * Cannot be changed after initial creation.
      * 
* * bool immutable = 14; - * * @return The immutable. */ @java.lang.Override @@ -3558,14 +3154,11 @@ public boolean getImmutable() { return immutable_; } /** - * - * *
      * Cannot be changed after initial creation.
      * 
* * bool immutable = 14; - * * @param value The immutable to set. * @return This builder for chaining. */ @@ -3577,14 +3170,11 @@ public Builder setImmutable(boolean value) { return this; } /** - * - * *
      * Cannot be changed after initial creation.
      * 
* * bool immutable = 14; - * * @return This builder for chaining. */ public Builder clearImmutable() { @@ -3594,16 +3184,13 @@ public Builder clearImmutable() { return this; } - private boolean recurse_; + private boolean recurse_ ; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * bool recurse = 15; - * * @return The recurse. */ @java.lang.Override @@ -3611,14 +3198,11 @@ public boolean getRecurse() { return recurse_; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * bool recurse = 15; - * * @param value The recurse to set. * @return This builder for chaining. */ @@ -3630,14 +3214,11 @@ public Builder setRecurse(boolean value) { return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * bool recurse = 15; - * * @return This builder for chaining. */ public Builder clearRecurse() { @@ -3647,17 +3228,14 @@ public Builder clearRecurse() { return this; } - private boolean deprecated_; + private boolean deprecated_ ; /** - * - * *
      * If true, it should not be used in new transfers, and it should not be
      * visible to users.
      * 
* * bool deprecated = 20; - * * @return The deprecated. */ @java.lang.Override @@ -3665,15 +3243,12 @@ public boolean getDeprecated() { return deprecated_; } /** - * - * *
      * If true, it should not be used in new transfers, and it should not be
      * visible to users.
      * 
* * bool deprecated = 20; - * * @param value The deprecated to set. * @return This builder for chaining. */ @@ -3685,15 +3260,12 @@ public Builder setDeprecated(boolean value) { return this; } /** - * - * *
      * If true, it should not be used in new transfers, and it should not be
      * visible to users.
      * 
* * bool deprecated = 20; - * * @return This builder for chaining. */ public Builder clearDeprecated() { @@ -3702,9 +3274,9 @@ public Builder clearDeprecated() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3714,13 +3286,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) - private static final com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter(); } @@ -3729,27 +3300,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSourceParameter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSourceParameter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3764,4 +3335,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java similarity index 82% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java index b8c2f8951b38..cb041b83968a 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java @@ -1,258 +1,192 @@ -/* - * 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; -public interface DataSourceParameterOrBuilder - extends +public interface DataSourceParameterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Parameter identifier.
    * 
* * string param_id = 1; - * * @return The paramId. */ java.lang.String getParamId(); /** - * - * *
    * Parameter identifier.
    * 
* * string param_id = 1; - * * @return The bytes for paramId. */ - com.google.protobuf.ByteString getParamIdBytes(); + com.google.protobuf.ByteString + getParamIdBytes(); /** - * - * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Parameter description.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Parameter description.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; - * * @return The type. */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType(); /** - * - * *
    * Is parameter required.
    * 
* * bool required = 5; - * * @return The required. */ boolean getRequired(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * bool repeated = 6; - * * @return The repeated. */ boolean getRepeated(); /** - * - * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; - * * @return The validationRegex. */ java.lang.String getValidationRegex(); /** - * - * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; - * * @return The bytes for validationRegex. */ - com.google.protobuf.ByteString getValidationRegexBytes(); + com.google.protobuf.ByteString + getValidationRegexBytes(); /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @return A list containing the allowedValues. */ - java.util.List getAllowedValuesList(); + java.util.List + getAllowedValuesList(); /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @return The count of allowedValues. */ int getAllowedValuesCount(); /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ java.lang.String getAllowedValues(int index); /** - * - * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - com.google.protobuf.ByteString getAllowedValuesBytes(int index); + com.google.protobuf.ByteString + getAllowedValuesBytes(int index); /** - * - * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; - * * @return Whether the minValue field is set. */ boolean hasMinValue(); /** - * - * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; - * * @return The minValue. */ com.google.protobuf.DoubleValue getMinValue(); /** - * - * *
    * For integer and double values specifies minimum allowed value.
    * 
@@ -262,32 +196,24 @@ public interface DataSourceParameterOrBuilder com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder(); /** - * - * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; - * * @return Whether the maxValue field is set. */ boolean hasMaxValue(); /** - * - * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; - * * @return The maxValue. */ com.google.protobuf.DoubleValue getMaxValue(); /** - * - * *
    * For integer and double values specifies maximum allowed value.
    * 
@@ -297,18 +223,15 @@ public interface DataSourceParameterOrBuilder com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - java.util.List getFieldsList(); + java.util.List + getFieldsList(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -317,8 +240,6 @@ public interface DataSourceParameterOrBuilder */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getFields(int index); /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -327,19 +248,15 @@ public interface DataSourceParameterOrBuilder */ int getFieldsCount(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
@@ -350,93 +267,74 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getFields int index); /** - * - * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; - * * @return The validationDescription. */ java.lang.String getValidationDescription(); /** - * - * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; - * * @return The bytes for validationDescription. */ - com.google.protobuf.ByteString getValidationDescriptionBytes(); + com.google.protobuf.ByteString + getValidationDescriptionBytes(); /** - * - * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; - * * @return The validationHelpUrl. */ java.lang.String getValidationHelpUrl(); /** - * - * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; - * * @return The bytes for validationHelpUrl. */ - com.google.protobuf.ByteString getValidationHelpUrlBytes(); + com.google.protobuf.ByteString + getValidationHelpUrlBytes(); /** - * - * *
    * Cannot be changed after initial creation.
    * 
* * bool immutable = 14; - * * @return The immutable. */ boolean getImmutable(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * bool recurse = 15; - * * @return The recurse. */ boolean getRecurse(); /** - * - * *
    * If true, it should not be used in new transfers, and it should not be
    * visible to users.
    * 
* * bool deprecated = 20; - * * @return The deprecated. */ boolean getDeprecated(); diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java new file mode 100644 index 000000000000..2ddf81d1a43d --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java @@ -0,0 +1,616 @@ +// 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; + +public final class DataTransferProto { + private DataTransferProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + 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; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n8google/cloud/bigquery/datatransfer/v1/" + + "datatransfer.proto\022%google.cloud.bigquer" + + "y.datatransfer.v1\032\034google/api/annotation" + + "s.proto\032\027google/api/client.proto\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\0324google/cloud/bigquery/data" + + "transfer/v1/transfer.proto\032\036google/proto" + + "buf/duration.proto\032\033google/protobuf/empt" + + "y.proto\032 google/protobuf/field_mask.prot" + + "o\032\037google/protobuf/timestamp.proto\032\036goog" + + "le/protobuf/wrappers.proto\"\217\005\n\023DataSourc" + + "eParameter\022\020\n\010param_id\030\001 \001(\t\022\024\n\014display_" + + "name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022M\n\004type\030" + + "\004 \001(\0162?.google.cloud.bigquery.datatransf" + + "er.v1.DataSourceParameter.Type\022\020\n\010requir" + + "ed\030\005 \001(\010\022\020\n\010repeated\030\006 \001(\010\022\030\n\020validation" + + "_regex\030\007 \001(\t\022\026\n\016allowed_values\030\010 \003(\t\022/\n\t" + + "min_value\030\t \001(\0132\034.google.protobuf.Double" + + "Value\022/\n\tmax_value\030\n \001(\0132\034.google.protob" + + "uf.DoubleValue\022J\n\006fields\030\013 \003(\0132:.google." + + "cloud.bigquery.datatransfer.v1.DataSourc" + + "eParameter\022\036\n\026validation_description\030\014 \001" + + "(\t\022\033\n\023validation_help_url\030\r \001(\t\022\021\n\timmut" + + "able\030\016 \001(\010\022\017\n\007recurse\030\017 \001(\010\022\022\n\ndeprecate" + + "d\030\024 \001(\010\"s\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n" + + "\006STRING\020\001\022\013\n\007INTEGER\020\002\022\n\n\006DOUBLE\020\003\022\013\n\007BO" + + "OLEAN\020\004\022\n\n\006RECORD\020\005\022\r\n\tPLUS_PAGE\020\006\022\010\n\004LI" + + "ST\020\007\"\234\t\n\nDataSource\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\026" + + "\n\016data_source_id\030\002 \001(\t\022\024\n\014display_name\030\003" + + " \001(\t\022\023\n\013description\030\004 \001(\t\022\021\n\tclient_id\030\005" + + " \001(\t\022\016\n\006scopes\030\006 \003(\t\022N\n\rtransfer_type\030\007 " + + "\001(\01623.google.cloud.bigquery.datatransfer" + + ".v1.TransferTypeB\002\030\001\022\'\n\033supports_multipl" + + "e_transfers\030\010 \001(\010B\002\030\001\022\037\n\027update_deadline" + + "_seconds\030\t \001(\005\022\030\n\020default_schedule\030\n \001(\t" + + "\022 \n\030supports_custom_schedule\030\013 \001(\010\022N\n\npa" + + "rameters\030\014 \003(\0132:.google.cloud.bigquery.d" + + "atatransfer.v1.DataSourceParameter\022\020\n\010he" + + "lp_url\030\r \001(\t\022_\n\022authorization_type\030\016 \001(\016" + + "2C.google.cloud.bigquery.datatransfer.v1" + + ".DataSource.AuthorizationType\022\\\n\021data_re" + + "fresh_type\030\017 \001(\0162A.google.cloud.bigquery" + + ".datatransfer.v1.DataSource.DataRefreshT" + + "ype\022(\n default_data_refresh_window_days\030" + + "\020 \001(\005\022\034\n\024manual_runs_disabled\030\021 \001(\010\022<\n\031m" + + "inimum_schedule_interval\030\022 \001(\0132\031.google." + + "protobuf.Duration\"\212\001\n\021AuthorizationType\022" + + "\"\n\036AUTHORIZATION_TYPE_UNSPECIFIED\020\000\022\026\n\022A" + + "UTHORIZATION_CODE\020\001\022\"\n\036GOOGLE_PLUS_AUTHO" + + "RIZATION_CODE\020\002\022\025\n\021FIRST_PARTY_OAUTH\020\003\"c" + + "\n\017DataRefreshType\022!\n\035DATA_REFRESH_TYPE_U" + + "NSPECIFIED\020\000\022\022\n\016SLIDING_WINDOW\020\001\022\031\n\025CUST" + + "OM_SLIDING_WINDOW\020\002:\245\001\352A\241\001\n.bigquerydata" + + "transfer.googleapis.com/DataSource\022,proj" + + "ects/{project}/dataSources/{data_source}" + + "\022Aprojects/{project}/locations/{location" + + "}/dataSources/{data_source}\"\\\n\024GetDataSo" + + "urceRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.bigqu" + + "erydatatransfer.googleapis.com/DataSourc" + + "e\"\207\001\n\026ListDataSourcesRequest\022F\n\006parent\030\001" + + " \001(\tB6\340A\002\372A0\022.bigquerydatatransfer.googl" + + "eapis.com/DataSource\022\022\n\npage_token\030\003 \001(\t" + + "\022\021\n\tpage_size\030\004 \001(\005\"\200\001\n\027ListDataSourcesR" + + "esponse\022G\n\014data_sources\030\001 \003(\01321.google.c" + + "loud.bigquery.datatransfer.v1.DataSource" + + "\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\216\002\n\033Creat" + + "eTransferConfigRequest\022J\n\006parent\030\001 \001(\tB:" + + "\340A\002\372A4\0222bigquerydatatransfer.googleapis." + + "com/TransferConfig\022S\n\017transfer_config\030\002 " + + "\001(\01325.google.cloud.bigquery.datatransfer" + + ".v1.TransferConfigB\003\340A\002\022\032\n\022authorization" + + "_code\030\003 \001(\t\022\024\n\014version_info\030\005 \001(\t\022\034\n\024ser" + + "vice_account_name\030\006 \001(\t\"\370\001\n\033UpdateTransf" + + "erConfigRequest\022S\n\017transfer_config\030\001 \001(\013" + + "25.google.cloud.bigquery.datatransfer.v1" + + ".TransferConfigB\003\340A\002\022\032\n\022authorization_co" + + "de\030\003 \001(\t\0224\n\013update_mask\030\004 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\003\340A\002\022\024\n\014version_info\030\005" + + " \001(\t\022\034\n\024service_account_name\030\006 \001(\t\"d\n\030Ge" + + "tTransferConfigRequest\022H\n\004name\030\001 \001(\tB:\340A" + + "\002\372A4\n2bigquerydatatransfer.googleapis.co" + + "m/TransferConfig\"g\n\033DeleteTransferConfig" + + "Request\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bigqueryd" + + "atatransfer.googleapis.com/TransferConfi" + + "g\"V\n\025GetTransferRunRequest\022=\n\004name\030\001 \001(\t" + + "B/\340A\002\372A)\n\'bigquerydatatransfer.googleapi" + + "s.com/Run\"Y\n\030DeleteTransferRunRequest\022=\n" + + "\004name\030\001 \001(\tB/\340A\002\372A)\n\'bigquerydatatransfe" + + "r.googleapis.com/Run\"\250\001\n\032ListTransferCon" + + "figsRequest\022J\n\006parent\030\001 \001(\tB:\340A\002\372A4\0222big" + + "querydatatransfer.googleapis.com/Transfe" + + "rConfig\022\027\n\017data_source_ids\030\002 \003(\t\022\022\n\npage" + + "_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\"\221\001\n\033List" + + "TransferConfigsResponse\022T\n\020transfer_conf" + + "igs\030\001 \003(\01325.google.cloud.bigquery.datatr" + + "ansfer.v1.TransferConfigB\003\340A\003\022\034\n\017next_pa" + + "ge_token\030\002 \001(\tB\003\340A\003\"\336\002\n\027ListTransferRuns" + + "Request\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'bigquer" + + "ydatatransfer.googleapis.com/Run\022D\n\006stat" + + "es\030\002 \003(\01624.google.cloud.bigquery.datatra" + + "nsfer.v1.TransferState\022\022\n\npage_token\030\003 \001" + + "(\t\022\021\n\tpage_size\030\004 \001(\005\022^\n\013run_attempt\030\005 \001" + + "(\0162I.google.cloud.bigquery.datatransfer." + + "v1.ListTransferRunsRequest.RunAttempt\"5\n" + + "\nRunAttempt\022\033\n\027RUN_ATTEMPT_UNSPECIFIED\020\000" + + "\022\n\n\006LATEST\020\001\"\210\001\n\030ListTransferRunsRespons" + + "e\022N\n\rtransfer_runs\030\001 \003(\01322.google.cloud." + + "bigquery.datatransfer.v1.TransferRunB\003\340A" + + "\003\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\340\001\n\027List" + + "TransferLogsRequest\022?\n\006parent\030\001 \001(\tB/\340A\002" + + "\372A)\n\'bigquerydatatransfer.googleapis.com" + + "/Run\022\022\n\npage_token\030\004 \001(\t\022\021\n\tpage_size\030\005 " + + "\001(\005\022]\n\rmessage_types\030\006 \003(\0162F.google.clou" + + "d.bigquery.datatransfer.v1.TransferMessa" + + "ge.MessageSeverity\"\220\001\n\030ListTransferLogsR" + + "esponse\022V\n\021transfer_messages\030\001 \003(\01326.goo" + + "gle.cloud.bigquery.datatransfer.v1.Trans" + + "ferMessageB\003\340A\003\022\034\n\017next_page_token\030\002 \001(\t" + + "B\003\340A\003\"^\n\026CheckValidCredsRequest\022D\n\004name\030" + + "\001 \001(\tB6\340A\002\372A0\n.bigquerydatatransfer.goog" + + "leapis.com/DataSource\"2\n\027CheckValidCreds" + + "Response\022\027\n\017has_valid_creds\030\001 \001(\010\"\321\001\n\033Sc" + + "heduleTransferRunsRequest\022J\n\006parent\030\001 \001(" + + "\tB:\340A\002\372A4\n2bigquerydatatransfer.googleap" + + "is.com/TransferConfig\0223\n\nstart_time\030\002 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\002\0221\n\010en" + + "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\002\"`\n\034ScheduleTransferRunsResponse\022@\n" + + "\004runs\030\001 \003(\01322.google.cloud.bigquery.data" + + "transfer.v1.TransferRun\"\207\003\n\036StartManualT" + + "ransferRunsRequest\022G\n\006parent\030\001 \001(\tB7\372A4\n" + + "2bigquerydatatransfer.googleapis.com/Tra" + + "nsferConfig\022o\n\024requested_time_range\030\003 \001(" + + "\0132O.google.cloud.bigquery.datatransfer.v" + + "1.StartManualTransferRunsRequest.TimeRan" + + "geH\000\0228\n\022requested_run_time\030\004 \001(\0132\032.googl" + + "e.protobuf.TimestampH\000\032i\n\tTimeRange\022.\n\ns" + + "tart_time\030\001 \001(\0132\032.google.protobuf.Timest" + + "amp\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf." + + "TimestampB\006\n\004time\"c\n\037StartManualTransfer" + + "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(\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(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor, + new java.lang.String[] { "ParamId", "DisplayName", "Description", "Type", "Required", "Repeated", "ValidationRegex", "AllowedValues", "MinValue", "MaxValue", "Fields", "ValidationDescription", "ValidationHelpUrl", "Immutable", "Recurse", "Deprecated", }); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor, + new java.lang.String[] { "Name", "DataSourceId", "DisplayName", "Description", "ClientId", "Scopes", "TransferType", "SupportsMultipleTransfers", "UpdateDeadlineSeconds", "DefaultSchedule", "SupportsCustomSchedule", "Parameters", "HelpUrl", "AuthorizationType", "DataRefreshType", "DefaultDataRefreshWindowDays", "ManualRunsDisabled", "MinimumScheduleInterval", }); + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", "PageSize", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor, + new java.lang.String[] { "DataSources", "NextPageToken", }); + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor, + new java.lang.String[] { "Parent", "TransferConfig", "AuthorizationCode", "VersionInfo", "ServiceAccountName", }); + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor, + new java.lang.String[] { "TransferConfig", "AuthorizationCode", "UpdateMask", "VersionInfo", "ServiceAccountName", }); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor, + new java.lang.String[] { "Parent", "DataSourceIds", "PageToken", "PageSize", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor, + new java.lang.String[] { "TransferConfigs", "NextPageToken", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor, + new java.lang.String[] { "Parent", "States", "PageToken", "PageSize", "RunAttempt", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor, + new java.lang.String[] { "TransferRuns", "NextPageToken", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", "PageSize", "MessageTypes", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor, + new java.lang.String[] { "TransferMessages", "NextPageToken", }); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor, + new java.lang.String[] { "HasValidCreds", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor, + new java.lang.String[] { "Parent", "StartTime", "EndTime", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor, + new java.lang.String[] { "Runs", }); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor, + new java.lang.String[] { "Parent", "RequestedTimeRange", "RequestedRunTime", "Time", }); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor = + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor, + new java.lang.String[] { "StartTime", "EndTime", }); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor, + new java.lang.String[] { "Runs", }); + internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor, + 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); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java similarity index 61% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java index edefaaa7a252..0844d07d9b35 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to delete data transfer information. All associated transfer runs
  * and log messages will be deleted as well.
@@ -29,58 +12,50 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest}
  */
-public final class DeleteTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTransferConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)
     DeleteTransferConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTransferConfigRequest.newBuilder() to construct.
   private DeleteTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTransferConfigRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTransferConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_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_DeleteTransferConfigRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class,
-            com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -160,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other = - (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,105 +161,98 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest - 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.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest - 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.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.DeleteTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to delete data transfer information. All associated transfer runs
    * and log messages will be deleted as well.
@@ -294,33 +260,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)
       com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_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_DeleteTransferConfigRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class,
-              com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -330,16 +296,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest
-          .getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -353,17 +317,13 @@ public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest bui
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result =
-          new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result) {
+    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -374,51 +334,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) {
-        return mergeFrom(
-            (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other) {
-      if (other
-          == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other) {
+      if (other == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -450,19 +405,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -472,29 +425,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -503,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -529,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -575,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,43 +540,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,8 +586,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java new file mode 100644 index 000000000000..dd0152ac9918 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java @@ -0,0 +1,34 @@ +// 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; + +public interface DeleteTransferConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java similarity index 61% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java index f3926e0625b4..cb0d5ad2ff8d 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,56 +5,49 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to delete data transfer run information.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest} */ -public final class DeleteTransferRunRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTransferRunRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) DeleteTransferRunRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTransferRunRequest.newBuilder() to construct. private DeleteTransferRunRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTransferRunRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTransferRunRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_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_DeleteTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -77,10 +55,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,15 +64,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -105,18 +79,17 @@ public java.lang.String getName() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other = - (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other = (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,138 +162,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferRunRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest 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.DeleteTransferRunRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferRunRequest 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.DeleteTransferRunRequest 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.DeleteTransferRunRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - 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.DeleteTransferRunRequest 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.DeleteTransferRunRequest - 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.DeleteTransferRunRequest 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.DeleteTransferRunRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.DeleteTransferRunRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to delete data transfer run information.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_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_DeleteTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,16 +296,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.getDefaultInstance(); } @java.lang.Override @@ -353,17 +317,13 @@ public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result = - new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -374,51 +334,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -450,19 +405,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -472,13 +425,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -486,16 +436,14 @@ public Builder mergeFrom(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -504,8 +452,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -513,17 +459,16 @@ public java.lang.String getName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -531,8 +476,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -540,25 +483,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -566,10 +503,7 @@ public Builder setName(java.lang.String value) {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -579,8 +513,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -588,26 +520,22 @@ public Builder clearName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,43 +545,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTransferRunRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTransferRunRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -665,8 +591,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java similarity index 51% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java index 2bce0e154615..d6920d2f3fa5 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * 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; -public interface DeleteTransferRunRequestOrBuilder - extends +public interface DeleteTransferRunRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -34,16 +16,11 @@ public interface DeleteTransferRunRequestOrBuilder
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -51,11 +28,9 @@ public interface DeleteTransferRunRequestOrBuilder
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java similarity index 66% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java index f2dbd56720bf..48bd73cfd171 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Represents preferences for sending email notifications for transfer run
  * events.
@@ -29,50 +12,46 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EmailPreferences}
  */
-public final class EmailPreferences extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class EmailPreferences extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.EmailPreferences)
     EmailPreferencesOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EmailPreferences.newBuilder() to construct.
   private EmailPreferences(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private EmailPreferences() {}
+  private EmailPreferences() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EmailPreferences();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class,
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
   }
 
   public static final int ENABLE_FAILURE_EMAIL_FIELD_NUMBER = 1;
   private boolean enableFailureEmail_ = false;
   /**
-   *
-   *
    * 
    * If true, email notifications will be sent on transfer run failures.
    * 
* * bool enable_failure_email = 1; - * * @return The enableFailureEmail. */ @java.lang.Override @@ -81,7 +60,6 @@ public boolean getEnableFailureEmail() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -93,7 +71,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enableFailureEmail_ != false) { output.writeBool(1, enableFailureEmail_); } @@ -107,7 +86,8 @@ public int getSerializedSize() { size = 0; if (enableFailureEmail_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableFailureEmail_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enableFailureEmail_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -117,15 +97,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.EmailPreferences)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences other = - (com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) obj; + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences other = (com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) obj; - if (getEnableFailureEmail() != other.getEnableFailureEmail()) return false; + if (getEnableFailureEmail() + != other.getEnableFailureEmail()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -138,111 +118,106 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_FAILURE_EMAIL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableFailureEmail()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableFailureEmail()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EmailPreferences parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences 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.EmailPreferences parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EmailPreferences 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.EmailPreferences 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.EmailPreferences parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences 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.EmailPreferences 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.EmailPreferences parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.EmailPreferences parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents preferences for sending email notifications for transfer run
    * events.
@@ -250,32 +225,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EmailPreferences}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.EmailPreferences)
       com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class,
-              com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -285,9 +261,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
     }
 
     @java.lang.Override
@@ -306,11 +282,8 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.EmailPreferences result =
-          new com.google.cloud.bigquery.datatransfer.v1.EmailPreferences(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.datatransfer.v1.EmailPreferences result = new com.google.cloud.bigquery.datatransfer.v1.EmailPreferences(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -326,39 +299,38 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EmailPrefer
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EmailPreferences)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -366,8 +338,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()) return this;
       if (other.getEnableFailureEmail() != false) {
         setEnableFailureEmail(other.getEnableFailureEmail());
       }
@@ -397,19 +368,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enableFailureEmail_ = input.readBool();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enableFailureEmail_ = input.readBool();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -419,19 +388,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean enableFailureEmail_;
+    private boolean enableFailureEmail_ ;
     /**
-     *
-     *
      * 
      * If true, email notifications will be sent on transfer run failures.
      * 
* * bool enable_failure_email = 1; - * * @return The enableFailureEmail. */ @java.lang.Override @@ -439,14 +404,11 @@ public boolean getEnableFailureEmail() { return enableFailureEmail_; } /** - * - * *
      * If true, email notifications will be sent on transfer run failures.
      * 
* * bool enable_failure_email = 1; - * * @param value The enableFailureEmail to set. * @return This builder for chaining. */ @@ -458,14 +420,11 @@ public Builder setEnableFailureEmail(boolean value) { return this; } /** - * - * *
      * If true, email notifications will be sent on transfer run failures.
      * 
* * bool enable_failure_email = 1; - * * @return This builder for chaining. */ public Builder clearEnableFailureEmail() { @@ -474,9 +433,9 @@ public Builder clearEnableFailureEmail() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -486,12 +445,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.EmailPreferences) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.EmailPreferences) private static final com.google.cloud.bigquery.datatransfer.v1.EmailPreferences DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.EmailPreferences(); } @@ -500,27 +459,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EmailPreferences parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EmailPreferences parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -535,4 +494,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java new file mode 100644 index 000000000000..66aaa7ee4a05 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java @@ -0,0 +1,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/datatransfer/v1/transfer.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.datatransfer.v1; + +public interface EmailPreferencesOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EmailPreferences) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * If true, email notifications will be sent on transfer run failures.
+   * 
+ * + * bool enable_failure_email = 1; + * @return The enableFailureEmail. + */ + boolean getEnableFailureEmail(); +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java similarity index 64% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java index bc0631101be4..03fd8a26aaf4 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,59 +5,53 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Represents the encryption configuration for a transfer.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration} */ -public final class EncryptionConfiguration extends com.google.protobuf.GeneratedMessageV3 - implements +public final class EncryptionConfiguration extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) EncryptionConfigurationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use EncryptionConfiguration.newBuilder() to construct. private EncryptionConfiguration(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private EncryptionConfiguration() {} + private EncryptionConfiguration() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EncryptionConfiguration(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); } private int bitField0_; public static final int KMS_KEY_NAME_FIELD_NUMBER = 1; private com.google.protobuf.StringValue kmsKeyName_; /** - * - * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; - * * @return Whether the kmsKeyName field is set. */ @java.lang.Override @@ -80,14 +59,11 @@ public boolean hasKmsKeyName() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; - * * @return The kmsKeyName. */ @java.lang.Override @@ -95,8 +71,6 @@ public com.google.protobuf.StringValue getKmsKeyName() { return kmsKeyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : kmsKeyName_; } /** - * - * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
@@ -109,7 +83,6 @@ public com.google.protobuf.StringValueOrBuilder getKmsKeyNameOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,7 +94,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getKmsKeyName()); } @@ -135,7 +109,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getKmsKeyName()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getKmsKeyName()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -145,17 +120,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other = - (com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) obj; + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other = (com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) obj; if (hasKmsKeyName() != other.hasKmsKeyName()) return false; if (hasKmsKeyName()) { - if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -178,147 +153,137 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EncryptionConfiguration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration 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.EncryptionConfiguration parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EncryptionConfiguration 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.EncryptionConfiguration 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.EncryptionConfiguration parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - 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.EncryptionConfiguration 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.EncryptionConfiguration - 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.EncryptionConfiguration 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.EncryptionConfiguration parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.EncryptionConfiguration parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the encryption configuration for a transfer.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.newBuilder() + // Construct using com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getKmsKeyNameFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -332,14 +297,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance(); } @@ -354,21 +318,19 @@ public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result = - new com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result = new com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.kmsKeyName_ = kmsKeyNameBuilder_ == null ? kmsKeyName_ : kmsKeyNameBuilder_.build(); + result.kmsKeyName_ = kmsKeyNameBuilder_ == null + ? kmsKeyName_ + : kmsKeyNameBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -378,50 +340,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance()) return this; if (other.hasKmsKeyName()) { mergeKmsKeyName(other.getKmsKeyName()); } @@ -451,19 +409,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getKmsKeyNameFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getKmsKeyNameFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -473,52 +431,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.StringValue kmsKeyName_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.StringValue, - com.google.protobuf.StringValue.Builder, - com.google.protobuf.StringValueOrBuilder> - kmsKeyNameBuilder_; + com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> kmsKeyNameBuilder_; /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
* * .google.protobuf.StringValue kms_key_name = 1; - * * @return Whether the kmsKeyName field is set. */ public boolean hasKmsKeyName() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
* * .google.protobuf.StringValue kms_key_name = 1; - * * @return The kmsKeyName. */ public com.google.protobuf.StringValue getKmsKeyName() { if (kmsKeyNameBuilder_ == null) { - return kmsKeyName_ == null - ? com.google.protobuf.StringValue.getDefaultInstance() - : kmsKeyName_; + return kmsKeyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : kmsKeyName_; } else { return kmsKeyNameBuilder_.getMessage(); } } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -539,15 +483,14 @@ public Builder setKmsKeyName(com.google.protobuf.StringValue value) { return this; } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
* * .google.protobuf.StringValue kms_key_name = 1; */ - public Builder setKmsKeyName(com.google.protobuf.StringValue.Builder builderForValue) { + public Builder setKmsKeyName( + com.google.protobuf.StringValue.Builder builderForValue) { if (kmsKeyNameBuilder_ == null) { kmsKeyName_ = builderForValue.build(); } else { @@ -558,8 +501,6 @@ public Builder setKmsKeyName(com.google.protobuf.StringValue.Builder builderForV return this; } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -568,9 +509,9 @@ public Builder setKmsKeyName(com.google.protobuf.StringValue.Builder builderForV */ public Builder mergeKmsKeyName(com.google.protobuf.StringValue value) { if (kmsKeyNameBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && kmsKeyName_ != null - && kmsKeyName_ != com.google.protobuf.StringValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + kmsKeyName_ != null && + kmsKeyName_ != com.google.protobuf.StringValue.getDefaultInstance()) { getKmsKeyNameBuilder().mergeFrom(value); } else { kmsKeyName_ = value; @@ -585,8 +526,6 @@ public Builder mergeKmsKeyName(com.google.protobuf.StringValue value) { return this; } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -604,8 +543,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -618,8 +555,6 @@ public com.google.protobuf.StringValue.Builder getKmsKeyNameBuilder() { return getKmsKeyNameFieldBuilder().getBuilder(); } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -630,14 +565,11 @@ public com.google.protobuf.StringValueOrBuilder getKmsKeyNameOrBuilder() { if (kmsKeyNameBuilder_ != null) { return kmsKeyNameBuilder_.getMessageOrBuilder(); } else { - return kmsKeyName_ == null - ? com.google.protobuf.StringValue.getDefaultInstance() - : kmsKeyName_; + return kmsKeyName_ == null ? + com.google.protobuf.StringValue.getDefaultInstance() : kmsKeyName_; } } /** - * - * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -645,24 +577,21 @@ public com.google.protobuf.StringValueOrBuilder getKmsKeyNameOrBuilder() { * .google.protobuf.StringValue kms_key_name = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.StringValue, - com.google.protobuf.StringValue.Builder, - com.google.protobuf.StringValueOrBuilder> + com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> getKmsKeyNameFieldBuilder() { if (kmsKeyNameBuilder_ == null) { - kmsKeyNameBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.StringValue, - com.google.protobuf.StringValue.Builder, - com.google.protobuf.StringValueOrBuilder>( - getKmsKeyName(), getParentForChildren(), isClean()); + kmsKeyNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>( + getKmsKeyName(), + getParentForChildren(), + isClean()); kmsKeyName_ = null; } return kmsKeyNameBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -672,43 +601,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) - private static final com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration(); } - public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionConfiguration parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionConfiguration parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -720,8 +647,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java similarity index 61% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java index 59dc206a9a64..09bfa86b2408 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java @@ -1,56 +1,32 @@ -/* - * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface EncryptionConfigurationOrBuilder - extends +public interface EncryptionConfigurationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; - * * @return Whether the kmsKeyName field is set. */ boolean hasKmsKeyName(); /** - * - * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; - * * @return The kmsKeyName. */ com.google.protobuf.StringValue getKmsKeyName(); /** - * - * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java similarity index 67% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java index ec9b739dcc7b..0adf88874651 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to enroll a set of data sources so they are visible in the
  * BigQuery UI's `Transfer` tab.
@@ -29,55 +12,50 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest}
  */
-public final class EnrollDataSourcesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class EnrollDataSourcesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)
     EnrollDataSourcesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EnrollDataSourcesRequest.newBuilder() to construct.
   private EnrollDataSourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private EnrollDataSourcesRequest() {
     name_ = "";
-    dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    dataSourceIds_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EnrollDataSourcesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_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_EnrollDataSourcesRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class,
-            com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.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 @@ -86,29 +64,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -117,50 +95,41 @@ public com.google.protobuf.ByteString getNameBytes() { } 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 enrolled. 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() { + public com.google.protobuf.ProtocolStringList + getDataSourceIdsList() { return dataSourceIds_; } /** - * - * *
    * Data sources that are enrolled. 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 enrolled. 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. */ @@ -168,24 +137,21 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** - * - * *
    * Data sources that are enrolled. 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) { + 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; @@ -197,7 +163,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -232,16 +199,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other = - (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other = (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getDataSourceIdsList().equals(other.getDataSourceIdsList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDataSourceIdsList() + .equals(other.getDataSourceIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -265,105 +233,98 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EnrollDataSourcesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest - 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.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest - 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.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.EnrollDataSourcesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to enroll a set of data sources so they are visible in the
    * BigQuery UI's `Transfer` tab.
@@ -371,53 +332,52 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)
       com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_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_EnrollDataSourcesRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class,
-              com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       name_ = "";
-      dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      dataSourceIds_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest
-          .getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -431,17 +391,13 @@ public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest build(
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result =
-          new com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result = new com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result) {
+    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -456,51 +412,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) {
-        return mergeFrom(
-            (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other) {
-      if (other
-          == com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other) {
+      if (other == com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -542,26 +493,23 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureDataSourceIdsIsMutable();
-                dataSourceIds_.add(s);
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureDataSourceIdsIsMutable();
+              dataSourceIds_.add(s);
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -571,25 +519,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -598,21 +543,20 @@ public java.lang.String getName() { } } /** - * - * *
      * 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -620,35 +564,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -658,21 +595,17 @@ public Builder clearName() { 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -682,7 +615,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureDataSourceIdsIsMutable() { if (!dataSourceIds_.isModifiable()) { dataSourceIds_ = new com.google.protobuf.LazyStringArrayList(dataSourceIds_); @@ -690,46 +622,38 @@ private void ensureDataSourceIdsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Data sources that are enrolled. 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() { + public com.google.protobuf.ProtocolStringList + getDataSourceIdsList() { dataSourceIds_.makeImmutable(); return dataSourceIds_; } /** - * - * *
      * Data sources that are enrolled. 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 enrolled. 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. */ @@ -737,39 +661,33 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** - * - * *
      * Data sources that are enrolled. 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) { + public com.google.protobuf.ByteString + getDataSourceIdsBytes(int index) { return dataSourceIds_.getByteString(index); } /** - * - * *
      * Data sources that are enrolled. 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(); - } + public Builder setDataSourceIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDataSourceIdsIsMutable(); dataSourceIds_.set(index, value); bitField0_ |= 0x00000002; @@ -777,22 +695,18 @@ public Builder setDataSourceIds(int index, java.lang.String value) { return this; } /** - * - * *
      * Data sources that are enrolled. 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(); - } + public Builder addDataSourceIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); bitField0_ |= 0x00000002; @@ -800,61 +714,53 @@ public Builder addDataSourceIds(java.lang.String value) { return this; } /** - * - * *
      * Data sources that are enrolled. 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 values) { + public Builder addAllDataSourceIds( + java.lang.Iterable values) { ensureDataSourceIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataSourceIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataSourceIds_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Data sources that are enrolled. 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); - ; + dataSourceIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Data sources that are enrolled. 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(); - } + public Builder addDataSourceIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); @@ -862,9 +768,9 @@ public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -874,43 +780,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnrollDataSourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnrollDataSourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,8 +826,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java similarity index 67% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java index fde47f99b1d4..99de948f5797 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java @@ -1,106 +1,75 @@ -/* - * 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; -public interface EnrollDataSourcesRequestOrBuilder - extends +public interface EnrollDataSourcesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * 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(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Data sources that are enrolled. 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 getDataSourceIdsList(); + java.util.List + getDataSourceIdsList(); /** - * - * *
    * Data sources that are enrolled. 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 enrolled. 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 enrolled. 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); + com.google.protobuf.ByteString + getDataSourceIdsBytes(int index); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java similarity index 63% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java index d4e3c81d326e..1f38d97d34f4 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,66 +5,56 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to get data source info.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest} */ -public final class GetDataSourceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDataSourceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) GetDataSourceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDataSourceRequest.newBuilder() to construct. private GetDataSourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDataSourceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDataSourceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_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_GetDataSourceRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest other = - (com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest other = (com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetDataSourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest 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.GetDataSourceRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetDataSourceRequest 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.GetDataSourceRequest 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.GetDataSourceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest 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.GetDataSourceRequest 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.GetDataSourceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.GetDataSourceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to get data source info.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_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_GetDataSourceRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,14 +294,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance(); } @@ -348,17 +315,13 @@ public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result = - new com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result = new com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -369,39 +332,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest)other); } else { super.mergeFrom(other); return this; @@ -409,9 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -443,19 +403,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -465,29 +423,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -496,25 +449,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -522,43 +472,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -568,34 +507,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -605,43 +538,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataSourceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataSourceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,8 +584,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java new file mode 100644 index 000000000000..069d54757e3b --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java @@ -0,0 +1,34 @@ +// 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; + +public interface GetDataSourceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java similarity index 61% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java index 23cae7d3abe4..633b84105904 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,66 +5,56 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to get data transfer information.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest} */ -public final class GetTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTransferConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) GetTransferConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTransferConfigRequest.newBuilder() to construct. private GetTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTransferConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTransferConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_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_GetTransferConfigRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other = - (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,138 +160,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest 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.GetTransferConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferConfigRequest 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.GetTransferConfigRequest 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.GetTransferConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - 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.GetTransferConfigRequest 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.GetTransferConfigRequest - 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.GetTransferConfigRequest 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.GetTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.GetTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to get data transfer information.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_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_GetTransferConfigRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,16 +294,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.getDefaultInstance(); } @java.lang.Override @@ -351,17 +315,13 @@ public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result = - new com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -372,51 +332,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -448,19 +403,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -470,29 +423,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -501,25 +449,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -527,43 +472,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -573,34 +507,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -610,43 +538,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,8 +584,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java new file mode 100644 index 000000000000..9e179140acb7 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java @@ -0,0 +1,34 @@ +// 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; + +public interface GetTransferConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java similarity index 63% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java index 93a5d2636a4c..616ae2bf475a 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,56 +5,49 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to get data transfer run information.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest} */ -public final class GetTransferRunRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTransferRunRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) GetTransferRunRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTransferRunRequest.newBuilder() to construct. private GetTransferRunRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTransferRunRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTransferRunRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_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_GetTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -77,10 +55,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,15 +64,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -105,18 +79,17 @@ public java.lang.String getName() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other = - (com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other = (com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferRunRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest 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.GetTransferRunRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferRunRequest 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.GetTransferRunRequest 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.GetTransferRunRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest 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.GetTransferRunRequest 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.GetTransferRunRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.GetTransferRunRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to get data transfer run information.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_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_GetTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,14 +296,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance(); } @@ -350,17 +317,13 @@ public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result = - new com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result = new com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -371,50 +334,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,19 +405,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -468,13 +425,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -482,16 +436,14 @@ public Builder mergeFrom(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -500,8 +452,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -509,17 +459,16 @@ public java.lang.String getName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -527,8 +476,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -536,25 +483,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -562,10 +503,7 @@ public Builder setName(java.lang.String value) {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -575,8 +513,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -584,26 +520,22 @@ public Builder clearName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -613,43 +545,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTransferRunRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTransferRunRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,8 +591,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java similarity index 51% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java index a0ea3524be87..e7f3b36de58d 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * 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; -public interface GetTransferRunRequestOrBuilder - extends +public interface GetTransferRunRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -34,16 +16,11 @@ public interface GetTransferRunRequestOrBuilder
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -51,11 +28,9 @@ public interface GetTransferRunRequestOrBuilder
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java similarity index 67% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java index a085c10a6771..60c14fa4b8c0 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Request to list supported data sources and their data transfer settings.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest} */ -public final class ListDataSourcesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataSourcesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) ListDataSourcesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataSourcesRequest.newBuilder() to construct. private ListDataSourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataSourcesRequest() { parent_ = ""; pageToken_ = ""; @@ -45,42 +27,35 @@ private ListDataSourcesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataSourcesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_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_ListDataSourcesRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -124,12 +97,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -139,7 +109,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -148,15 +117,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -166,15 +134,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -185,14 +154,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -201,7 +167,6 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -239,7 +205,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -249,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other = - (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,136 +252,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest 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.ListDataSourcesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesRequest 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.ListDataSourcesRequest 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.ListDataSourcesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest 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.ListDataSourcesRequest 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.ListDataSourcesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListDataSourcesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to list supported data sources and their data transfer settings.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_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_ListDataSourcesRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -424,14 +388,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance(); } @@ -446,17 +409,13 @@ public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result = - new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -473,50 +432,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -556,31 +511,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -590,29 +541,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -621,25 +567,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -647,43 +590,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -693,25 +625,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -721,8 +647,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -732,13 +656,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -747,8 +671,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -758,14 +680,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -773,8 +696,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -784,22 +705,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -809,7 +726,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -819,8 +735,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -830,14 +744,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; @@ -845,16 +757,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -862,14 +771,11 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -881,14 +787,11 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -897,9 +800,9 @@ public Builder clearPageSize() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -909,43 +812,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataSourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataSourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -957,8 +858,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java similarity index 64% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java index 4a0b6f865c99..6e0c5e34db84 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java @@ -1,65 +1,38 @@ -/* - * 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; -public interface ListDataSourcesRequestOrBuilder - extends +public interface ListDataSourcesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -69,13 +42,10 @@ public interface ListDataSourcesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -85,20 +55,17 @@ public interface ListDataSourcesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java similarity index 72% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java index aa14f721ea6d..d2b144b020f1 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Returns list of supported data sources and their metadata.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse} */ -public final class ListDataSourcesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataSourcesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) ListDataSourcesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataSourcesResponse.newBuilder() to construct. private ListDataSourcesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataSourcesResponse() { dataSources_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,32 +27,28 @@ private ListDataSourcesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataSourcesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_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_ListDataSourcesResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); } public static final int DATA_SOURCES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List dataSources_; /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
@@ -82,8 +60,6 @@ public java.util.List getD return dataSources_; } /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
@@ -91,13 +67,11 @@ public java.util.List getD * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataSourcesOrBuilderList() { return dataSources_; } /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
@@ -109,8 +83,6 @@ public int getDataSourcesCount() { return dataSources_.size(); } /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
@@ -122,8 +94,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSources(int i return dataSources_.get(index); } /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
@@ -137,12 +107,9 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -151,7 +118,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -160,15 +126,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -177,15 +142,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dataSources_.size(); i++) { output.writeMessage(1, dataSources_.get(i)); } @@ -223,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataSources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataSources_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dataSources_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other = - (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) obj; - if (!getDataSourcesList().equals(other.getDataSourcesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDataSourcesList() + .equals(other.getDataSourcesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,138 +237,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse 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.ListDataSourcesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesResponse 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.ListDataSourcesResponse 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.ListDataSourcesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse - 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.ListDataSourcesResponse 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.ListDataSourcesResponse - 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.ListDataSourcesResponse 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.ListDataSourcesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListDataSourcesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Returns list of supported data sources and their metadata.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_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_ListDataSourcesResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -417,14 +378,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance(); } @@ -439,18 +399,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result = - new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { if (dataSourcesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataSources_ = java.util.Collections.unmodifiableList(dataSources_); @@ -462,8 +418,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -474,50 +429,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance()) return this; if (dataSourcesBuilder_ == null) { if (!other.dataSources_.isEmpty()) { if (dataSources_.isEmpty()) { @@ -536,10 +487,9 @@ public Builder mergeFrom( dataSourcesBuilder_ = null; dataSources_ = other.dataSources_; bitField0_ = (bitField0_ & ~0x00000001); - dataSourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDataSourcesFieldBuilder() - : null; + dataSourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDataSourcesFieldBuilder() : null; } else { dataSourcesBuilder_.addAllMessages(other.dataSources_); } @@ -576,33 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.datatransfer.v1.DataSource m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.DataSource.parser(), - extensionRegistry); - if (dataSourcesBuilder_ == null) { - ensureDataSourcesIsMutable(); - dataSources_.add(m); - } else { - dataSourcesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.bigquery.datatransfer.v1.DataSource m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.DataSource.parser(), + extensionRegistry); + if (dataSourcesBuilder_ == null) { + ensureDataSourcesIsMutable(); + dataSources_.add(m); + } else { + dataSourcesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -612,38 +559,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List dataSources_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDataSourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataSources_ = - new java.util.ArrayList( - dataSources_); + dataSources_ = new java.util.ArrayList(dataSources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSource, - com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> - dataSourcesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.DataSource, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> dataSourcesBuilder_; /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - public java.util.List - getDataSourcesList() { + public java.util.List getDataSourcesList() { if (dataSourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(dataSources_); } else { @@ -651,8 +588,6 @@ private void ensureDataSourcesIsMutable() { } } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -667,8 +602,6 @@ public int getDataSourcesCount() { } } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -683,8 +616,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSources(int i } } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -706,8 +637,6 @@ public Builder setDataSources( return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -726,8 +655,6 @@ public Builder setDataSources( return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -748,8 +675,6 @@ public Builder addDataSources(com.google.cloud.bigquery.datatransfer.v1.DataSour return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -771,8 +696,6 @@ public Builder addDataSources( return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -791,8 +714,6 @@ public Builder addDataSources( return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -811,8 +732,6 @@ public Builder addDataSources( return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -823,7 +742,8 @@ public Builder addAllDataSources( java.lang.Iterable values) { if (dataSourcesBuilder_ == null) { ensureDataSourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataSources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataSources_); onChanged(); } else { dataSourcesBuilder_.addAllMessages(values); @@ -831,8 +751,6 @@ public Builder addAllDataSources( return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -850,8 +768,6 @@ public Builder clearDataSources() { return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -869,8 +785,6 @@ public Builder removeDataSources(int index) { return this; } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -882,8 +796,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder getDataSourc return getDataSourcesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -893,22 +805,19 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder getDataSourc public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBuilder( int index) { if (dataSourcesBuilder_ == null) { - return dataSources_.get(index); - } else { + return dataSources_.get(index); } else { return dataSourcesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - public java.util.List - getDataSourcesOrBuilderList() { + public java.util.List + getDataSourcesOrBuilderList() { if (dataSourcesBuilder_ != null) { return dataSourcesBuilder_.getMessageOrBuilderList(); } else { @@ -916,8 +825,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour } } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -925,12 +832,10 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourcesBuilder() { - return getDataSourcesFieldBuilder() - .addBuilder(com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); + return getDataSourcesFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
@@ -939,36 +844,30 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourc */ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourcesBuilder( int index) { - return getDataSourcesFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); + return getDataSourcesFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); } /** - * - * *
      * List of supported data sources and their transfer settings.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - public java.util.List - getDataSourcesBuilderList() { + public java.util.List + getDataSourcesBuilderList() { return getDataSourcesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSource, - com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.DataSource, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> getDataSourcesFieldBuilder() { if (dataSourcesBuilder_ == null) { - dataSourcesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSource, - com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, - com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder>( - dataSources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + dataSourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.DataSource, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder>( + dataSources_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); dataSources_ = null; } return dataSourcesBuilder_; @@ -976,8 +875,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourc private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -986,13 +883,13 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourc
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1001,8 +898,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1011,14 +906,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1026,8 +922,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1036,22 +930,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1060,7 +950,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1070,8 +959,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1080,23 +967,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,43 +991,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataSourcesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataSourcesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1154,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java similarity index 73% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java index 8d3b4d1ac5ad..34724b45911f 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * 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; -public interface ListDataSourcesResponseOrBuilder - extends +public interface ListDataSourcesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - java.util.List getDataSourcesList(); + java.util.List + getDataSourcesList(); /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
@@ -45,8 +26,6 @@ public interface ListDataSourcesResponseOrBuilder */ com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSources(int index); /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
@@ -55,30 +34,25 @@ public interface ListDataSourcesResponseOrBuilder */ int getDataSourcesCount(); /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - java.util.List + java.util.List getDataSourcesOrBuilderList(); /** - * - * *
    * List of supported data sources and their transfer settings.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBuilder(int index); + com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBuilder( + int index); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -87,13 +61,10 @@ public interface ListDataSourcesResponseOrBuilder
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -102,8 +73,8 @@ public interface ListDataSourcesResponseOrBuilder
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java similarity index 68% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java index a0b68db45243..b30b06196e19 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,68 +5,59 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to list data transfers configured for a BigQuery project.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest} */ -public final class ListTransferConfigsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferConfigsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) ListTransferConfigsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferConfigsRequest.newBuilder() to construct. private ListTransferConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferConfigsRequest() { parent_ = ""; - dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + dataSourceIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferConfigsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_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_ListTransferConfigsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,47 +99,38 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int DATA_SOURCE_IDS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; - * * @return A list containing the dataSourceIds. */ - public com.google.protobuf.ProtocolStringList getDataSourceIdsList() { + public com.google.protobuf.ProtocolStringList + getDataSourceIdsList() { return dataSourceIds_; } /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; - * * @return The count of dataSourceIds. */ public int getDataSourceIdsCount() { return dataSourceIds_.size(); } /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; - * * @param index The index of the element to return. * @return The dataSourceIds at the given index. */ @@ -173,28 +138,23 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * 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) { + public com.google.protobuf.ByteString + getDataSourceIdsBytes(int index) { return dataSourceIds_.getByteString(index); } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -204,7 +164,6 @@ public com.google.protobuf.ByteString getDataSourceIdsBytes(int index) {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -213,15 +172,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -231,15 +189,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -250,14 +209,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -266,7 +222,6 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,7 +233,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -315,7 +271,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -325,18 +282,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other = - (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getDataSourceIdsList().equals(other.getDataSourceIdsList())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getDataSourceIdsList() + .equals(other.getDataSourceIdsList())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -364,160 +324,152 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest 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.ListTransferConfigsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsRequest 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.ListTransferConfigsRequest 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.ListTransferConfigsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - 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.ListTransferConfigsRequest 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.ListTransferConfigsRequest - 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.ListTransferConfigsRequest 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.ListTransferConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListTransferConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to list data transfers configured for a BigQuery project.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_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_ListTransferConfigsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; parent_ = ""; - dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + dataSourceIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); pageToken_ = ""; pageSize_ = 0; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.getDefaultInstance(); } @java.lang.Override @@ -531,17 +483,13 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest buil @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result = - new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -562,51 +510,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -656,38 +599,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureDataSourceIdsIsMutable(); - dataSourceIds_.add(s); - break; - } // case 18 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureDataSourceIdsIsMutable(); + dataSourceIds_.add(s); + break; + } // case 18 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -697,29 +635,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -728,25 +661,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -754,43 +684,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -800,25 +719,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -828,7 +741,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureDataSourceIdsIsMutable() { if (!dataSourceIds_.isModifiable()) { dataSourceIds_ = new com.google.protobuf.LazyStringArrayList(dataSourceIds_); @@ -836,43 +748,35 @@ private void ensureDataSourceIdsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; - * * @return A list containing the dataSourceIds. */ - public com.google.protobuf.ProtocolStringList getDataSourceIdsList() { + public com.google.protobuf.ProtocolStringList + getDataSourceIdsList() { dataSourceIds_.makeImmutable(); return dataSourceIds_; } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; - * * @return The count of dataSourceIds. */ public int getDataSourceIdsCount() { return dataSourceIds_.size(); } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; - * * @param index The index of the element to return. * @return The dataSourceIds at the given index. */ @@ -880,37 +784,31 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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) { + public com.google.protobuf.ByteString + getDataSourceIdsBytes(int index) { return dataSourceIds_.getByteString(index); } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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(); - } + public Builder setDataSourceIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDataSourceIdsIsMutable(); dataSourceIds_.set(index, value); bitField0_ |= 0x00000002; @@ -918,21 +816,17 @@ public Builder setDataSourceIds(int index, java.lang.String value) { return this; } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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(); - } + public Builder addDataSourceIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); bitField0_ |= 0x00000002; @@ -940,58 +834,50 @@ public Builder addDataSourceIds(java.lang.String value) { return this; } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; - * * @param values The dataSourceIds to add. * @return This builder for chaining. */ - public Builder addAllDataSourceIds(java.lang.Iterable values) { + public Builder addAllDataSourceIds( + java.lang.Iterable values) { ensureDataSourceIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataSourceIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataSourceIds_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; - * * @return This builder for chaining. */ public Builder clearDataSourceIds() { - dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + dataSourceIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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(); - } + public Builder addDataSourceIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); @@ -1002,8 +888,6 @@ public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -1013,13 +897,13 @@ public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1028,8 +912,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -1039,14 +921,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1054,8 +937,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -1065,22 +946,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -1090,7 +967,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1100,8 +976,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -1111,14 +985,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1126,16 +998,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1143,14 +1012,11 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1162,14 +1028,11 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1178,9 +1041,9 @@ public Builder clearPageSize() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1190,43 +1053,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferConfigsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferConfigsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1238,8 +1099,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java similarity index 70% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java index 8dd0c1b478d1..d64042310a6c 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java @@ -1,116 +1,79 @@ -/* - * 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; -public interface ListTransferConfigsRequestOrBuilder - extends +public interface ListTransferConfigsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; - * * @return A list containing the dataSourceIds. */ - java.util.List getDataSourceIdsList(); + java.util.List + getDataSourceIdsList(); /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; - * * @return The count of dataSourceIds. */ int getDataSourceIdsCount(); /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * 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); /** - * - * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * 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); + com.google.protobuf.ByteString + getDataSourceIdsBytes(int index); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -120,13 +83,10 @@ public interface ListTransferConfigsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -136,20 +96,17 @@ public interface ListTransferConfigsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java similarity index 62% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java index cd105c609638..d5d381e1b328 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * The returned list of pipelines in the project.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse} */ -public final class ListTransferConfigsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferConfigsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) ListTransferConfigsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferConfigsResponse.newBuilder() to construct. private ListTransferConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferConfigsResponse() { transferConfigs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,115 +27,89 @@ private ListTransferConfigsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferConfigsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_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_ListTransferConfigsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); } public static final int TRANSFER_CONFIGS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List transferConfigs_; /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getTransferConfigsList() { + public java.util.List getTransferConfigsList() { return transferConfigs_; } /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getTransferConfigsOrBuilderList() { return transferConfigs_; } /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getTransferConfigsCount() { return transferConfigs_.size(); } /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfigs(int index) { return transferConfigs_.get(index); } /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder - getTransferConfigsOrBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigsOrBuilder( + int index) { return transferConfigs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -162,7 +118,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -171,15 +126,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -188,15 +142,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -205,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < transferConfigs_.size(); i++) { output.writeMessage(1, transferConfigs_.get(i)); } @@ -234,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, transferConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -247,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other = - (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) obj; - if (!getTransferConfigsList().equals(other.getTransferConfigsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTransferConfigsList() + .equals(other.getTransferConfigsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -280,138 +237,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse 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.ListTransferConfigsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsResponse 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.ListTransferConfigsResponse 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.ListTransferConfigsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - 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.ListTransferConfigsResponse 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.ListTransferConfigsResponse - 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.ListTransferConfigsResponse 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.ListTransferConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListTransferConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The returned list of pipelines in the project.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_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_ListTransferConfigsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -428,16 +378,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.getDefaultInstance(); } @java.lang.Override @@ -451,18 +399,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse bui @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result = - new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { if (transferConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { transferConfigs_ = java.util.Collections.unmodifiableList(transferConfigs_); @@ -474,8 +418,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -486,51 +429,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.getDefaultInstance()) return this; if (transferConfigsBuilder_ == null) { if (!other.transferConfigs_.isEmpty()) { if (transferConfigs_.isEmpty()) { @@ -549,10 +487,9 @@ public Builder mergeFrom( transferConfigsBuilder_ = null; transferConfigs_ = other.transferConfigs_; bitField0_ = (bitField0_ & ~0x00000001); - transferConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTransferConfigsFieldBuilder() - : null; + transferConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTransferConfigsFieldBuilder() : null; } else { transferConfigsBuilder_.addAllMessages(other.transferConfigs_); } @@ -589,33 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.datatransfer.v1.TransferConfig m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.parser(), - extensionRegistry); - if (transferConfigsBuilder_ == null) { - ensureTransferConfigsIsMutable(); - transferConfigs_.add(m); - } else { - transferConfigsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.bigquery.datatransfer.v1.TransferConfig m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.parser(), + extensionRegistry); + if (transferConfigsBuilder_ == null) { + ensureTransferConfigsIsMutable(); + transferConfigs_.add(m); + } else { + transferConfigsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -625,40 +559,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - transferConfigs_ = java.util.Collections.emptyList(); - + private java.util.List transferConfigs_ = + java.util.Collections.emptyList(); private void ensureTransferConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferConfigs_ = - new java.util.ArrayList( - transferConfigs_); + transferConfigs_ = new java.util.ArrayList(transferConfigs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> - transferConfigsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> transferConfigsBuilder_; /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTransferConfigsList() { + public java.util.List getTransferConfigsList() { if (transferConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(transferConfigs_); } else { @@ -666,15 +588,11 @@ private void ensureTransferConfigsIsMutable() { } } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getTransferConfigsCount() { if (transferConfigsBuilder_ == null) { @@ -684,15 +602,11 @@ public int getTransferConfigsCount() { } } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfigs(int index) { if (transferConfigsBuilder_ == null) { @@ -702,15 +616,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi } } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTransferConfigs( int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { @@ -727,19 +637,14 @@ public Builder setTransferConfigs( return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTransferConfigs( - int index, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { if (transferConfigsBuilder_ == null) { ensureTransferConfigsIsMutable(); transferConfigs_.set(index, builderForValue.build()); @@ -750,18 +655,13 @@ public Builder setTransferConfigs( return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addTransferConfigs( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder addTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -775,15 +675,11 @@ public Builder addTransferConfigs( return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferConfigs( int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { @@ -800,15 +696,11 @@ public Builder addTransferConfigs( return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferConfigs( com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { @@ -822,19 +714,14 @@ public Builder addTransferConfigs( return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferConfigs( - int index, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { if (transferConfigsBuilder_ == null) { ensureTransferConfigsIsMutable(); transferConfigs_.add(index, builderForValue.build()); @@ -845,22 +732,18 @@ public Builder addTransferConfigs( return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllTransferConfigs( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (transferConfigsBuilder_ == null) { ensureTransferConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, transferConfigs_); onChanged(); } else { transferConfigsBuilder_.addAllMessages(values); @@ -868,15 +751,11 @@ public Builder addAllTransferConfigs( return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTransferConfigs() { if (transferConfigsBuilder_ == null) { @@ -889,15 +768,11 @@ public Builder clearTransferConfigs() { return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeTransferConfigs(int index) { if (transferConfigsBuilder_ == null) { @@ -910,53 +785,39 @@ public Builder removeTransferConfigs(int index) { return this; } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder - getTransferConfigsBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder getTransferConfigsBuilder( + int index) { return getTransferConfigsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder - getTransferConfigsOrBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigsOrBuilder( + int index) { if (transferConfigsBuilder_ == null) { - return transferConfigs_.get(index); - } else { + return transferConfigs_.get(index); } else { return transferConfigsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - ? extends com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> - getTransferConfigsOrBuilderList() { + public java.util.List + getTransferConfigsOrBuilderList() { if (transferConfigsBuilder_ != null) { return transferConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -964,66 +825,45 @@ public Builder removeTransferConfigs(int index) { } } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder - addTransferConfigsBuilder() { - return getTransferConfigsFieldBuilder() - .addBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder addTransferConfigsBuilder() { + return getTransferConfigsFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder - addTransferConfigsBuilder(int index) { - return getTransferConfigsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder addTransferConfigsBuilder( + int index) { + return getTransferConfigsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); } /** - * - * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTransferConfigsBuilderList() { + public java.util.List + getTransferConfigsBuilderList() { return getTransferConfigsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> getTransferConfigsFieldBuilder() { if (transferConfigsBuilder_ == null) { - transferConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( + transferConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( transferConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1035,8 +875,6 @@ public Builder removeTransferConfigs(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1045,13 +883,13 @@ public Builder removeTransferConfigs(int index) {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1060,8 +898,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1070,14 +906,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1085,8 +922,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1095,22 +930,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1119,7 +950,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1129,8 +959,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1139,23 +967,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1165,43 +991,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferConfigsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferConfigsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1213,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java similarity index 55% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java index e860a8617300..a5421827d475 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java @@ -1,95 +1,58 @@ -/* - * 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; -public interface ListTransferConfigsResponseOrBuilder - extends +public interface ListTransferConfigsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getTransferConfigsList(); + java.util.List + getTransferConfigsList(); /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfigs(int index); /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getTransferConfigsCount(); /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getTransferConfigsOrBuilderList(); /** - * - * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigsOrBuilder( int index); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -98,13 +61,10 @@ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferCon
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -113,8 +73,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferCon
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java similarity index 65% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java index 6298b8237c29..551e5a547230 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to get user facing log messages associated with data transfer run.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest} */ -public final class ListTransferLogsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferLogsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) ListTransferLogsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferLogsRequest.newBuilder() to construct. private ListTransferLogsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferLogsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,42 +28,35 @@ private ListTransferLogsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferLogsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_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_ListTransferLogsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +65,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,12 +98,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -140,7 +110,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -149,15 +118,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -167,15 +135,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -186,14 +155,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_ = 0; /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -202,62 +168,38 @@ public int getPageSize() { } public static final int MESSAGE_TYPES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private java.util.List messageTypes_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity> - messageTypes_converter_ = + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity> messageTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>() { - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity - convert(java.lang.Integer from) { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity - .forNumber(from); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity - .UNRECOGNIZED - : result; + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>() { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity convert(java.lang.Integer from) { + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber(from); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED : result; } }; /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return A list containing the messageTypes. */ @java.lang.Override - public java.util.List - getMessageTypesList() { + public java.util.List getMessageTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>( - messageTypes_, messageTypes_converter_); + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>(messageTypes_, messageTypes_converter_); } /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return The count of messageTypes. */ @java.lang.Override @@ -265,55 +207,40 @@ public int getMessageTypesCount() { return messageTypes_.size(); } /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index of the element to return. * @return The messageTypes at the given index. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes(int index) { return messageTypes_converter_.convert(messageTypes_.get(index)); } /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return A list containing the enum numeric values on the wire for messageTypes. */ @java.lang.Override - public java.util.List getMessageTypesValueList() { + public java.util.List + getMessageTypesValueList() { return messageTypes_; } /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index of the value to return. * @return The enum numeric value on the wire of messageTypes at the given index. */ @@ -321,11 +248,9 @@ public java.util.List getMessageTypesValueList() { public int getMessageTypesValue(int index) { return messageTypes_.get(index); } - private int messageTypesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +262,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -371,20 +297,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, pageSize_); } { int dataSize = 0; for (int i = 0; i < messageTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(messageTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(messageTypes_.get(i)); } size += dataSize; - if (!getMessageTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - messageTypesMemoizedSerializedSize = dataSize; + if (!getMessageTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }messageTypesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -394,17 +320,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other = - (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (!messageTypes_.equals(other.messageTypes_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -433,138 +361,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest 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.ListTransferLogsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsRequest 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.ListTransferLogsRequest 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.ListTransferLogsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest - 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.ListTransferLogsRequest 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.ListTransferLogsRequest - 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.ListTransferLogsRequest 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.ListTransferLogsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListTransferLogsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to get user facing log messages associated with data transfer run.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_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_ListTransferLogsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -578,14 +499,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance(); } @@ -600,18 +520,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result = - new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { if (((bitField0_ & 0x00000008) != 0)) { messageTypes_ = java.util.Collections.unmodifiableList(messageTypes_); bitField0_ = (bitField0_ & ~0x00000008); @@ -619,8 +535,7 @@ private void buildPartialRepeatedFields( result.messageTypes_ = messageTypes_; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -637,50 +552,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -730,50 +641,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 34 - case 40: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 40 - case 48: - { + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 34: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 34 + case 40: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 40 + case 48: { + int tmpRaw = input.readEnum(); + ensureMessageTypesIsMutable(); + messageTypes_.add(tmpRaw); + break; + } // case 48 + case 50: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureMessageTypesIsMutable(); messageTypes_.add(tmpRaw); - break; - } // case 48 - case 50: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureMessageTypesIsMutable(); - messageTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -783,29 +688,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -814,25 +714,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -840,43 +737,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -886,25 +772,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -914,8 +794,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -925,13 +803,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -940,8 +818,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -951,14 +827,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -966,8 +843,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -977,22 +852,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -1002,7 +873,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1012,8 +882,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -1023,14 +891,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; @@ -1038,16 +904,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -1055,14 +918,11 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 5; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1074,14 +934,11 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 5; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1091,8 +948,8 @@ public Builder clearPageSize() { return this; } - private java.util.List messageTypes_ = java.util.Collections.emptyList(); - + private java.util.List messageTypes_ = + java.util.Collections.emptyList(); private void ensureMessageTypesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { messageTypes_ = new java.util.ArrayList(messageTypes_); @@ -1100,81 +957,56 @@ private void ensureMessageTypesIsMutable() { } } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return A list containing the messageTypes. */ - public java.util.List - getMessageTypesList() { + public java.util.List getMessageTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>( - messageTypes_, messageTypes_converter_); + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>(messageTypes_, messageTypes_converter_); } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return The count of messageTypes. */ public int getMessageTypesCount() { return messageTypes_.size(); } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index of the element to return. * @return The messageTypes at the given index. */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity - getMessageTypes(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes(int index) { return messageTypes_converter_.convert(messageTypes_.get(index)); } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index to set the value at. * @param value The messageTypes to set. * @return This builder for chaining. */ public Builder setMessageTypes( - int index, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { + int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { if (value == null) { throw new NullPointerException(); } @@ -1184,22 +1016,16 @@ public Builder setMessageTypes( return this; } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param value The messageTypes to add. * @return This builder for chaining. */ - public Builder addMessageTypes( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { + public Builder addMessageTypes(com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { if (value == null) { throw new NullPointerException(); } @@ -1209,44 +1035,31 @@ public Builder addMessageTypes( return this; } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param values The messageTypes to add. * @return This builder for chaining. */ public Builder addAllMessageTypes( - java.lang.Iterable< - ? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity> - values) { + java.lang.Iterable values) { ensureMessageTypesIsMutable(); - for (com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value : - values) { + for (com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value : values) { messageTypes_.add(value.getNumber()); } onChanged(); return this; } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return This builder for chaining. */ public Builder clearMessageTypes() { @@ -1256,34 +1069,25 @@ public Builder clearMessageTypes() { return this; } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return A list containing the enum numeric values on the wire for messageTypes. */ - public java.util.List getMessageTypesValueList() { + public java.util.List + getMessageTypesValueList() { return java.util.Collections.unmodifiableList(messageTypes_); } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index of the value to return. * @return The enum numeric value on the wire of messageTypes at the given index. */ @@ -1291,39 +1095,30 @@ public int getMessageTypesValue(int index) { return messageTypes_.get(index); } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index to set the value at. * @param value The enum numeric value on the wire for messageTypes to set. * @return This builder for chaining. */ - public Builder setMessageTypesValue(int index, int value) { + public Builder setMessageTypesValue( + int index, int value) { ensureMessageTypesIsMutable(); messageTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param value The enum numeric value on the wire for messageTypes to add. * @return This builder for chaining. */ @@ -1334,21 +1129,17 @@ public Builder addMessageTypesValue(int value) { return this; } /** - * - * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param values The enum numeric values on the wire for messageTypes to add. * @return This builder for chaining. */ - public Builder addAllMessageTypesValue(java.lang.Iterable values) { + public Builder addAllMessageTypesValue( + java.lang.Iterable values) { ensureMessageTypesIsMutable(); for (int value : values) { messageTypes_.add(value); @@ -1356,9 +1147,9 @@ public Builder addAllMessageTypesValue(java.lang.Iterable val onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1368,43 +1159,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferLogsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferLogsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1416,8 +1205,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java similarity index 62% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java index c1f81c9eca98..ac328bd5f25d 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java @@ -1,65 +1,38 @@ -/* - * 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; -public interface ListTransferLogsRequestOrBuilder - extends +public interface ListTransferLogsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -69,13 +42,10 @@ public interface ListTransferLogsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -85,99 +55,70 @@ public interface ListTransferLogsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return A list containing the messageTypes. */ - java.util.List - getMessageTypesList(); + java.util.List getMessageTypesList(); /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return The count of messageTypes. */ int getMessageTypesCount(); /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index of the element to return. * @return The messageTypes at the given index. */ - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes( - int index); + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes(int index); /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @return A list containing the enum numeric values on the wire for messageTypes. */ - java.util.List getMessageTypesValueList(); + java.util.List + getMessageTypesValueList(); /** - * - * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; - * - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; * @param index The index of the value to return. * @return The enum numeric value on the wire of messageTypes at the given index. */ diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java similarity index 62% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java index e5c856f18b85..84ea5d2a7f55 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * The returned list transfer run messages.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse} */ -public final class ListTransferLogsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferLogsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) ListTransferLogsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferLogsResponse.newBuilder() to construct. private ListTransferLogsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferLogsResponse() { transferMessages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,117 +27,89 @@ private ListTransferLogsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferLogsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_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_ListTransferLogsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); } public static final int TRANSFER_MESSAGES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - transferMessages_; + private java.util.List transferMessages_; /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getTransferMessagesList() { + public java.util.List getTransferMessagesList() { return transferMessages_; } /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> + public java.util.List getTransferMessagesOrBuilderList() { return transferMessages_; } /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getTransferMessagesCount() { return transferMessages_.size(); } /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages(int index) { return transferMessages_.get(index); } /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder - getTransferMessagesOrBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMessagesOrBuilder( + int index) { return transferMessages_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -164,7 +118,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMess
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -173,15 +126,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -190,15 +142,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -207,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < transferMessages_.size(); i++) { output.writeMessage(1, transferMessages_.get(i)); } @@ -236,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferMessages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferMessages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, transferMessages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -249,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other = - (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) obj; - if (!getTransferMessagesList().equals(other.getTransferMessagesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTransferMessagesList() + .equals(other.getTransferMessagesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -282,138 +237,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse 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.ListTransferLogsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsResponse 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.ListTransferLogsResponse 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.ListTransferLogsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - 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.ListTransferLogsResponse 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.ListTransferLogsResponse - 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.ListTransferLogsResponse 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.ListTransferLogsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListTransferLogsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The returned list transfer run messages.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_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_ListTransferLogsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -430,16 +378,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.getDefaultInstance(); } @java.lang.Override @@ -453,18 +399,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result = - new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { if (transferMessagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { transferMessages_ = java.util.Collections.unmodifiableList(transferMessages_); @@ -476,8 +418,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -488,51 +429,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.getDefaultInstance()) return this; if (transferMessagesBuilder_ == null) { if (!other.transferMessages_.isEmpty()) { if (transferMessages_.isEmpty()) { @@ -551,10 +487,9 @@ public Builder mergeFrom( transferMessagesBuilder_ = null; transferMessages_ = other.transferMessages_; bitField0_ = (bitField0_ & ~0x00000001); - transferMessagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTransferMessagesFieldBuilder() - : null; + transferMessagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTransferMessagesFieldBuilder() : null; } else { transferMessagesBuilder_.addAllMessages(other.transferMessages_); } @@ -591,33 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.parser(), - extensionRegistry); - if (transferMessagesBuilder_ == null) { - ensureTransferMessagesIsMutable(); - transferMessages_.add(m); - } else { - transferMessagesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.bigquery.datatransfer.v1.TransferMessage m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.parser(), + extensionRegistry); + if (transferMessagesBuilder_ == null) { + ensureTransferMessagesIsMutable(); + transferMessages_.add(m); + } else { + transferMessagesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -627,40 +559,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - transferMessages_ = java.util.Collections.emptyList(); - + private java.util.List transferMessages_ = + java.util.Collections.emptyList(); private void ensureTransferMessagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferMessages_ = - new java.util.ArrayList( - transferMessages_); + transferMessages_ = new java.util.ArrayList(transferMessages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferMessage, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> - transferMessagesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferMessage, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> transferMessagesBuilder_; /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTransferMessagesList() { + public java.util.List getTransferMessagesList() { if (transferMessagesBuilder_ == null) { return java.util.Collections.unmodifiableList(transferMessages_); } else { @@ -668,15 +588,11 @@ private void ensureTransferMessagesIsMutable() { } } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getTransferMessagesCount() { if (transferMessagesBuilder_ == null) { @@ -686,18 +602,13 @@ public int getTransferMessagesCount() { } } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages(int index) { if (transferMessagesBuilder_ == null) { return transferMessages_.get(index); } else { @@ -705,15 +616,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMess } } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTransferMessages( int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { @@ -730,19 +637,14 @@ public Builder setTransferMessages( return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTransferMessages( - int index, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { if (transferMessagesBuilder_ == null) { ensureTransferMessagesIsMutable(); transferMessages_.set(index, builderForValue.build()); @@ -753,18 +655,13 @@ public Builder setTransferMessages( return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addTransferMessages( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { + public Builder addTransferMessages(com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { if (transferMessagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -778,15 +675,11 @@ public Builder addTransferMessages( return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferMessages( int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { @@ -803,15 +696,11 @@ public Builder addTransferMessages( return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferMessages( com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { @@ -825,19 +714,14 @@ public Builder addTransferMessages( return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferMessages( - int index, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { + int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { if (transferMessagesBuilder_ == null) { ensureTransferMessagesIsMutable(); transferMessages_.add(index, builderForValue.build()); @@ -848,22 +732,18 @@ public Builder addTransferMessages( return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllTransferMessages( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (transferMessagesBuilder_ == null) { ensureTransferMessagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferMessages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, transferMessages_); onChanged(); } else { transferMessagesBuilder_.addAllMessages(values); @@ -871,15 +751,11 @@ public Builder addAllTransferMessages( return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTransferMessages() { if (transferMessagesBuilder_ == null) { @@ -892,15 +768,11 @@ public Builder clearTransferMessages() { return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeTransferMessages(int index) { if (transferMessagesBuilder_ == null) { @@ -913,53 +785,39 @@ public Builder removeTransferMessages(int index) { return this; } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder - getTransferMessagesBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder getTransferMessagesBuilder( + int index) { return getTransferMessagesFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder - getTransferMessagesOrBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMessagesOrBuilder( + int index) { if (transferMessagesBuilder_ == null) { - return transferMessages_.get(index); - } else { + return transferMessages_.get(index); } else { return transferMessagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - ? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> - getTransferMessagesOrBuilderList() { + public java.util.List + getTransferMessagesOrBuilderList() { if (transferMessagesBuilder_ != null) { return transferMessagesBuilder_.getMessageOrBuilderList(); } else { @@ -967,67 +825,45 @@ public Builder removeTransferMessages(int index) { } } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder - addTransferMessagesBuilder() { - return getTransferMessagesFieldBuilder() - .addBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder addTransferMessagesBuilder() { + return getTransferMessagesFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder - addTransferMessagesBuilder(int index) { - return getTransferMessagesFieldBuilder() - .addBuilder( - index, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder addTransferMessagesBuilder( + int index) { + return getTransferMessagesFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); } /** - * - * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTransferMessagesBuilderList() { + public java.util.List + getTransferMessagesBuilderList() { return getTransferMessagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferMessage, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferMessage, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> getTransferMessagesFieldBuilder() { if (transferMessagesBuilder_ == null) { - transferMessagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferMessage, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder>( + transferMessagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferMessage, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder>( transferMessages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1039,8 +875,6 @@ public Builder removeTransferMessages(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1049,13 +883,13 @@ public Builder removeTransferMessages(int index) {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1064,8 +898,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1074,14 +906,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1089,8 +922,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1099,22 +930,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1123,7 +950,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1133,8 +959,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1143,23 +967,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1169,43 +991,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferLogsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferLogsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1217,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java similarity index 55% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java index b373aa1ef5fb..2e3c0bdb30d5 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java @@ -1,96 +1,58 @@ -/* - * 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; -public interface ListTransferLogsResponseOrBuilder - extends +public interface ListTransferLogsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getTransferMessagesList(); /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages(int index); /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getTransferMessagesCount(); /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getTransferMessagesOrBuilderList(); /** - * - * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMessagesOrBuilder( int index); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -99,13 +61,10 @@ com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMe
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -114,8 +73,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMe
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java similarity index 69% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java index 99913d8a9223..fc8b3fafa007 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to list data transfer runs.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest} */ -public final class ListTransferRunsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferRunsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) ListTransferRunsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferRunsRequest.newBuilder() to construct. private ListTransferRunsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferRunsRequest() { parent_ = ""; states_ = java.util.Collections.emptyList(); @@ -47,38 +29,34 @@ private ListTransferRunsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferRunsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_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_ListTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); } /** - * - * *
    * Represents which runs should be pulled.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt} */ - public enum RunAttempt implements com.google.protobuf.ProtocolMessageEnum { + public enum RunAttempt + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * All runs should be returned.
      * 
@@ -87,8 +65,6 @@ public enum RunAttempt implements com.google.protobuf.ProtocolMessageEnum { */ RUN_ATTEMPT_UNSPECIFIED(0), /** - * - * *
      * Only latest run per day should be returned.
      * 
@@ -100,8 +76,6 @@ public enum RunAttempt implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * All runs should be returned.
      * 
@@ -110,8 +84,6 @@ public enum RunAttempt implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUN_ATTEMPT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Only latest run per day should be returned.
      * 
@@ -120,6 +92,7 @@ public enum RunAttempt implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LATEST_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -144,49 +117,48 @@ public static RunAttempt valueOf(int value) { */ public static RunAttempt forNumber(int value) { switch (value) { - case 0: - return RUN_ATTEMPT_UNSPECIFIED; - case 1: - return LATEST; - default: - return null; + case 0: return RUN_ATTEMPT_UNSPECIFIED; + case 1: return LATEST; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RunAttempt> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RunAttempt findValueByNumber(int number) { + return RunAttempt.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RunAttempt findValueByNumber(int number) { - return RunAttempt.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDescriptor().getEnumTypes().get(0); } private static final RunAttempt[] VALUES = values(); - public static RunAttempt valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RunAttempt valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -204,12 +176,9 @@ private RunAttempt(int value) { } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -217,10 +186,7 @@ private RunAttempt(int value) {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -229,15 +195,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -245,18 +210,17 @@ public java.lang.String getParent() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -265,50 +229,36 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int STATES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List states_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState> - states_converter_ = + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState> states_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>() { - public com.google.cloud.bigquery.datatransfer.v1.TransferState convert( - java.lang.Integer from) { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = - com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(from); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED - : result; + public com.google.cloud.bigquery.datatransfer.v1.TransferState convert(java.lang.Integer from) { + com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(from); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; } }; /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return A list containing the states. */ @java.lang.Override public java.util.List getStatesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>( - states_, states_converter_); + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>(states_, states_converter_); } /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return The count of states. */ @java.lang.Override @@ -316,14 +266,11 @@ public int getStatesCount() { return states_.size(); } /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index of the element to return. * @return The states at the given index. */ @@ -332,29 +279,24 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int ind return states_converter_.convert(states_.get(index)); } /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return A list containing the enum numeric values on the wire for states. */ @java.lang.Override - public java.util.List getStatesValueList() { + public java.util.List + getStatesValueList() { return states_; } /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of states at the given index. */ @@ -362,16 +304,12 @@ public java.util.List getStatesValueList() { public int getStatesValue(int index) { return states_.get(index); } - private int statesMemoizedSerializedSize; public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -381,7 +319,6 @@ public int getStatesValue(int index) {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -390,15 +327,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -408,15 +344,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -427,14 +364,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -445,48 +379,30 @@ public int getPageSize() { public static final int RUN_ATTEMPT_FIELD_NUMBER = 5; private int runAttempt_ = 0; /** - * - * *
    * Indicates how run attempts are to be pulled.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @return The enum numeric value on the wire for runAttempt. */ - @java.lang.Override - public int getRunAttemptValue() { + @java.lang.Override public int getRunAttemptValue() { return runAttempt_; } /** - * - * *
    * Indicates how run attempts are to be pulled.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @return The runAttempt. */ - @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt - getRunAttempt() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber( - runAttempt_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt getRunAttempt() { + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber(runAttempt_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -498,7 +414,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -516,10 +433,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (pageSize_ != 0) { output.writeInt32(4, pageSize_); } - if (runAttempt_ - != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt - .RUN_ATTEMPT_UNSPECIFIED - .getNumber()) { + if (runAttempt_ != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.RUN_ATTEMPT_UNSPECIFIED.getNumber()) { output.writeEnum(5, runAttempt_); } getUnknownFields().writeTo(output); @@ -537,26 +451,25 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < states_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(states_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(states_.get(i)); } size += dataSize; - if (!getStatesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - statesMemoizedSerializedSize = dataSize; + if (!getStatesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }statesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } - if (runAttempt_ - != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt - .RUN_ATTEMPT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, runAttempt_); + if (runAttempt_ != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.RUN_ATTEMPT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, runAttempt_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -566,18 +479,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other = - (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!states_.equals(other.states_)) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (runAttempt_ != other.runAttempt_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -608,138 +523,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest 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.ListTransferRunsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsRequest 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.ListTransferRunsRequest 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.ListTransferRunsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest - 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.ListTransferRunsRequest 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.ListTransferRunsRequest - 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.ListTransferRunsRequest 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.ListTransferRunsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListTransferRunsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to list data transfer runs.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_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_ListTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -754,14 +662,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance(); } @@ -776,18 +683,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result = - new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { if (((bitField0_ & 0x00000002) != 0)) { states_ = java.util.Collections.unmodifiableList(states_); bitField0_ = (bitField0_ & ~0x00000002); @@ -795,8 +698,7 @@ private void buildPartialRepeatedFields( result.states_ = states_; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -816,50 +718,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -912,56 +810,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + int tmpRaw = input.readEnum(); + ensureStatesIsMutable(); + states_.add(tmpRaw); + break; + } // case 16 + case 18: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureStatesIsMutable(); states_.add(tmpRaw); - break; - } // case 16 - case 18: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureStatesIsMutable(); - states_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 18 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - runAttempt_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 18 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + runAttempt_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -971,13 +862,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -985,16 +873,14 @@ public Builder mergeFrom(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1003,8 +889,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -1012,17 +896,16 @@ public java.lang.String getParent() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1030,8 +913,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -1039,25 +920,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -1065,10 +940,7 @@ public Builder setParent(java.lang.String value) {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -1078,8 +950,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -1087,17 +957,13 @@ public Builder clearParent() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1105,8 +971,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List states_ = java.util.Collections.emptyList(); - + private java.util.List states_ = + java.util.Collections.emptyList(); private void ensureStatesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { states_ = new java.util.ArrayList(states_); @@ -1114,44 +980,34 @@ private void ensureStatesIsMutable() { } } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return A list containing the states. */ public java.util.List getStatesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>( - states_, states_converter_); + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>(states_, states_converter_); } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return The count of states. */ public int getStatesCount() { return states_.size(); } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index of the element to return. * @return The states at the given index. */ @@ -1159,14 +1015,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int ind return states_converter_.convert(states_.get(index)); } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index to set the value at. * @param value The states to set. * @return This builder for chaining. @@ -1182,14 +1035,11 @@ public Builder setStates( return this; } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param value The states to add. * @return This builder for chaining. */ @@ -1203,20 +1053,16 @@ public Builder addStates(com.google.cloud.bigquery.datatransfer.v1.TransferState return this; } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param values The states to add. * @return This builder for chaining. */ public Builder addAllStates( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureStatesIsMutable(); for (com.google.cloud.bigquery.datatransfer.v1.TransferState value : values) { states_.add(value.getNumber()); @@ -1225,14 +1071,11 @@ public Builder addAllStates( return this; } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return This builder for chaining. */ public Builder clearStates() { @@ -1242,28 +1085,23 @@ public Builder clearStates() { return this; } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return A list containing the enum numeric values on the wire for states. */ - public java.util.List getStatesValueList() { + public java.util.List + getStatesValueList() { return java.util.Collections.unmodifiableList(states_); } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of states at the given index. */ @@ -1271,33 +1109,28 @@ public int getStatesValue(int index) { return states_.get(index); } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for states to set. * @return This builder for chaining. */ - public Builder setStatesValue(int index, int value) { + public Builder setStatesValue( + int index, int value) { ensureStatesIsMutable(); states_.set(index, value); onChanged(); return this; } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param value The enum numeric value on the wire for states to add. * @return This builder for chaining. */ @@ -1308,18 +1141,16 @@ public Builder addStatesValue(int value) { return this; } /** - * - * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param values The enum numeric values on the wire for states to add. * @return This builder for chaining. */ - public Builder addAllStatesValue(java.lang.Iterable values) { + public Builder addAllStatesValue( + java.lang.Iterable values) { ensureStatesIsMutable(); for (int value : values) { states_.add(value); @@ -1330,8 +1161,6 @@ public Builder addAllStatesValue(java.lang.Iterable values) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1341,13 +1170,13 @@ public Builder addAllStatesValue(java.lang.Iterable values) {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1356,8 +1185,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1367,14 +1194,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1382,8 +1210,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1393,22 +1219,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1418,7 +1240,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1428,8 +1249,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1439,14 +1258,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1454,16 +1271,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1471,14 +1285,11 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1490,14 +1301,11 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1509,33 +1317,22 @@ public Builder clearPageSize() { private int runAttempt_ = 0; /** - * - * *
      * Indicates how run attempts are to be pulled.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @return The enum numeric value on the wire for runAttempt. */ - @java.lang.Override - public int getRunAttemptValue() { + @java.lang.Override public int getRunAttemptValue() { return runAttempt_; } /** - * - * *
      * Indicates how run attempts are to be pulled.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @param value The enum numeric value on the wire for runAttempt to set. * @return This builder for chaining. */ @@ -1546,45 +1343,28 @@ public Builder setRunAttemptValue(int value) { return this; } /** - * - * *
      * Indicates how run attempts are to be pulled.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @return The runAttempt. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt - getRunAttempt() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber( - runAttempt_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt - .UNRECOGNIZED - : result; + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt getRunAttempt() { + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber(runAttempt_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.UNRECOGNIZED : result; } /** - * - * *
      * Indicates how run attempts are to be pulled.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @param value The runAttempt to set. * @return This builder for chaining. */ - public Builder setRunAttempt( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt value) { + public Builder setRunAttempt(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt value) { if (value == null) { throw new NullPointerException(); } @@ -1594,16 +1374,11 @@ public Builder setRunAttempt( return this; } /** - * - * *
      * Indicates how run attempts are to be pulled.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @return This builder for chaining. */ public Builder clearRunAttempt() { @@ -1612,9 +1387,9 @@ public Builder clearRunAttempt() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1624,43 +1399,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferRunsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferRunsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1672,8 +1445,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java similarity index 73% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java index 86f082b0c7b0..fc167c71853b 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * 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; -public interface ListTransferRunsRequestOrBuilder - extends +public interface ListTransferRunsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -34,16 +16,11 @@ public interface ListTransferRunsRequestOrBuilder
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -51,80 +28,62 @@ public interface ListTransferRunsRequestOrBuilder
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return A list containing the states. */ java.util.List getStatesList(); /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return The count of states. */ int getStatesCount(); /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index of the element to return. * @return The states at the given index. */ com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int index); /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @return A list containing the enum numeric values on the wire for states. */ - java.util.List getStatesValueList(); + java.util.List + getStatesValueList(); /** - * - * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of states at the given index. */ int getStatesValue(int index); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -134,13 +93,10 @@ public interface ListTransferRunsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -150,49 +106,36 @@ public interface ListTransferRunsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Indicates how run attempts are to be pulled.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @return The enum numeric value on the wire for runAttempt. */ int getRunAttemptValue(); /** - * - * *
    * Indicates how run attempts are to be pulled.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; - * - * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; * @return The runAttempt. */ com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt getRunAttempt(); diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java similarity index 63% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java index 32bacfa64182..446cf8bf1248 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * The returned list of pipelines in the project.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse} */ -public final class ListTransferRunsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferRunsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) ListTransferRunsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferRunsResponse.newBuilder() to construct. private ListTransferRunsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferRunsResponse() { transferRuns_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,101 +27,78 @@ private ListTransferRunsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferRunsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_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_ListTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); } public static final int TRANSFER_RUNS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List transferRuns_; /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getTransferRunsList() { + public java.util.List getTransferRunsList() { return transferRuns_; } /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getTransferRunsOrBuilderList() { return transferRuns_; } /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getTransferRunsCount() { return transferRuns_.size(); } /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int index) { return transferRuns_.get(index); } /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOrBuilder( @@ -148,12 +107,9 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransfe } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -162,7 +118,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransfe
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -171,15 +126,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -188,15 +142,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -205,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < transferRuns_.size(); i++) { output.writeMessage(1, transferRuns_.get(i)); } @@ -234,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferRuns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferRuns_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, transferRuns_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -247,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other = - (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) obj; - if (!getTransferRunsList().equals(other.getTransferRunsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTransferRunsList() + .equals(other.getTransferRunsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -280,138 +237,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse 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.ListTransferRunsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsResponse 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.ListTransferRunsResponse 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.ListTransferRunsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - 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.ListTransferRunsResponse 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.ListTransferRunsResponse - 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.ListTransferRunsResponse 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.ListTransferRunsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ListTransferRunsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The returned list of pipelines in the project.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_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_ListTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -428,16 +378,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.getDefaultInstance(); } @java.lang.Override @@ -451,18 +399,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result = - new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { if (transferRunsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { transferRuns_ = java.util.Collections.unmodifiableList(transferRuns_); @@ -474,8 +418,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -486,51 +429,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.getDefaultInstance()) return this; if (transferRunsBuilder_ == null) { if (!other.transferRuns_.isEmpty()) { if (transferRuns_.isEmpty()) { @@ -549,10 +487,9 @@ public Builder mergeFrom( transferRunsBuilder_ = null; transferRuns_ = other.transferRuns_; bitField0_ = (bitField0_ & ~0x00000001); - transferRunsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTransferRunsFieldBuilder() - : null; + transferRunsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTransferRunsFieldBuilder() : null; } else { transferRunsBuilder_.addAllMessages(other.transferRuns_); } @@ -589,33 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.datatransfer.v1.TransferRun m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), - extensionRegistry); - if (transferRunsBuilder_ == null) { - ensureTransferRunsIsMutable(); - transferRuns_.add(m); - } else { - transferRunsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.bigquery.datatransfer.v1.TransferRun m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), + extensionRegistry); + if (transferRunsBuilder_ == null) { + ensureTransferRunsIsMutable(); + transferRuns_.add(m); + } else { + transferRunsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -625,40 +559,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List transferRuns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTransferRunsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferRuns_ = - new java.util.ArrayList( - transferRuns_); + transferRuns_ = new java.util.ArrayList(transferRuns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> - transferRunsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> transferRunsBuilder_; /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTransferRunsList() { + public java.util.List getTransferRunsList() { if (transferRunsBuilder_ == null) { return java.util.Collections.unmodifiableList(transferRuns_); } else { @@ -666,15 +588,11 @@ private void ensureTransferRunsIsMutable() { } } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getTransferRunsCount() { if (transferRunsBuilder_ == null) { @@ -684,15 +602,11 @@ public int getTransferRunsCount() { } } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int index) { if (transferRunsBuilder_ == null) { @@ -702,15 +616,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int } } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { @@ -727,15 +637,11 @@ public Builder setTransferRuns( return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder builderForValue) { @@ -749,15 +655,11 @@ public Builder setTransferRuns( return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferRuns(com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (transferRunsBuilder_ == null) { @@ -773,15 +675,11 @@ public Builder addTransferRuns(com.google.cloud.bigquery.datatransfer.v1.Transfe return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { @@ -798,15 +696,11 @@ public Builder addTransferRuns( return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferRuns( com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder builderForValue) { @@ -820,15 +714,11 @@ public Builder addTransferRuns( return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder builderForValue) { @@ -842,22 +732,18 @@ public Builder addTransferRuns( return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllTransferRuns( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (transferRunsBuilder_ == null) { ensureTransferRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferRuns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, transferRuns_); onChanged(); } else { transferRunsBuilder_.addAllMessages(values); @@ -865,15 +751,11 @@ public Builder addAllTransferRuns( return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTransferRuns() { if (transferRunsBuilder_ == null) { @@ -886,15 +768,11 @@ public Builder clearTransferRuns() { return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeTransferRuns(int index) { if (transferRunsBuilder_ == null) { @@ -907,52 +785,39 @@ public Builder removeTransferRuns(int index) { return this; } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getTransferRunsBuilder( int index) { return getTransferRunsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOrBuilder( int index) { if (transferRunsBuilder_ == null) { - return transferRuns_.get(index); - } else { + return transferRuns_.get(index); } else { return transferRunsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTransferRunsOrBuilderList() { + public java.util.List + getTransferRunsOrBuilderList() { if (transferRunsBuilder_ != null) { return transferRunsBuilder_.getMessageOrBuilderList(); } else { @@ -960,65 +825,49 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransfe } } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransferRunsBuilder() { - return getTransferRunsFieldBuilder() - .addBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getTransferRunsFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransferRunsBuilder( int index) { - return getTransferRunsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getTransferRunsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** - * - * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTransferRunsBuilderList() { + public java.util.List + getTransferRunsBuilderList() { return getTransferRunsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> getTransferRunsFieldBuilder() { if (transferRunsBuilder_ == null) { - transferRunsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( - transferRuns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + transferRunsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( + transferRuns_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); transferRuns_ = null; } return transferRunsBuilder_; @@ -1026,8 +875,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransfer private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1036,13 +883,13 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransfer
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1051,8 +898,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1061,14 +906,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1076,8 +922,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1086,22 +930,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1110,7 +950,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1120,8 +959,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -1130,23 +967,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1156,43 +991,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferRunsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferRunsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1204,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java similarity index 55% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java index 441f7eb074c7..a3ebd3673892 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java @@ -1,95 +1,58 @@ -/* - * 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; -public interface ListTransferRunsResponseOrBuilder - extends +public interface ListTransferRunsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getTransferRunsList(); + java.util.List + getTransferRunsList(); /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int index); /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getTransferRunsCount(); /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getTransferRunsOrBuilderList(); /** - * - * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOrBuilder( int index); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -98,13 +61,10 @@ com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOr
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -113,8 +73,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOr
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java similarity index 99% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java similarity index 99% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java new file mode 100644 index 000000000000..70204a76a167 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java @@ -0,0 +1,371 @@ +/* + * 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; + +import com.google.api.core.BetaApi; +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.pathtemplate.ValidationException; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class RunName implements ResourceName { + private static final PathTemplate PROJECT_TRANSFER_CONFIG_RUN = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/transferConfigs/{transfer_config}/runs/{run}"); + private static final PathTemplate PROJECT_LOCATION_TRANSFER_CONFIG_RUN = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/transferConfigs/{transfer_config}/runs/{run}"); + private volatile Map fieldValuesMap; + private PathTemplate pathTemplate; + private String fixedValue; + private final String project; + private final String transferConfig; + private final String run; + private final String location; + + @Deprecated + protected RunName() { + project = null; + transferConfig = null; + run = null; + location = null; + } + + private RunName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); + run = Preconditions.checkNotNull(builder.getRun()); + location = null; + pathTemplate = PROJECT_TRANSFER_CONFIG_RUN; + } + + private RunName(ProjectLocationTransferConfigRunBuilder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); + run = Preconditions.checkNotNull(builder.getRun()); + pathTemplate = PROJECT_LOCATION_TRANSFER_CONFIG_RUN; + } + + public String getProject() { + return project; + } + + public String getTransferConfig() { + return transferConfig; + } + + public String getRun() { + return run; + } + + public String getLocation() { + return location; + } + + public static Builder newBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static Builder newProjectTransferConfigRunBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static ProjectLocationTransferConfigRunBuilder + newProjectLocationTransferConfigRunBuilder() { + return new ProjectLocationTransferConfigRunBuilder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static RunName of(String project, String transferConfig, String run) { + return newBuilder().setProject(project).setTransferConfig(transferConfig).setRun(run).build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static RunName ofProjectTransferConfigRunName( + String project, String transferConfig, String run) { + return newBuilder().setProject(project).setTransferConfig(transferConfig).setRun(run).build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static RunName ofProjectLocationTransferConfigRunName( + String project, String location, String transferConfig, String run) { + return newProjectLocationTransferConfigRunBuilder() + .setProject(project) + .setLocation(location) + .setTransferConfig(transferConfig) + .setRun(run) + .build(); + } + + public static String format(String project, String transferConfig, String run) { + return newBuilder() + .setProject(project) + .setTransferConfig(transferConfig) + .setRun(run) + .build() + .toString(); + } + + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectTransferConfigRunName( + String project, String transferConfig, String run) { + return newBuilder() + .setProject(project) + .setTransferConfig(transferConfig) + .setRun(run) + .build() + .toString(); + } + + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectLocationTransferConfigRunName( + String project, String location, String transferConfig, String run) { + return newProjectLocationTransferConfigRunBuilder() + .setProject(project) + .setLocation(location) + .setTransferConfig(transferConfig) + .setRun(run) + .build() + .toString(); + } + + public static RunName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + if (PROJECT_TRANSFER_CONFIG_RUN.matches(formattedString)) { + Map matchMap = PROJECT_TRANSFER_CONFIG_RUN.match(formattedString); + return ofProjectTransferConfigRunName( + matchMap.get("project"), matchMap.get("transfer_config"), matchMap.get("run")); + } else if (PROJECT_LOCATION_TRANSFER_CONFIG_RUN.matches(formattedString)) { + Map matchMap = PROJECT_LOCATION_TRANSFER_CONFIG_RUN.match(formattedString); + return ofProjectLocationTransferConfigRunName( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("transfer_config"), + matchMap.get("run")); + } + throw new ValidationException("RunName.parse: formattedString not in valid format"); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (RunName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_TRANSFER_CONFIG_RUN.matches(formattedString) + || PROJECT_LOCATION_TRANSFER_CONFIG_RUN.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (transferConfig != null) { + fieldMapBuilder.put("transfer_config", transferConfig); + } + if (run != null) { + fieldMapBuilder.put("run", run); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return fixedValue != null ? fixedValue : pathTemplate.instantiate(getFieldValuesMap()); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + RunName that = ((RunName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.transferConfig, that.transferConfig) + && Objects.equals(this.run, that.run) + && Objects.equals(this.location, that.location); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(fixedValue); + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(transferConfig); + h *= 1000003; + h ^= Objects.hashCode(run); + h *= 1000003; + h ^= Objects.hashCode(location); + return h; + } + + /** Builder for projects/{project}/transferConfigs/{transfer_config}/runs/{run}. */ + public static class Builder { + private String project; + private String transferConfig; + private String run; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getTransferConfig() { + return transferConfig; + } + + public String getRun() { + return run; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setTransferConfig(String transferConfig) { + this.transferConfig = transferConfig; + return this; + } + + public Builder setRun(String run) { + this.run = run; + return this; + } + + private Builder(RunName runName) { + Preconditions.checkArgument( + Objects.equals(runName.pathTemplate, PROJECT_TRANSFER_CONFIG_RUN), + "toBuilder is only supported when RunName has the pattern of projects/{project}/transferConfigs/{transfer_config}/runs/{run}"); + this.project = runName.project; + this.transferConfig = runName.transferConfig; + this.run = runName.run; + } + + public RunName build() { + return new RunName(this); + } + } + + /** + * Builder for + * projects/{project}/locations/{location}/transferConfigs/{transfer_config}/runs/{run}. + */ + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static class ProjectLocationTransferConfigRunBuilder { + private String project; + private String location; + private String transferConfig; + private String run; + + protected ProjectLocationTransferConfigRunBuilder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getTransferConfig() { + return transferConfig; + } + + public String getRun() { + return run; + } + + public ProjectLocationTransferConfigRunBuilder setProject(String project) { + this.project = project; + return this; + } + + public ProjectLocationTransferConfigRunBuilder setLocation(String location) { + this.location = location; + return this; + } + + public ProjectLocationTransferConfigRunBuilder setTransferConfig(String transferConfig) { + this.transferConfig = transferConfig; + return this; + } + + public ProjectLocationTransferConfigRunBuilder setRun(String run) { + this.run = run; + return this; + } + + public RunName build() { + return new RunName(this); + } + } +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java similarity index 76% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java index e1a4c80d4b90..68a2e3729f98 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,53 +5,48 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Options customizing the data transfer schedule.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleOptions} */ -public final class ScheduleOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ScheduleOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ScheduleOptions) ScheduleOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ScheduleOptions.newBuilder() to construct. private ScheduleOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ScheduleOptions() {} + private ScheduleOptions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ScheduleOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); } private int bitField0_; public static final int DISABLE_AUTO_SCHEDULING_FIELD_NUMBER = 3; private boolean disableAutoScheduling_ = false; /** - * - * *
    * If true, automatic scheduling of data transfer runs for this configuration
    * will be disabled. The runs can be started on ad-hoc basis using
@@ -75,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool disable_auto_scheduling = 3; - * * @return The disableAutoScheduling. */ @java.lang.Override @@ -86,8 +65,6 @@ public boolean getDisableAutoScheduling() { public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -97,7 +74,6 @@ public boolean getDisableAutoScheduling() {
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -105,8 +81,6 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -116,7 +90,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -124,8 +97,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -144,8 +115,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -154,7 +123,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -162,8 +130,6 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -172,7 +138,6 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -180,8 +145,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -197,7 +160,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -209,7 +171,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getStartTime());
     }
@@ -229,13 +192,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getStartTime());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEndTime());
     }
     if (disableAutoScheduling_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, disableAutoScheduling_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(3, disableAutoScheduling_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -245,22 +211,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions other =
-        (com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) obj;
+    com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions other = (com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) obj;
 
-    if (getDisableAutoScheduling() != other.getDisableAutoScheduling()) return false;
+    if (getDisableAutoScheduling()
+        != other.getDisableAutoScheduling()) return false;
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime().equals(other.getStartTime())) return false;
+      if (!getStartTime()
+          .equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -274,7 +242,8 @@ public int hashCode() {
     int hash = 41;
     hash = (19 * hash) + getDescriptor().hashCode();
     hash = (37 * hash) + DISABLE_AUTO_SCHEDULING_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableAutoScheduling());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getDisableAutoScheduling());
     if (hasStartTime()) {
       hash = (37 * hash) + START_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getStartTime().hashCode();
@@ -289,127 +258,119 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleOptions parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions 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.ScheduleOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleOptions 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.ScheduleOptions 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.ScheduleOptions parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions 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.ScheduleOptions 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.ScheduleOptions parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      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.ScheduleOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions prototype) {
+  public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Options customizing the data transfer schedule.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ScheduleOptions) com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.newBuilder() @@ -417,18 +378,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -448,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; } @java.lang.Override @@ -469,11 +430,8 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions result = - new com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions result = new com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -485,11 +443,15 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleOpt } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -499,39 +461,38 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleOpt public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions)other); } else { super.mergeFrom(other); return this; @@ -539,8 +500,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) return this; if (other.getDisableAutoScheduling() != false) { setDisableAutoScheduling(other.getDisableAutoScheduling()); } @@ -576,31 +536,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 24: - { - disableAutoScheduling_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 24: { + disableAutoScheduling_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -610,13 +570,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean disableAutoScheduling_; + private boolean disableAutoScheduling_ ; /** - * - * *
      * If true, automatic scheduling of data transfer runs for this configuration
      * will be disabled. The runs can be started on ad-hoc basis using
@@ -625,7 +582,6 @@ public Builder mergeFrom(
      * 
* * bool disable_auto_scheduling = 3; - * * @return The disableAutoScheduling. */ @java.lang.Override @@ -633,8 +589,6 @@ public boolean getDisableAutoScheduling() { return disableAutoScheduling_; } /** - * - * *
      * If true, automatic scheduling of data transfer runs for this configuration
      * will be disabled. The runs can be started on ad-hoc basis using
@@ -643,7 +597,6 @@ public boolean getDisableAutoScheduling() {
      * 
* * bool disable_auto_scheduling = 3; - * * @param value The disableAutoScheduling to set. * @return This builder for chaining. */ @@ -655,8 +608,6 @@ public Builder setDisableAutoScheduling(boolean value) { return this; } /** - * - * *
      * If true, automatic scheduling of data transfer runs for this configuration
      * will be disabled. The runs can be started on ad-hoc basis using
@@ -665,7 +616,6 @@ public Builder setDisableAutoScheduling(boolean value) {
      * 
* * bool disable_auto_scheduling = 3; - * * @return This builder for chaining. */ public Builder clearDisableAutoScheduling() { @@ -677,13 +627,8 @@ public Builder clearDisableAutoScheduling() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -693,15 +638,12 @@ public Builder clearDisableAutoScheduling() {
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -711,7 +653,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -722,8 +663,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -748,8 +687,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -760,7 +697,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 1;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
       } else {
@@ -771,8 +709,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -785,9 +721,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && startTime_ != null
-            && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          startTime_ != null &&
+          startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getStartTimeBuilder().mergeFrom(value);
         } else {
           startTime_ = value;
@@ -802,8 +738,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -825,8 +759,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -843,8 +775,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -859,12 +789,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -876,17 +805,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getStartTime(), getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getStartTime(),
+                getParentForChildren(),
+                isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -894,13 +820,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -909,15 +830,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -926,7 +844,6 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -937,8 +854,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -962,8 +877,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -973,7 +886,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -984,8 +898,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -997,9 +909,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -1014,8 +926,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -1036,8 +946,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -1053,8 +961,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -1068,12 +974,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -1084,24 +989,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1111,12 +1013,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ScheduleOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ScheduleOptions)
   private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions();
   }
@@ -1125,27 +1027,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ScheduleOptions parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ScheduleOptions parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1160,4 +1062,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
similarity index 82%
rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
index 994416368412..ad59e6b42933 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
+++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * 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/transfer.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.cloud.bigquery.datatransfer.v1;
 
-public interface ScheduleOptionsOrBuilder
-    extends
+public interface ScheduleOptionsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ScheduleOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * If true, automatic scheduling of data transfer runs for this configuration
    * will be disabled. The runs can be started on ad-hoc basis using
@@ -35,14 +17,11 @@ public interface ScheduleOptionsOrBuilder
    * 
* * bool disable_auto_scheduling = 3; - * * @return The disableAutoScheduling. */ boolean getDisableAutoScheduling(); /** - * - * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -52,13 +31,10 @@ public interface ScheduleOptionsOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -68,13 +44,10 @@ public interface ScheduleOptionsOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -88,8 +61,6 @@ public interface ScheduleOptionsOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -98,13 +69,10 @@ public interface ScheduleOptionsOrBuilder
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -113,13 +81,10 @@ public interface ScheduleOptionsOrBuilder
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
similarity index 67%
rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
index ee86a8894747..f49fb4abe6d8 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
+++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
@@ -1,18 +1,3 @@
-/*
- * 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
 
@@ -20,67 +5,57 @@
 package com.google.cloud.bigquery.datatransfer.v1;
 
 /**
- *
- *
  * 
  * A request to schedule transfer runs for a time range.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest} */ -public final class ScheduleTransferRunsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ScheduleTransferRunsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) ScheduleTransferRunsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ScheduleTransferRunsRequest.newBuilder() to construct. private ScheduleTransferRunsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ScheduleTransferRunsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ScheduleTransferRunsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_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_ScheduleTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,16 +99,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -143,16 +112,12 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startTime. */ @java.lang.Override @@ -160,15 +125,12 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -178,15 +140,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -194,15 +153,12 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The endTime. */ @java.lang.Override @@ -210,8 +166,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
@@ -225,7 +179,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -237,7 +190,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -260,10 +214,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStartTime());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -273,22 +229,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other =
-        (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) obj;
+    com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime().equals(other.getStartTime())) return false;
+      if (!getStartTime()
+          .equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -317,148 +275,138 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleTransferRunsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest
-      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.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest
-      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.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      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.ScheduleTransferRunsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A request to schedule transfer runs for a time range.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_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_ScheduleTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.newBuilder() + // Construct using com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,16 +426,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.getDefaultInstance(); } @java.lang.Override @@ -501,28 +447,28 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest bui @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result = - new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -532,51 +478,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -614,31 +555,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,29 +589,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -679,25 +615,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -705,43 +638,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -751,25 +673,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -779,37 +695,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -820,15 +725,12 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -844,17 +746,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -865,21 +765,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -894,15 +791,12 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -915,15 +809,12 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000002; @@ -931,46 +822,38 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -978,37 +861,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1019,15 +891,12 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1043,17 +912,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1064,21 +931,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1093,15 +957,12 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1114,15 +975,12 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -1130,53 +988,45 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1186,43 +1036,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ScheduleTransferRunsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ScheduleTransferRunsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1234,8 +1082,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java similarity index 69% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java index 906f4741dbce..75d3a40539d3 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java @@ -1,132 +1,88 @@ -/* - * 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; -public interface ScheduleTransferRunsRequestOrBuilder - extends +public interface ScheduleTransferRunsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
similarity index 67%
rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
index 399505372a18..a82b174e6108 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
+++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
@@ -1,18 +1,3 @@
-/*
- * 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
 
@@ -20,56 +5,49 @@
 package com.google.cloud.bigquery.datatransfer.v1;
 
 /**
- *
- *
  * 
  * A response to schedule transfer runs for a time range.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse} */ -public final class ScheduleTransferRunsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ScheduleTransferRunsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) ScheduleTransferRunsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ScheduleTransferRunsResponse.newBuilder() to construct. private ScheduleTransferRunsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ScheduleTransferRunsResponse() { runs_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ScheduleTransferRunsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_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_ScheduleTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); } public static final int RUNS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List runs_; /** - * - * *
    * The transfer runs that were scheduled.
    * 
@@ -81,8 +59,6 @@ public java.util.List get return runs_; } /** - * - * *
    * The transfer runs that were scheduled.
    * 
@@ -90,13 +66,11 @@ public java.util.List get * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRunsOrBuilderList() { return runs_; } /** - * - * *
    * The transfer runs that were scheduled.
    * 
@@ -108,8 +82,6 @@ public int getRunsCount() { return runs_.size(); } /** - * - * *
    * The transfer runs that were scheduled.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) return runs_.get(index); } /** - * - * *
    * The transfer runs that were scheduled.
    * 
@@ -136,7 +106,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,7 +117,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < runs_.size(); i++) { output.writeMessage(1, runs_.get(i)); } @@ -162,7 +132,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < runs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, runs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, runs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -172,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other = - (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) obj; - if (!getRunsList().equals(other.getRunsList())) return false; + if (!getRunsList() + .equals(other.getRunsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -202,138 +173,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ScheduleTransferRunsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - 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.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse - 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.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.ScheduleTransferRunsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response to schedule transfer runs for a time range.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_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_ScheduleTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -349,22 +313,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse build() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = - buildPartial(); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -373,18 +334,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse bu @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = - new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { if (runsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { runs_ = java.util.Collections.unmodifiableList(runs_); @@ -396,8 +353,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { int from_bitField0_ = bitField0_; } @@ -405,51 +361,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.getDefaultInstance()) return this; if (runsBuilder_ == null) { if (!other.runs_.isEmpty()) { if (runs_.isEmpty()) { @@ -468,10 +419,9 @@ public Builder mergeFrom( runsBuilder_ = null; runs_ = other.runs_; bitField0_ = (bitField0_ & ~0x00000001); - runsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRunsFieldBuilder() - : null; + runsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRunsFieldBuilder() : null; } else { runsBuilder_.addAllMessages(other.runs_); } @@ -503,27 +453,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.datatransfer.v1.TransferRun m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), - extensionRegistry); - if (runsBuilder_ == null) { - ensureRunsIsMutable(); - runs_.add(m); - } else { - runsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.bigquery.datatransfer.v1.TransferRun m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), + extensionRegistry); + if (runsBuilder_ == null) { + ensureRunsIsMutable(); + runs_.add(m); + } else { + runsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -533,29 +481,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List runs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRunsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - runs_ = - new java.util.ArrayList(runs_); + runs_ = new java.util.ArrayList(runs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> - runsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> runsBuilder_; /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -570,8 +510,6 @@ public java.util.List get } } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -586,8 +524,6 @@ public int getRunsCount() { } } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -602,15 +538,14 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) } } /** - * - * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder setRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder setRuns( + int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,8 +559,6 @@ public Builder setRuns(int index, com.google.cloud.bigquery.datatransfer.v1.Tran return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -644,8 +577,6 @@ public Builder setRuns( return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -666,15 +597,14 @@ public Builder addRuns(com.google.cloud.bigquery.datatransfer.v1.TransferRun val return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder addRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder addRuns( + int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -688,8 +618,6 @@ public Builder addRuns(int index, com.google.cloud.bigquery.datatransfer.v1.Tran return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -708,8 +636,6 @@ public Builder addRuns( return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -728,8 +654,6 @@ public Builder addRuns( return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -737,11 +661,11 @@ public Builder addRuns( * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public Builder addAllRuns( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (runsBuilder_ == null) { ensureRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, runs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, runs_); onChanged(); } else { runsBuilder_.addAllMessages(values); @@ -749,8 +673,6 @@ public Builder addAllRuns( return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -768,8 +690,6 @@ public Builder clearRuns() { return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -787,20 +707,17 @@ public Builder removeRuns(int index) { return this; } /** - * - * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder( + int index) { return getRunsFieldBuilder().getBuilder(index); } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -810,22 +727,19 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuil public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( int index) { if (runsBuilder_ == null) { - return runs_.get(index); - } else { + return runs_.get(index); } else { return runsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsOrBuilderList() { + public java.util.List + getRunsOrBuilderList() { if (runsBuilder_ != null) { return runsBuilder_.getMessageOrBuilderList(); } else { @@ -833,8 +747,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } } /** - * - * *
      * The transfer runs that were scheduled.
      * 
@@ -842,56 +754,49 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder() { - return getRunsFieldBuilder() - .addBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getRunsFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** - * - * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder(int index) { - return getRunsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder( + int index) { + return getRunsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** - * - * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsBuilderList() { + public java.util.List + getRunsBuilderList() { return getRunsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> getRunsFieldBuilder() { if (runsBuilder_ == null) { - runsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( - runs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + runsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( + runs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); runs_ = null; } return runsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -901,43 +806,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ScheduleTransferRunsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ScheduleTransferRunsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -949,8 +852,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java similarity index 66% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java index 3b45c2406542..db8b4d18ddad 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * 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; -public interface ScheduleTransferRunsResponseOrBuilder - extends +public interface ScheduleTransferRunsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The transfer runs that were scheduled.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List getRunsList(); + java.util.List + getRunsList(); /** - * - * *
    * The transfer runs that were scheduled.
    * 
@@ -45,8 +26,6 @@ public interface ScheduleTransferRunsResponseOrBuilder */ com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index); /** - * - * *
    * The transfer runs that were scheduled.
    * 
@@ -55,24 +34,21 @@ public interface ScheduleTransferRunsResponseOrBuilder */ int getRunsCount(); /** - * - * *
    * The transfer runs that were scheduled.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List + java.util.List getRunsOrBuilderList(); /** - * - * *
    * The transfer runs that were scheduled.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder(int index); + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( + int index); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java similarity index 67% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java index 2e0a4f3a5646..e634118f3248 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,58 +5,50 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to start manual transfer runs.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest} */ -public final class StartManualTransferRunsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StartManualTransferRunsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) StartManualTransferRunsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StartManualTransferRunsRequest.newBuilder() to construct. - private StartManualTransferRunsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StartManualTransferRunsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StartManualTransferRunsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StartManualTransferRunsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_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_StartManualTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder.class); } - public interface TimeRangeOrBuilder - extends + public interface TimeRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -80,13 +57,10 @@ public interface TimeRangeOrBuilder
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -95,13 +69,10 @@ public interface TimeRangeOrBuilder
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -114,8 +85,6 @@ public interface TimeRangeOrBuilder
     com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
     /**
-     *
-     *
      * 
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -124,13 +93,10 @@ public interface TimeRangeOrBuilder
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -139,13 +105,10 @@ public interface TimeRangeOrBuilder
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -158,57 +121,49 @@ public interface TimeRangeOrBuilder
     com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A specification for a time range, this will request transfer runs with
    * run_time between start_time (inclusive) and end_time (exclusive).
    * 
* - * Protobuf type {@code - * google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} + * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} */ - public static final class TimeRange extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TimeRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) TimeRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimeRange.newBuilder() to construct. private TimeRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TimeRange() {} + private TimeRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimeRange(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_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_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .class, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder.class); } private int bitField0_; public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -217,7 +172,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -225,8 +179,6 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -235,7 +187,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -243,8 +194,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -262,8 +211,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
     public static final int END_TIME_FIELD_NUMBER = 2;
     private com.google.protobuf.Timestamp endTime_;
     /**
-     *
-     *
      * 
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -272,7 +219,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -280,8 +226,6 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -290,7 +234,6 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -298,8 +241,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -315,7 +256,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -327,7 +267,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (((bitField0_ & 0x00000001) != 0)) {
         output.writeMessage(1, getStartTime());
       }
@@ -344,10 +285,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getStartTime());
       }
       if (((bitField0_ & 0x00000002) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getEndTime());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -357,23 +300,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
-      if (!(obj
-          instanceof
-          com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)) {
+      if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)) {
         return super.equals(obj);
       }
-      com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange other =
-          (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) obj;
+      com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange other = (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) obj;
 
       if (hasStartTime() != other.hasStartTime()) return false;
       if (hasStartTime()) {
-        if (!getStartTime().equals(other.getStartTime())) return false;
+        if (!getStartTime()
+            .equals(other.getStartTime())) return false;
       }
       if (hasEndTime() != other.hasEndTime()) return false;
       if (hasEndTime()) {
-        if (!getEndTime().equals(other.getEndTime())) return false;
+        if (!getEndTime()
+            .equals(other.getEndTime())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -399,102 +341,90 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
-        parseFrom(java.nio.ByteBuffer data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange parseFrom(
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
-        parseFrom(
-            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        parseFrom(com.google.protobuf.ByteString data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
-        parseFrom(
-            com.google.protobuf.ByteString data,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
-        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
-        parseFrom(
-            com.google.protobuf.CodedInputStream 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.StartManualTransferRunsRequest.TimeRange 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 Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
-            prototype) {
+    public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -504,57 +434,47 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A specification for a time range, this will request transfer runs with
      * run_time between start_time (inclusive) and end_time (exclusive).
      * 
* - * Protobuf type {@code - * google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} + * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_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_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .class, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.newBuilder() + // Construct using com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -573,23 +493,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - build() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = - buildPartial(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange build() { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -597,29 +513,26 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = - new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange buildPartial() { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -629,57 +542,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) - other); + if (other instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) { + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance()) return this; if (other.hasStartTime()) { mergeStartTime(other.getStartTime()); } @@ -712,25 +614,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -740,18 +643,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -760,15 +657,12 @@ public Builder mergeFrom(
        * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -777,21 +671,16 @@ public boolean hasStartTime() {
        * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { - return startTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** - * - * *
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -815,8 +704,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -826,7 +713,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp start_time = 1;
        */
-      public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setStartTime(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (startTimeBuilder_ == null) {
           startTime_ = builderForValue.build();
         } else {
@@ -837,8 +725,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
         return this;
       }
       /**
-       *
-       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -850,9 +736,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
        */
       public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
         if (startTimeBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0)
-              && startTime_ != null
-              && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0) &&
+            startTime_ != null &&
+            startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getStartTimeBuilder().mergeFrom(value);
           } else {
             startTime_ = value;
@@ -867,8 +753,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -889,8 +773,6 @@ public Builder clearStartTime() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -906,8 +788,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
         return getStartTimeFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -921,14 +801,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
         if (startTimeBuilder_ != null) {
           return startTimeBuilder_.getMessageOrBuilder();
         } else {
-          return startTime_ == null
-              ? com.google.protobuf.Timestamp.getDefaultInstance()
-              : startTime_;
+          return startTime_ == null ?
+              com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
         }
       }
       /**
-       *
-       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -939,17 +816,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
        * .google.protobuf.Timestamp start_time = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
           getStartTimeFieldBuilder() {
         if (startTimeBuilder_ == null) {
-          startTimeBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
-                  getStartTime(), getParentForChildren(), isClean());
+          startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                  getStartTime(),
+                  getParentForChildren(),
+                  isClean());
           startTime_ = null;
         }
         return startTimeBuilder_;
@@ -957,13 +831,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
       private com.google.protobuf.Timestamp endTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
-          endTimeBuilder_;
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
       /**
-       *
-       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -972,15 +841,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
        * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -989,7 +855,6 @@ public boolean hasEndTime() {
        * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1000,8 +865,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1025,8 +888,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1036,7 +897,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp end_time = 2;
        */
-      public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setEndTime(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (endTimeBuilder_ == null) {
           endTime_ = builderForValue.build();
         } else {
@@ -1047,8 +909,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1060,9 +920,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
        */
       public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
         if (endTimeBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && endTime_ != null
-              && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            endTime_ != null &&
+            endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getEndTimeBuilder().mergeFrom(value);
           } else {
             endTime_ = value;
@@ -1077,8 +937,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1099,8 +957,6 @@ public Builder clearEndTime() {
         return this;
       }
       /**
-       *
-       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1116,8 +972,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
         return getEndTimeFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1131,12 +985,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
         if (endTimeBuilder_ != null) {
           return endTimeBuilder_.getMessageOrBuilder();
         } else {
-          return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+          return endTime_ == null ?
+              com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
         }
       }
       /**
-       *
-       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1147,22 +1000,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
        * .google.protobuf.Timestamp end_time = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
           getEndTimeFieldBuilder() {
         if (endTimeBuilder_ == null) {
-          endTimeBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
-                  getEndTime(), getParentForChildren(), isClean());
+          endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                  getEndTime(),
+                  getParentForChildren(),
+                  isClean());
           endTime_ = null;
         }
         return endTimeBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1175,46 +1024,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
-    private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
-            .TimeRange
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE =
-          new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange();
+      DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange();
     }
 
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
-        getDefaultInstance() {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public TimeRange parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public TimeRange parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1226,26 +1070,22 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
-        getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int timeCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object time_;
-
   public enum TimeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     REQUESTED_TIME_RANGE(3),
     REQUESTED_RUN_TIME(4),
     TIME_NOT_SET(0);
     private final int value;
-
     private TimeCase(int value) {
       this.value = value;
     }
@@ -1261,33 +1101,27 @@ public static TimeCase valueOf(int value) {
 
     public static TimeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return REQUESTED_TIME_RANGE;
-        case 4:
-          return REQUESTED_RUN_TIME;
-        case 0:
-          return TIME_NOT_SET;
-        default:
-          return null;
+        case 3: return REQUESTED_TIME_RANGE;
+        case 4: return REQUESTED_RUN_TIME;
+        case 0: return TIME_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TimeCase getTimeCase() {
-    return TimeCase.forNumber(timeCase_);
+  public TimeCase
+  getTimeCase() {
+    return TimeCase.forNumber(
+        timeCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1295,7 +1129,6 @@ public TimeCase getTimeCase() {
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The parent. */ @java.lang.Override @@ -1304,15 +1137,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1320,15 +1152,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1338,8 +1171,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REQUESTED_TIME_RANGE_FIELD_NUMBER = 3; /** - * - * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1347,10 +1178,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    * values.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; * @return Whether the requestedTimeRange field is set. */ @java.lang.Override @@ -1358,8 +1186,6 @@ public boolean hasRequestedTimeRange() { return timeCase_ == 3; } /** - * - * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1367,25 +1193,17 @@ public boolean hasRequestedTimeRange() {
    * values.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; * @return The requestedTimeRange. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - getRequestedTimeRange() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getRequestedTimeRange() { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) - time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); } /** - * - * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1393,25 +1211,18 @@ public boolean hasRequestedTimeRange() {
    * values.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder - getRequestedTimeRangeOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder getRequestedTimeRangeOrBuilder() { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) - time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); } public static final int REQUESTED_RUN_TIME_FIELD_NUMBER = 4; /** - * - * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1420,7 +1231,6 @@ public boolean hasRequestedTimeRange() {
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; - * * @return Whether the requestedRunTime field is set. */ @java.lang.Override @@ -1428,8 +1238,6 @@ public boolean hasRequestedRunTime() { return timeCase_ == 4; } /** - * - * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1438,19 +1246,16 @@ public boolean hasRequestedRunTime() {
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; - * * @return The requestedRunTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRequestedRunTime() { if (timeCase_ == 4) { - return (com.google.protobuf.Timestamp) time_; + return (com.google.protobuf.Timestamp) time_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1463,13 +1268,12 @@ public com.google.protobuf.Timestamp getRequestedRunTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getRequestedRunTimeOrBuilder() {
     if (timeCase_ == 4) {
-      return (com.google.protobuf.Timestamp) time_;
+       return (com.google.protobuf.Timestamp) time_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1481,15 +1285,13 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
     if (timeCase_ == 3) {
-      output.writeMessage(
-          3,
-          (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
-              time_);
+      output.writeMessage(3, (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_);
     }
     if (timeCase_ == 4) {
       output.writeMessage(4, (com.google.protobuf.Timestamp) time_);
@@ -1507,16 +1309,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (timeCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3,
-              (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
-                  time_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_);
     }
     if (timeCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.protobuf.Timestamp) time_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.protobuf.Timestamp) time_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1526,23 +1324,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
-    if (!(obj
-        instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)) {
+    if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other =
-        (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) obj;
+    com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other = (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
     if (!getTimeCase().equals(other.getTimeCase())) return false;
     switch (timeCase_) {
       case 3:
-        if (!getRequestedTimeRange().equals(other.getRequestedTimeRange())) return false;
+        if (!getRequestedTimeRange()
+            .equals(other.getRequestedTimeRange())) return false;
         break;
       case 4:
-        if (!getRequestedRunTime().equals(other.getRequestedRunTime())) return false;
+        if (!getRequestedRunTime()
+            .equals(other.getRequestedRunTime())) return false;
         break;
       case 0:
       default:
@@ -1578,139 +1377,131 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.StartManualTransferRunsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
-      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.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest
-      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.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      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.StartManualTransferRunsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A request to start manual transfer runs.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_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_StartManualTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder - .class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1728,22 +1519,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest build() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = - buildPartial(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1752,32 +1540,29 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = - new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } } - private void buildPartialOneofs( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { + private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { result.timeCase_ = timeCase_; result.time_ = this.time_; - if (timeCase_ == 3 && requestedTimeRangeBuilder_ != null) { + if (timeCase_ == 3 && + requestedTimeRangeBuilder_ != null) { result.time_ = requestedTimeRangeBuilder_.build(); } - if (timeCase_ == 4 && requestedRunTimeBuilder_ != null) { + if (timeCase_ == 4 && + requestedRunTimeBuilder_ != null) { result.time_ = requestedRunTimeBuilder_.build(); } } @@ -1786,72 +1571,63 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) other); + if (other instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) { + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; onChanged(); } switch (other.getTimeCase()) { - case REQUESTED_TIME_RANGE: - { - mergeRequestedTimeRange(other.getRequestedTimeRange()); - break; - } - case REQUESTED_RUN_TIME: - { - mergeRequestedRunTime(other.getRequestedRunTime()); - break; - } - case TIME_NOT_SET: - { - break; - } + case REQUESTED_TIME_RANGE: { + mergeRequestedTimeRange(other.getRequestedTimeRange()); + break; + } + case REQUESTED_RUN_TIME: { + mergeRequestedRunTime(other.getRequestedRunTime()); + break; + } + case TIME_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1879,33 +1655,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: - { - input.readMessage( - getRequestedTimeRangeFieldBuilder().getBuilder(), extensionRegistry); - timeCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage( - getRequestedRunTimeFieldBuilder().getBuilder(), extensionRegistry); - timeCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: { + input.readMessage( + getRequestedTimeRangeFieldBuilder().getBuilder(), + extensionRegistry); + timeCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getRequestedRunTimeFieldBuilder().getBuilder(), + extensionRegistry); + timeCase_ = 4; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1915,12 +1689,12 @@ public Builder mergeFrom( } // finally return this; } - private int timeCase_ = 0; private java.lang.Object time_; - - public TimeCase getTimeCase() { - return TimeCase.forNumber(timeCase_); + public TimeCase + getTimeCase() { + return TimeCase.forNumber( + timeCase_); } public Builder clearTime() { @@ -1934,8 +1708,6 @@ public Builder clearTime() { private java.lang.Object parent_ = ""; /** - * - * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1943,13 +1715,13 @@ public Builder clearTime() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1958,8 +1730,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1967,14 +1737,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1982,8 +1753,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1991,22 +1760,18 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -2014,7 +1779,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearParent() { @@ -2024,8 +1788,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -2033,14 +1795,12 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -2049,15 +1809,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .Builder, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRangeOrBuilder> - requestedTimeRangeBuilder_; + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder> requestedTimeRangeBuilder_; /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2065,10 +1818,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; * @return Whether the requestedTimeRange field is set. */ @java.lang.Override @@ -2076,8 +1826,6 @@ public boolean hasRequestedTimeRange() { return timeCase_ == 3; } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2085,34 +1833,24 @@ public boolean hasRequestedTimeRange() {
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; * @return The requestedTimeRange. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - getRequestedTimeRange() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getRequestedTimeRange() { if (requestedTimeRangeBuilder_ == null) { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRange) - time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); } else { if (timeCase_ == 3) { return requestedTimeRangeBuilder_.getMessage(); } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); } } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2120,12 +1858,9 @@ public boolean hasRequestedTimeRange() {
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ - public Builder setRequestedTimeRange( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { + public Builder setRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { if (requestedTimeRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2139,8 +1874,6 @@ public Builder setRequestedTimeRange( return this; } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2148,13 +1881,10 @@ public Builder setRequestedTimeRange(
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ public Builder setRequestedTimeRange( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder - builderForValue) { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder builderForValue) { if (requestedTimeRangeBuilder_ == null) { time_ = builderForValue.build(); onChanged(); @@ -2165,8 +1895,6 @@ public Builder setRequestedTimeRange( return this; } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2174,25 +1902,14 @@ public Builder setRequestedTimeRange(
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ - public Builder mergeRequestedTimeRange( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { + public Builder mergeRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { if (requestedTimeRangeBuilder_ == null) { - if (timeCase_ == 3 - && time_ - != com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRange.getDefaultInstance()) { - time_ = - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .newBuilder( - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRange) - time_) - .mergeFrom(value) - .buildPartial(); + if (timeCase_ == 3 && + time_ != com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance()) { + time_ = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.newBuilder((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_) + .mergeFrom(value).buildPartial(); } else { time_ = value; } @@ -2208,8 +1925,6 @@ public Builder mergeRequestedTimeRange( return this; } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2217,9 +1932,7 @@ public Builder mergeRequestedTimeRange(
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ public Builder clearRequestedTimeRange() { if (requestedTimeRangeBuilder_ == null) { @@ -2238,8 +1951,6 @@ public Builder clearRequestedTimeRange() { return this; } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2247,18 +1958,12 @@ public Builder clearRequestedTimeRange() {
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .Builder - getRequestedTimeRangeBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder getRequestedTimeRangeBuilder() { return getRequestedTimeRangeFieldBuilder().getBuilder(); } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2266,29 +1971,20 @@ public Builder clearRequestedTimeRange() {
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRangeOrBuilder - getRequestedTimeRangeOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder getRequestedTimeRangeOrBuilder() { if ((timeCase_ == 3) && (requestedTimeRangeBuilder_ != null)) { return requestedTimeRangeBuilder_.getMessageOrBuilder(); } else { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRange) - time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); } } /** - * - * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2296,32 +1992,18 @@ public Builder clearRequestedTimeRange() {
      * values.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .Builder, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRangeOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder> getRequestedTimeRangeFieldBuilder() { if (requestedTimeRangeBuilder_ == null) { if (!(timeCase_ == 3)) { - time_ = - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .getDefaultInstance(); + time_ = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); } - requestedTimeRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - .Builder, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest - .TimeRangeOrBuilder>( - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) - time_, + requestedTimeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder>( + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_, getParentForChildren(), isClean()); time_ = null; @@ -2332,13 +2014,8 @@ public Builder clearRequestedTimeRange() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestedRunTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestedRunTimeBuilder_; /** - * - * *
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2347,7 +2024,6 @@ public Builder clearRequestedTimeRange() {
      * 
* * .google.protobuf.Timestamp requested_run_time = 4; - * * @return Whether the requestedRunTime field is set. */ @java.lang.Override @@ -2355,8 +2031,6 @@ public boolean hasRequestedRunTime() { return timeCase_ == 4; } /** - * - * *
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2365,7 +2039,6 @@ public boolean hasRequestedRunTime() {
      * 
* * .google.protobuf.Timestamp requested_run_time = 4; - * * @return The requestedRunTime. */ @java.lang.Override @@ -2383,8 +2056,6 @@ public com.google.protobuf.Timestamp getRequestedRunTime() { } } /** - * - * *
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2408,8 +2079,6 @@ public Builder setRequestedRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2419,7 +2088,8 @@ public Builder setRequestedRunTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp requested_run_time = 4;
      */
-    public Builder setRequestedRunTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setRequestedRunTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (requestedRunTimeBuilder_ == null) {
         time_ = builderForValue.build();
         onChanged();
@@ -2430,8 +2100,6 @@ public Builder setRequestedRunTime(com.google.protobuf.Timestamp.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2443,11 +2111,10 @@ public Builder setRequestedRunTime(com.google.protobuf.Timestamp.Builder builder
      */
     public Builder mergeRequestedRunTime(com.google.protobuf.Timestamp value) {
       if (requestedRunTimeBuilder_ == null) {
-        if (timeCase_ == 4 && time_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          time_ =
-              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) time_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (timeCase_ == 4 &&
+            time_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          time_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) time_)
+              .mergeFrom(value).buildPartial();
         } else {
           time_ = value;
         }
@@ -2463,8 +2130,6 @@ public Builder mergeRequestedRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2491,8 +2156,6 @@ public Builder clearRequestedRunTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2506,8 +2169,6 @@ public com.google.protobuf.Timestamp.Builder getRequestedRunTimeBuilder() {
       return getRequestedRunTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2529,8 +2190,6 @@ public com.google.protobuf.TimestampOrBuilder getRequestedRunTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2541,29 +2200,26 @@ public com.google.protobuf.TimestampOrBuilder getRequestedRunTimeOrBuilder() {
      * .google.protobuf.Timestamp requested_run_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getRequestedRunTimeFieldBuilder() {
       if (requestedRunTimeBuilder_ == null) {
         if (!(timeCase_ == 4)) {
           time_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        requestedRunTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) time_, getParentForChildren(), isClean());
+        requestedRunTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) time_,
+                getParentForChildren(),
+                isClean());
         time_ = null;
       }
       timeCase_ = 4;
       onChanged();
       return requestedRunTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2573,44 +2229,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)
-  private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest DEFAULT_INSTANCE;
   static {
-    DEFAULT_INSTANCE =
-        new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest();
+    DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest();
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
-      getDefaultInstance() {
+  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public StartManualTransferRunsRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public StartManualTransferRunsRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2622,8 +2275,9 @@ public com.google.protobuf.Parser getParserForTy
   }
 
   @java.lang.Override
-  public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
-      getDefaultInstanceForType() {
+  public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
similarity index 72%
rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
index e80292f89be9..5012792d35e7 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
+++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * 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;
 
-public interface StartManualTransferRunsRequestOrBuilder
-    extends
+public interface StartManualTransferRunsRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -34,13 +16,10 @@ public interface StartManualTransferRunsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -48,14 +27,12 @@ public interface StartManualTransferRunsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -63,16 +40,11 @@ public interface StartManualTransferRunsRequestOrBuilder
    * values.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; * @return Whether the requestedTimeRange field is set. */ boolean hasRequestedTimeRange(); /** - * - * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -80,17 +52,11 @@ public interface StartManualTransferRunsRequestOrBuilder
    * values.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; * @return The requestedTimeRange. */ - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange - getRequestedTimeRange(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getRequestedTimeRange(); /** - * - * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -98,16 +64,11 @@ public interface StartManualTransferRunsRequestOrBuilder
    * values.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; - * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; */ - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder - getRequestedTimeRangeOrBuilder(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder getRequestedTimeRangeOrBuilder(); /** - * - * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -116,13 +77,10 @@ public interface StartManualTransferRunsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; - * * @return Whether the requestedRunTime field is set. */ boolean hasRequestedRunTime(); /** - * - * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -131,13 +89,10 @@ public interface StartManualTransferRunsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; - * * @return The requestedRunTime. */ com.google.protobuf.Timestamp getRequestedRunTime(); /** - * - * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
similarity index 66%
rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
index 95947e599cbf..32f8c99911f2 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
+++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
@@ -1,18 +1,3 @@
-/*
- * 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
 
@@ -20,58 +5,49 @@
 package com.google.cloud.bigquery.datatransfer.v1;
 
 /**
- *
- *
  * 
  * A response to start manual transfer runs.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse} */ -public final class StartManualTransferRunsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StartManualTransferRunsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) StartManualTransferRunsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StartManualTransferRunsResponse.newBuilder() to construct. - private StartManualTransferRunsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StartManualTransferRunsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StartManualTransferRunsResponse() { runs_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StartManualTransferRunsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_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_StartManualTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder - .class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder.class); } public static final int RUNS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List runs_; /** - * - * *
    * The transfer runs that were created.
    * 
@@ -83,8 +59,6 @@ public java.util.List get return runs_; } /** - * - * *
    * The transfer runs that were created.
    * 
@@ -92,13 +66,11 @@ public java.util.List get * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRunsOrBuilderList() { return runs_; } /** - * - * *
    * The transfer runs that were created.
    * 
@@ -110,8 +82,6 @@ public int getRunsCount() { return runs_.size(); } /** - * - * *
    * The transfer runs that were created.
    * 
@@ -123,8 +93,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) return runs_.get(index); } /** - * - * *
    * The transfer runs that were created.
    * 
@@ -138,7 +106,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,7 +117,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < runs_.size(); i++) { output.writeMessage(1, runs_.get(i)); } @@ -164,7 +132,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < runs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, runs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, runs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,16 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse)) { + if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other = - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other = (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) obj; - if (!getRunsList().equals(other.getRunsList())) return false; + if (!getRunsList() + .equals(other.getRunsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,139 +173,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StartManualTransferRunsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - 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.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse - 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.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.StartManualTransferRunsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response to start manual transfer runs.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_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_StartManualTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder - .class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -353,22 +313,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - .getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse build() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = - buildPartial(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -376,20 +333,15 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = - new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(this); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse buildPartial() { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { if (runsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { runs_ = java.util.Collections.unmodifiableList(runs_); @@ -401,8 +353,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { + private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { int from_bitField0_ = bitField0_; } @@ -410,52 +361,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) { - return mergeFrom( - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) other); + if (other instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) { + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other) { - if (other - == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other) { + if (other == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.getDefaultInstance()) return this; if (runsBuilder_ == null) { if (!other.runs_.isEmpty()) { if (runs_.isEmpty()) { @@ -474,10 +419,9 @@ public Builder mergeFrom( runsBuilder_ = null; runs_ = other.runs_; bitField0_ = (bitField0_ & ~0x00000001); - runsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRunsFieldBuilder() - : null; + runsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRunsFieldBuilder() : null; } else { runsBuilder_.addAllMessages(other.runs_); } @@ -509,27 +453,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.datatransfer.v1.TransferRun m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), - extensionRegistry); - if (runsBuilder_ == null) { - ensureRunsIsMutable(); - runs_.add(m); - } else { - runsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.bigquery.datatransfer.v1.TransferRun m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), + extensionRegistry); + if (runsBuilder_ == null) { + ensureRunsIsMutable(); + runs_.add(m); + } else { + runsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -539,29 +481,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List runs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRunsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - runs_ = - new java.util.ArrayList(runs_); + runs_ = new java.util.ArrayList(runs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> - runsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> runsBuilder_; /** - * - * *
      * The transfer runs that were created.
      * 
@@ -576,8 +510,6 @@ public java.util.List get } } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -592,8 +524,6 @@ public int getRunsCount() { } } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -608,15 +538,14 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) } } /** - * - * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder setRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder setRuns( + int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -630,8 +559,6 @@ public Builder setRuns(int index, com.google.cloud.bigquery.datatransfer.v1.Tran return this; } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -650,8 +577,6 @@ public Builder setRuns( return this; } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -672,15 +597,14 @@ public Builder addRuns(com.google.cloud.bigquery.datatransfer.v1.TransferRun val return this; } /** - * - * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder addRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder addRuns( + int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,8 +618,6 @@ public Builder addRuns(int index, com.google.cloud.bigquery.datatransfer.v1.Tran return this; } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -714,8 +636,6 @@ public Builder addRuns( return this; } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -734,8 +654,6 @@ public Builder addRuns( return this; } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -743,11 +661,11 @@ public Builder addRuns( * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public Builder addAllRuns( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (runsBuilder_ == null) { ensureRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, runs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, runs_); onChanged(); } else { runsBuilder_.addAllMessages(values); @@ -755,8 +673,6 @@ public Builder addAllRuns( return this; } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -774,8 +690,6 @@ public Builder clearRuns() { return this; } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -793,20 +707,17 @@ public Builder removeRuns(int index) { return this; } /** - * - * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder( + int index) { return getRunsFieldBuilder().getBuilder(index); } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -816,22 +727,19 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuil public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( int index) { if (runsBuilder_ == null) { - return runs_.get(index); - } else { + return runs_.get(index); } else { return runsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsOrBuilderList() { + public java.util.List + getRunsOrBuilderList() { if (runsBuilder_ != null) { return runsBuilder_.getMessageOrBuilderList(); } else { @@ -839,8 +747,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } } /** - * - * *
      * The transfer runs that were created.
      * 
@@ -848,56 +754,49 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder() { - return getRunsFieldBuilder() - .addBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getRunsFieldBuilder().addBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** - * - * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder(int index) { - return getRunsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder( + int index) { + return getRunsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** - * - * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsBuilderList() { + public java.util.List + getRunsBuilderList() { return getRunsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> getRunsFieldBuilder() { if (runsBuilder_ == null) { - runsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( - runs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + runsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( + runs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); runs_ = null; } return runsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -907,44 +806,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartManualTransferRunsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartManualTransferRunsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -956,8 +852,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java similarity index 66% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java index 4d7fe4adfe1f..eccac85e79d5 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * 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; -public interface StartManualTransferRunsResponseOrBuilder - extends +public interface StartManualTransferRunsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The transfer runs that were created.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List getRunsList(); + java.util.List + getRunsList(); /** - * - * *
    * The transfer runs that were created.
    * 
@@ -45,8 +26,6 @@ public interface StartManualTransferRunsResponseOrBuilder */ com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index); /** - * - * *
    * The transfer runs that were created.
    * 
@@ -55,24 +34,21 @@ public interface StartManualTransferRunsResponseOrBuilder */ int getRunsCount(); /** - * - * *
    * The transfer runs that were created.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List + java.util.List getRunsOrBuilderList(); /** - * - * *
    * The transfer runs that were created.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder(int index); + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( + int index); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java similarity index 72% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java index cb1cfa4e9c63..6aa44fac9487 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Represents a data transfer configuration. A transfer configuration
  * contains all metadata needed to perform a data transfer. For example,
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferConfig}
  */
-public final class TransferConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TransferConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.TransferConfig)
     TransferConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TransferConfig.newBuilder() to construct.
   private TransferConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TransferConfig() {
     name_ = "";
     displayName_ = "";
@@ -55,39 +37,34 @@ private TransferConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TransferConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class,
-            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
   }
 
   private int bitField0_;
   private int destinationCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object destination_;
-
   public enum DestinationCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     DESTINATION_DATASET_ID(2),
     DESTINATION_NOT_SET(0);
     private final int value;
-
     private DestinationCase(int value) {
       this.value = value;
     }
@@ -103,31 +80,26 @@ public static DestinationCase valueOf(int value) {
 
     public static DestinationCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return DESTINATION_DATASET_ID;
-        case 0:
-          return DESTINATION_NOT_SET;
-        default:
-          return null;
+        case 2: return DESTINATION_DATASET_ID;
+        case 0: return DESTINATION_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DestinationCase getDestinationCase() {
-    return DestinationCase.forNumber(destinationCase_);
+  public DestinationCase
+  getDestinationCase() {
+    return DestinationCase.forNumber(
+        destinationCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -139,7 +111,6 @@ public DestinationCase getDestinationCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -148,15 +119,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -168,15 +138,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -186,28 +157,22 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESTINATION_DATASET_ID_FIELD_NUMBER = 2; /** - * - * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; - * * @return Whether the destinationDatasetId field is set. */ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** - * - * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; - * * @return The destinationDatasetId. */ public java.lang.String getDestinationDatasetId() { @@ -218,7 +183,8 @@ public java.lang.String getDestinationDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -227,24 +193,23 @@ public java.lang.String getDestinationDatasetId() { } } /** - * - * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; - * * @return The bytes for destinationDatasetId. */ - public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString + getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -255,18 +220,14 @@ public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -275,29 +236,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -306,12 +267,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DATA_SOURCE_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object dataSourceId_ = ""; /** - * - * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -319,7 +277,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string data_source_id = 5; - * * @return The dataSourceId. */ @java.lang.Override @@ -328,15 +285,14 @@ public java.lang.String getDataSourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; } } /** - * - * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -344,15 +300,16 @@ public java.lang.String getDataSourceId() {
    * 
* * string data_source_id = 5; - * * @return The bytes for dataSourceId. */ @java.lang.Override - public com.google.protobuf.ByteString getDataSourceIdBytes() { + public com.google.protobuf.ByteString + getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -363,8 +320,6 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() { public static final int PARAMS_FIELD_NUMBER = 9; private com.google.protobuf.Struct params_; /** - * - * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -373,7 +328,6 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() {
    * 
* * .google.protobuf.Struct params = 9; - * * @return Whether the params field is set. */ @java.lang.Override @@ -381,8 +335,6 @@ public boolean hasParams() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -391,7 +343,6 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 9; - * * @return The params. */ @java.lang.Override @@ -399,8 +350,6 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** - * - * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -416,12 +365,9 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
   }
 
   public static final int SCHEDULE_FIELD_NUMBER = 7;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object schedule_ = "";
   /**
-   *
-   *
    * 
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -440,7 +386,6 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
    * 
* * string schedule = 7; - * * @return The schedule. */ @java.lang.Override @@ -449,15 +394,14 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; } } /** - * - * *
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -476,15 +420,16 @@ public java.lang.String getSchedule() {
    * 
* * string schedule = 7; - * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schedule_ = b; return b; } else { @@ -495,14 +440,11 @@ public com.google.protobuf.ByteString getScheduleBytes() { public static final int SCHEDULE_OPTIONS_FIELD_NUMBER = 24; private com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions scheduleOptions_; /** - * - * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; - * * @return Whether the scheduleOptions field is set. */ @java.lang.Override @@ -510,25 +452,18 @@ public boolean hasScheduleOptions() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; - * * @return The scheduleOptions. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOptions() { - return scheduleOptions_ == null - ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() - : scheduleOptions_; + return scheduleOptions_ == null ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; } /** - * - * *
    * Options customizing the data transfer schedule.
    * 
@@ -536,18 +471,13 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOpti * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder - getScheduleOptionsOrBuilder() { - return scheduleOptions_ == null - ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() - : scheduleOptions_; + public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getScheduleOptionsOrBuilder() { + return scheduleOptions_ == null ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; } public static final int DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER = 12; private int dataRefreshWindowDays_ = 0; /** - * - * *
    * The number of days to look back to automatically refresh the data.
    * For example, if `data_refresh_window_days = 10`, then every day
@@ -558,7 +488,6 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOpti
    * 
* * int32 data_refresh_window_days = 12; - * * @return The dataRefreshWindowDays. */ @java.lang.Override @@ -569,15 +498,12 @@ public int getDataRefreshWindowDays() { public static final int DISABLED_FIELD_NUMBER = 13; private boolean disabled_ = false; /** - * - * *
    * Is this config disabled. When set to true, no runs are scheduled
    * for a given transfer.
    * 
* * bool disabled = 13; - * * @return The disabled. */ @java.lang.Override @@ -588,15 +514,11 @@ public boolean getDisabled() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -604,15 +526,11 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -620,14 +538,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -637,16 +552,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int NEXT_RUN_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp nextRunTime_; /** - * - * *
    * Output only. Next time when data transfer will run.
    * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the nextRunTime field is set. */ @java.lang.Override @@ -654,16 +564,11 @@ public boolean hasNextRunTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * Output only. Next time when data transfer will run.
    * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The nextRunTime. */ @java.lang.Override @@ -671,15 +576,11 @@ public com.google.protobuf.Timestamp getNextRunTime() { return nextRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextRunTime_; } /** - * - * *
    * Output only. Next time when data transfer will run.
    * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { @@ -689,55 +590,37 @@ public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 10; private int state_ = 0; /** - * - * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = - com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { + com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; } public static final int USER_ID_FIELD_NUMBER = 11; private long userId_ = 0L; /** - * - * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; - * * @return The userId. */ @java.lang.Override @@ -746,18 +629,14 @@ public long getUserId() { } public static final int DATASET_REGION_FIELD_NUMBER = 14; - @SuppressWarnings("serial") private volatile java.lang.Object datasetRegion_ = ""; /** - * - * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The datasetRegion. */ @java.lang.Override @@ -766,29 +645,29 @@ public java.lang.String getDatasetRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetRegion_ = s; return s; } } /** - * - * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for datasetRegion. */ @java.lang.Override - public com.google.protobuf.ByteString getDatasetRegionBytes() { + public com.google.protobuf.ByteString + getDatasetRegionBytes() { java.lang.Object ref = datasetRegion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetRegion_ = b; return b; } else { @@ -797,12 +676,9 @@ public com.google.protobuf.ByteString getDatasetRegionBytes() { } public static final int NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER = 15; - @SuppressWarnings("serial") private volatile java.lang.Object notificationPubsubTopic_ = ""; /** - * - * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -812,7 +688,6 @@ public com.google.protobuf.ByteString getDatasetRegionBytes() {
    * 
* * string notification_pubsub_topic = 15; - * * @return The notificationPubsubTopic. */ @java.lang.Override @@ -821,15 +696,14 @@ public java.lang.String getNotificationPubsubTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; } } /** - * - * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -839,15 +713,16 @@ public java.lang.String getNotificationPubsubTopic() {
    * 
* * string notification_pubsub_topic = 15; - * * @return The bytes for notificationPubsubTopic. */ @java.lang.Override - public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString + getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -858,15 +733,12 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { public static final int EMAIL_PREFERENCES_FIELD_NUMBER = 18; private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; /** - * - * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; - * * @return Whether the emailPreferences field is set. */ @java.lang.Override @@ -874,26 +746,19 @@ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; - * * @return The emailPreferences. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { - return emailPreferences_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() - : emailPreferences_; + return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; } /** - * - * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
@@ -902,28 +767,20 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPrefer
    * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
    */
   @java.lang.Override
-  public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder
-      getEmailPreferencesOrBuilder() {
-    return emailPreferences_ == null
-        ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()
-        : emailPreferences_;
+  public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() {
+    return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_;
   }
 
   public static final int OWNER_INFO_FIELD_NUMBER = 27;
   private com.google.cloud.bigquery.datatransfer.v1.UserInfo ownerInfo_;
   /**
-   *
-   *
    * 
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the ownerInfo field is set. */ @java.lang.Override @@ -931,52 +788,36 @@ public boolean hasOwnerInfo() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The ownerInfo. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.UserInfo getOwnerInfo() { - return ownerInfo_ == null - ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() - : ownerInfo_; + return ownerInfo_ == null ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; } /** - * - * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoOrBuilder() { - return ownerInfo_ == null - ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() - : ownerInfo_; + return ownerInfo_ == null ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; } public static final int ENCRYPTION_CONFIGURATION_FIELD_NUMBER = 28; - private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - encryptionConfiguration_; + private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryptionConfiguration_; /** - * - * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -985,10 +826,7 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoO
    * otherwise try to apply project default keys if it is absent.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; * @return Whether the encryptionConfiguration field is set. */ @java.lang.Override @@ -996,8 +834,6 @@ public boolean hasEncryptionConfiguration() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -1006,22 +842,14 @@ public boolean hasEncryptionConfiguration() {
    * otherwise try to apply project default keys if it is absent.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; * @return The encryptionConfiguration. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - getEncryptionConfiguration() { - return encryptionConfiguration_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() - : encryptionConfiguration_; + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncryptionConfiguration() { + return encryptionConfiguration_ == null ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; } /** - * - * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -1030,20 +858,14 @@ public boolean hasEncryptionConfiguration() {
    * otherwise try to apply project default keys if it is absent.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder - getEncryptionConfigurationOrBuilder() { - return encryptionConfiguration_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() - : encryptionConfiguration_; + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder getEncryptionConfigurationOrBuilder() { + return encryptionConfiguration_ == null ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1055,7 +877,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -1080,9 +903,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(9, getParams()); } - if (state_ - != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(10, state_); } if (userId_ != 0L) { @@ -1131,7 +952,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataSourceId_); @@ -1140,45 +962,50 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, schedule_); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getNextRunTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getNextRunTime()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getParams()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getParams()); } - if (state_ - != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, state_); + if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, state_); } if (userId_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, userId_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(11, userId_); } if (dataRefreshWindowDays_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(12, dataRefreshWindowDays_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(12, dataRefreshWindowDays_); } if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(13, disabled_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetRegion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, datasetRegion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(notificationPubsubTopic_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(15, notificationPubsubTopic_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, notificationPubsubTopic_); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getEmailPreferences()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getEmailPreferences()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getScheduleOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, getScheduleOptions()); } if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getOwnerInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, getOwnerInfo()); } if (((bitField0_ & 0x00000040) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 28, getEncryptionConfiguration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, getEncryptionConfiguration()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1188,56 +1015,72 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.TransferConfig)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.TransferConfig other = - (com.google.cloud.bigquery.datatransfer.v1.TransferConfig) obj; + com.google.cloud.bigquery.datatransfer.v1.TransferConfig other = (com.google.cloud.bigquery.datatransfer.v1.TransferConfig) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDataSourceId().equals(other.getDataSourceId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDataSourceId() + .equals(other.getDataSourceId())) return false; if (hasParams() != other.hasParams()) return false; if (hasParams()) { - if (!getParams().equals(other.getParams())) return false; + if (!getParams() + .equals(other.getParams())) return false; } - if (!getSchedule().equals(other.getSchedule())) return false; + if (!getSchedule() + .equals(other.getSchedule())) return false; if (hasScheduleOptions() != other.hasScheduleOptions()) return false; if (hasScheduleOptions()) { - if (!getScheduleOptions().equals(other.getScheduleOptions())) return false; + if (!getScheduleOptions() + .equals(other.getScheduleOptions())) return false; } - if (getDataRefreshWindowDays() != other.getDataRefreshWindowDays()) return false; - if (getDisabled() != other.getDisabled()) return false; + if (getDataRefreshWindowDays() + != other.getDataRefreshWindowDays()) return false; + if (getDisabled() + != other.getDisabled()) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasNextRunTime() != other.hasNextRunTime()) return false; if (hasNextRunTime()) { - if (!getNextRunTime().equals(other.getNextRunTime())) return false; + if (!getNextRunTime() + .equals(other.getNextRunTime())) return false; } if (state_ != other.state_) return false; - if (getUserId() != other.getUserId()) return false; - if (!getDatasetRegion().equals(other.getDatasetRegion())) return false; - if (!getNotificationPubsubTopic().equals(other.getNotificationPubsubTopic())) return false; + if (getUserId() + != other.getUserId()) return false; + if (!getDatasetRegion() + .equals(other.getDatasetRegion())) return false; + if (!getNotificationPubsubTopic() + .equals(other.getNotificationPubsubTopic())) return false; if (hasEmailPreferences() != other.hasEmailPreferences()) return false; if (hasEmailPreferences()) { - if (!getEmailPreferences().equals(other.getEmailPreferences())) return false; + if (!getEmailPreferences() + .equals(other.getEmailPreferences())) return false; } if (hasOwnerInfo() != other.hasOwnerInfo()) return false; if (hasOwnerInfo()) { - if (!getOwnerInfo().equals(other.getOwnerInfo())) return false; + if (!getOwnerInfo() + .equals(other.getOwnerInfo())) return false; } if (hasEncryptionConfiguration() != other.hasEncryptionConfiguration()) return false; if (hasEncryptionConfiguration()) { - if (!getEncryptionConfiguration().equals(other.getEncryptionConfiguration())) return false; + if (!getEncryptionConfiguration() + .equals(other.getEncryptionConfiguration())) return false; } if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 2: - if (!getDestinationDatasetId().equals(other.getDestinationDatasetId())) return false; + if (!getDestinationDatasetId() + .equals(other.getDestinationDatasetId())) return false; break; case 0: default: @@ -1272,7 +1115,8 @@ public int hashCode() { hash = (37 * hash) + DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER; hash = (53 * hash) + getDataRefreshWindowDays(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); if (hasUpdateTime()) { hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getUpdateTime().hashCode(); @@ -1284,7 +1128,8 @@ public int hashCode() { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + USER_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getUserId()); hash = (37 * hash) + DATASET_REGION_FIELD_NUMBER; hash = (53 * hash) + getDatasetRegion().hashCode(); hash = (37 * hash) + NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER; @@ -1315,104 +1160,98 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig 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.TransferConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferConfig 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.TransferConfig 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.TransferConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig 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.TransferConfig 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.TransferConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.TransferConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a data transfer configuration. A transfer configuration
    * contains all metadata needed to perform a data transfer. For example,
@@ -1424,23 +1263,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.TransferConfig)
       com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class,
-              com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.datatransfer.v1.TransferConfig.newBuilder()
@@ -1448,13 +1285,14 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getParamsFieldBuilder();
         getScheduleOptionsFieldBuilder();
         getUpdateTimeFieldBuilder();
@@ -1464,7 +1302,6 @@ private void maybeForceBuilderInitialization() {
         getEncryptionConfigurationFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1520,9 +1357,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1541,11 +1378,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.TransferConfig buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.TransferConfig result =
-          new com.google.cloud.bigquery.datatransfer.v1.TransferConfig(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.datatransfer.v1.TransferConfig result = new com.google.cloud.bigquery.datatransfer.v1.TransferConfig(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1564,15 +1398,18 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferCon
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build();
+        result.params_ = paramsBuilder_ == null
+            ? params_
+            : paramsBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.schedule_ = schedule_;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.scheduleOptions_ =
-            scheduleOptionsBuilder_ == null ? scheduleOptions_ : scheduleOptionsBuilder_.build();
+        result.scheduleOptions_ = scheduleOptionsBuilder_ == null
+            ? scheduleOptions_
+            : scheduleOptionsBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
@@ -1582,12 +1419,15 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferCon
         result.disabled_ = disabled_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.nextRunTime_ =
-            nextRunTimeBuilder_ == null ? nextRunTime_ : nextRunTimeBuilder_.build();
+        result.nextRunTime_ = nextRunTimeBuilder_ == null
+            ? nextRunTime_
+            : nextRunTimeBuilder_.build();
         to_bitField0_ |= 0x00000008;
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
@@ -1603,26 +1443,27 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferCon
         result.notificationPubsubTopic_ = notificationPubsubTopic_;
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
-        result.emailPreferences_ =
-            emailPreferencesBuilder_ == null ? emailPreferences_ : emailPreferencesBuilder_.build();
+        result.emailPreferences_ = emailPreferencesBuilder_ == null
+            ? emailPreferences_
+            : emailPreferencesBuilder_.build();
         to_bitField0_ |= 0x00000010;
       }
       if (((from_bitField0_ & 0x00010000) != 0)) {
-        result.ownerInfo_ = ownerInfoBuilder_ == null ? ownerInfo_ : ownerInfoBuilder_.build();
+        result.ownerInfo_ = ownerInfoBuilder_ == null
+            ? ownerInfo_
+            : ownerInfoBuilder_.build();
         to_bitField0_ |= 0x00000020;
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
-        result.encryptionConfiguration_ =
-            encryptionConfigurationBuilder_ == null
-                ? encryptionConfiguration_
-                : encryptionConfigurationBuilder_.build();
+        result.encryptionConfiguration_ = encryptionConfigurationBuilder_ == null
+            ? encryptionConfiguration_
+            : encryptionConfigurationBuilder_.build();
         to_bitField0_ |= 0x00000040;
       }
       result.bitField0_ |= to_bitField0_;
     }
 
-    private void buildPartialOneofs(
-        com.google.cloud.bigquery.datatransfer.v1.TransferConfig result) {
+    private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.TransferConfig result) {
       result.destinationCase_ = destinationCase_;
       result.destination_ = this.destination_;
     }
@@ -1631,39 +1472,38 @@ private void buildPartialOneofs(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.TransferConfig) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferConfig) other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1671,8 +1511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferConfig other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -1737,17 +1576,15 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferConfi
         mergeEncryptionConfiguration(other.getEncryptionConfiguration());
       }
       switch (other.getDestinationCase()) {
-        case DESTINATION_DATASET_ID:
-          {
-            destinationCase_ = 2;
-            destination_ = other.destination_;
-            onChanged();
-            break;
-          }
-        case DESTINATION_NOT_SET:
-          {
-            break;
-          }
+        case DESTINATION_DATASET_ID: {
+          destinationCase_ = 2;
+          destination_ = other.destination_;
+          onChanged();
+          break;
+        }
+        case DESTINATION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1775,124 +1612,117 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                destinationCase_ = 2;
-                destination_ = s;
-                break;
-              } // case 18
-            case 26:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 34
-            case 42:
-              {
-                dataSourceId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 42
-            case 58:
-              {
-                schedule_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getNextRunTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 74
-            case 80:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 80
-            case 88:
-              {
-                userId_ = input.readInt64();
-                bitField0_ |= 0x00001000;
-                break;
-              } // case 88
-            case 96:
-              {
-                dataRefreshWindowDays_ = input.readInt32();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 96
-            case 104:
-              {
-                disabled_ = input.readBool();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 104
-            case 114:
-              {
-                datasetRegion_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00002000;
-                break;
-              } // case 114
-            case 122:
-              {
-                notificationPubsubTopic_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00004000;
-                break;
-              } // case 122
-            case 146:
-              {
-                input.readMessage(
-                    getEmailPreferencesFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00008000;
-                break;
-              } // case 146
-            case 194:
-              {
-                input.readMessage(getScheduleOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 194
-            case 218:
-              {
-                input.readMessage(getOwnerInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00010000;
-                break;
-              } // case 218
-            case 226:
-              {
-                input.readMessage(
-                    getEncryptionConfigurationFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00020000;
-                break;
-              } // case 226
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              destinationCase_ = 2;
+              destination_ = s;
+              break;
+            } // case 18
+            case 26: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 34
+            case 42: {
+              dataSourceId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 42
+            case 58: {
+              schedule_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getNextRunTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getParamsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 74
+            case 80: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 80
+            case 88: {
+              userId_ = input.readInt64();
+              bitField0_ |= 0x00001000;
+              break;
+            } // case 88
+            case 96: {
+              dataRefreshWindowDays_ = input.readInt32();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 96
+            case 104: {
+              disabled_ = input.readBool();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 104
+            case 114: {
+              datasetRegion_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00002000;
+              break;
+            } // case 114
+            case 122: {
+              notificationPubsubTopic_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00004000;
+              break;
+            } // case 122
+            case 146: {
+              input.readMessage(
+                  getEmailPreferencesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00008000;
+              break;
+            } // case 146
+            case 194: {
+              input.readMessage(
+                  getScheduleOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 194
+            case 218: {
+              input.readMessage(
+                  getOwnerInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00010000;
+              break;
+            } // case 218
+            case 226: {
+              input.readMessage(
+                  getEncryptionConfigurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00020000;
+              break;
+            } // case 226
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1902,12 +1732,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int destinationCase_ = 0;
     private java.lang.Object destination_;
-
-    public DestinationCase getDestinationCase() {
-      return DestinationCase.forNumber(destinationCase_);
+    public DestinationCase
+        getDestinationCase() {
+      return DestinationCase.forNumber(
+          destinationCase_);
     }
 
     public Builder clearDestination() {
@@ -1921,8 +1751,6 @@ public Builder clearDestination() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1934,13 +1762,13 @@ public Builder clearDestination() {
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1949,8 +1777,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1962,14 +1788,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1977,8 +1804,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1990,22 +1815,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -2017,7 +1838,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2027,8 +1847,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -2040,14 +1858,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2056,14 +1872,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; - * * @return Whether the destinationDatasetId field is set. */ @java.lang.Override @@ -2071,14 +1884,11 @@ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** - * - * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; - * * @return The destinationDatasetId. */ @java.lang.Override @@ -2088,7 +1898,8 @@ public java.lang.String getDestinationDatasetId() { ref = destination_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -2099,25 +1910,24 @@ public java.lang.String getDestinationDatasetId() { } } /** - * - * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; - * * @return The bytes for destinationDatasetId. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString + getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -2127,35 +1937,28 @@ public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { } } /** - * - * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; - * * @param value The destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationDatasetId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } destinationCase_ = 2; destination_ = value; onChanged(); return this; } /** - * - * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; - * * @return This builder for chaining. */ public Builder clearDestinationDatasetId() { @@ -2167,21 +1970,17 @@ public Builder clearDestinationDatasetId() { return this; } /** - * - * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; - * * @param value The bytes for destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationDatasetIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationCase_ = 2; destination_ = value; @@ -2191,20 +1990,18 @@ public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value private java.lang.Object displayName_ = ""; /** - * - * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2213,21 +2010,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2235,35 +2031,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2273,21 +2062,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -2297,8 +2082,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataSourceId_ = ""; /** - * - * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2306,13 +2089,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string data_source_id = 5; - * * @return The dataSourceId. */ public java.lang.String getDataSourceId() { java.lang.Object ref = dataSourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; @@ -2321,8 +2104,6 @@ public java.lang.String getDataSourceId() { } } /** - * - * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2330,14 +2111,15 @@ public java.lang.String getDataSourceId() {
      * 
* * string data_source_id = 5; - * * @return The bytes for dataSourceId. */ - public com.google.protobuf.ByteString getDataSourceIdBytes() { + public com.google.protobuf.ByteString + getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -2345,8 +2127,6 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() { } } /** - * - * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2354,22 +2134,18 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() {
      * 
* * string data_source_id = 5; - * * @param value The dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSourceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataSourceId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2377,7 +2153,6 @@ public Builder setDataSourceId(java.lang.String value) {
      * 
* * string data_source_id = 5; - * * @return This builder for chaining. */ public Builder clearDataSourceId() { @@ -2387,8 +2162,6 @@ public Builder clearDataSourceId() { return this; } /** - * - * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2396,14 +2169,12 @@ public Builder clearDataSourceId() {
      * 
* * string data_source_id = 5; - * * @param value The bytes for dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSourceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataSourceId_ = value; bitField0_ |= 0x00000008; @@ -2413,13 +2184,8 @@ public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - paramsBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; /** - * - * *
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2428,15 +2194,12 @@ public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Struct params = 9; - * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2445,7 +2208,6 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 9; - * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -2456,8 +2218,6 @@ public com.google.protobuf.Struct getParams() { } } /** - * - * *
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2481,8 +2241,6 @@ public Builder setParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2492,7 +2250,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct params = 9;
      */
-    public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setParams(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (paramsBuilder_ == null) {
         params_ = builderForValue.build();
       } else {
@@ -2503,8 +2262,6 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2516,9 +2273,9 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
      */
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && params_ != null
-            && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          params_ != null &&
+          params_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getParamsBuilder().mergeFrom(value);
         } else {
           params_ = value;
@@ -2533,8 +2290,6 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2555,8 +2310,6 @@ public Builder clearParams() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2572,8 +2325,6 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
       return getParamsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2587,12 +2338,11 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       if (paramsBuilder_ != null) {
         return paramsBuilder_.getMessageOrBuilder();
       } else {
-        return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
+        return params_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : params_;
       }
     }
     /**
-     *
-     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2603,17 +2353,14 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * .google.protobuf.Struct params = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getParamsFieldBuilder() {
       if (paramsBuilder_ == null) {
-        paramsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getParams(), getParentForChildren(), isClean());
+        paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getParams(),
+                getParentForChildren(),
+                isClean());
         params_ = null;
       }
       return paramsBuilder_;
@@ -2621,8 +2368,6 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
 
     private java.lang.Object schedule_ = "";
     /**
-     *
-     *
      * 
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2641,13 +2386,13 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * 
* * string schedule = 7; - * * @return The schedule. */ public java.lang.String getSchedule() { java.lang.Object ref = schedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; @@ -2656,8 +2401,6 @@ public java.lang.String getSchedule() { } } /** - * - * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2676,14 +2419,15 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 7; - * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schedule_ = b; return b; } else { @@ -2691,8 +2435,6 @@ public com.google.protobuf.ByteString getScheduleBytes() { } } /** - * - * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2711,22 +2453,18 @@ public com.google.protobuf.ByteString getScheduleBytes() {
      * 
* * string schedule = 7; - * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSchedule( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } schedule_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2745,7 +2483,6 @@ public Builder setSchedule(java.lang.String value) {
      * 
* * string schedule = 7; - * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -2755,8 +2492,6 @@ public Builder clearSchedule() { return this; } /** - * - * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2775,14 +2510,12 @@ public Builder clearSchedule() {
      * 
* * string schedule = 7; - * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScheduleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); schedule_ = value; bitField0_ |= 0x00000020; @@ -2792,55 +2525,41 @@ public Builder setScheduleBytes(com.google.protobuf.ByteString value) { private com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions scheduleOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> - scheduleOptionsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> scheduleOptionsBuilder_; /** - * - * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; - * * @return Whether the scheduleOptions field is set. */ public boolean hasScheduleOptions() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; - * * @return The scheduleOptions. */ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOptions() { if (scheduleOptionsBuilder_ == null) { - return scheduleOptions_ == null - ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() - : scheduleOptions_; + return scheduleOptions_ == null ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; } else { return scheduleOptionsBuilder_.getMessage(); } } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public Builder setScheduleOptions( - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { + public Builder setScheduleOptions(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { if (scheduleOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2854,8 +2573,6 @@ public Builder setScheduleOptions( return this; } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
@@ -2874,21 +2591,17 @@ public Builder setScheduleOptions( return this; } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public Builder mergeScheduleOptions( - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { + public Builder mergeScheduleOptions(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { if (scheduleOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && scheduleOptions_ != null - && scheduleOptions_ - != com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + scheduleOptions_ != null && + scheduleOptions_ != com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) { getScheduleOptionsBuilder().mergeFrom(value); } else { scheduleOptions_ = value; @@ -2903,8 +2616,6 @@ public Builder mergeScheduleOptions( return this; } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
@@ -2922,42 +2633,33 @@ public Builder clearScheduleOptions() { return this; } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder - getScheduleOptionsBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder getScheduleOptionsBuilder() { bitField0_ |= 0x00000040; onChanged(); return getScheduleOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder - getScheduleOptionsOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getScheduleOptionsOrBuilder() { if (scheduleOptionsBuilder_ != null) { return scheduleOptionsBuilder_.getMessageOrBuilder(); } else { - return scheduleOptions_ == null - ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() - : scheduleOptions_; + return scheduleOptions_ == null ? + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; } } /** - * - * *
      * Options customizing the data transfer schedule.
      * 
@@ -2965,26 +2667,21 @@ public Builder clearScheduleOptions() { * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> getScheduleOptionsFieldBuilder() { if (scheduleOptionsBuilder_ == null) { - scheduleOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder>( - getScheduleOptions(), getParentForChildren(), isClean()); + scheduleOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder>( + getScheduleOptions(), + getParentForChildren(), + isClean()); scheduleOptions_ = null; } return scheduleOptionsBuilder_; } - private int dataRefreshWindowDays_; + private int dataRefreshWindowDays_ ; /** - * - * *
      * The number of days to look back to automatically refresh the data.
      * For example, if `data_refresh_window_days = 10`, then every day
@@ -2995,7 +2692,6 @@ public Builder clearScheduleOptions() {
      * 
* * int32 data_refresh_window_days = 12; - * * @return The dataRefreshWindowDays. */ @java.lang.Override @@ -3003,8 +2699,6 @@ public int getDataRefreshWindowDays() { return dataRefreshWindowDays_; } /** - * - * *
      * The number of days to look back to automatically refresh the data.
      * For example, if `data_refresh_window_days = 10`, then every day
@@ -3015,7 +2709,6 @@ public int getDataRefreshWindowDays() {
      * 
* * int32 data_refresh_window_days = 12; - * * @param value The dataRefreshWindowDays to set. * @return This builder for chaining. */ @@ -3027,8 +2720,6 @@ public Builder setDataRefreshWindowDays(int value) { return this; } /** - * - * *
      * The number of days to look back to automatically refresh the data.
      * For example, if `data_refresh_window_days = 10`, then every day
@@ -3039,7 +2730,6 @@ public Builder setDataRefreshWindowDays(int value) {
      * 
* * int32 data_refresh_window_days = 12; - * * @return This builder for chaining. */ public Builder clearDataRefreshWindowDays() { @@ -3049,17 +2739,14 @@ public Builder clearDataRefreshWindowDays() { return this; } - private boolean disabled_; + private boolean disabled_ ; /** - * - * *
      * Is this config disabled. When set to true, no runs are scheduled
      * for a given transfer.
      * 
* * bool disabled = 13; - * * @return The disabled. */ @java.lang.Override @@ -3067,15 +2754,12 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
      * Is this config disabled. When set to true, no runs are scheduled
      * for a given transfer.
      * 
* * bool disabled = 13; - * * @param value The disabled to set. * @return This builder for chaining. */ @@ -3087,15 +2771,12 @@ public Builder setDisabled(boolean value) { return this; } /** - * - * *
      * Is this config disabled. When set to true, no runs are scheduled
      * for a given transfer.
      * 
* * bool disabled = 13; - * * @return This builder for chaining. */ public Builder clearDisabled() { @@ -3107,58 +2788,39 @@ public Builder clearDisabled() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3174,17 +2836,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3195,21 +2854,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3224,15 +2879,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3245,15 +2896,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000200; @@ -3261,48 +2908,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3310,58 +2945,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp nextRunTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - nextRunTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> nextRunTimeBuilder_; /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the nextRunTime field is set. */ public boolean hasNextRunTime() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The nextRunTime. */ public com.google.protobuf.Timestamp getNextRunTime() { if (nextRunTimeBuilder_ == null) { - return nextRunTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : nextRunTime_; + return nextRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextRunTime_; } else { return nextRunTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setNextRunTime(com.google.protobuf.Timestamp value) { if (nextRunTimeBuilder_ == null) { @@ -3377,17 +2993,14 @@ public Builder setNextRunTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setNextRunTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setNextRunTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (nextRunTimeBuilder_ == null) { nextRunTime_ = builderForValue.build(); } else { @@ -3398,21 +3011,17 @@ public Builder setNextRunTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeNextRunTime(com.google.protobuf.Timestamp value) { if (nextRunTimeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && nextRunTime_ != null - && nextRunTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + nextRunTime_ != null && + nextRunTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getNextRunTimeBuilder().mergeFrom(value); } else { nextRunTime_ = value; @@ -3427,15 +3036,11 @@ public Builder mergeNextRunTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearNextRunTime() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3448,15 +3053,11 @@ public Builder clearNextRunTime() { return this; } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getNextRunTimeBuilder() { bitField0_ |= 0x00000400; @@ -3464,48 +3065,36 @@ public com.google.protobuf.Timestamp.Builder getNextRunTimeBuilder() { return getNextRunTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { if (nextRunTimeBuilder_ != null) { return nextRunTimeBuilder_.getMessageOrBuilder(); } else { - return nextRunTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : nextRunTime_; + return nextRunTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : nextRunTime_; } } /** - * - * *
      * Output only. Next time when data transfer will run.
      * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getNextRunTimeFieldBuilder() { if (nextRunTimeBuilder_ == null) { - nextRunTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getNextRunTime(), getParentForChildren(), isClean()); + nextRunTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getNextRunTime(), + getParentForChildren(), + isClean()); nextRunTime_ = null; } return nextRunTimeBuilder_; @@ -3513,33 +3102,22 @@ public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { private int state_ = 0; /** - * - * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3550,37 +3128,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = - com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED - : result; + com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; } /** - * - * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -3594,16 +3159,11 @@ public Builder setState(com.google.cloud.bigquery.datatransfer.v1.TransferState return this; } /** - * - * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -3613,16 +3173,13 @@ public Builder clearState() { return this; } - private long userId_; + private long userId_ ; /** - * - * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; - * * @return The userId. */ @java.lang.Override @@ -3630,14 +3187,11 @@ public long getUserId() { return userId_; } /** - * - * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; - * * @param value The userId to set. * @return This builder for chaining. */ @@ -3649,14 +3203,11 @@ public Builder setUserId(long value) { return this; } /** - * - * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; - * * @return This builder for chaining. */ public Builder clearUserId() { @@ -3668,20 +3219,18 @@ public Builder clearUserId() { private java.lang.Object datasetRegion_ = ""; /** - * - * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The datasetRegion. */ public java.lang.String getDatasetRegion() { java.lang.Object ref = datasetRegion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetRegion_ = s; return s; @@ -3690,21 +3239,20 @@ public java.lang.String getDatasetRegion() { } } /** - * - * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for datasetRegion. */ - public com.google.protobuf.ByteString getDatasetRegionBytes() { + public com.google.protobuf.ByteString + getDatasetRegionBytes() { java.lang.Object ref = datasetRegion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetRegion_ = b; return b; } else { @@ -3712,35 +3260,28 @@ public com.google.protobuf.ByteString getDatasetRegionBytes() { } } /** - * - * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The datasetRegion to set. * @return This builder for chaining. */ - public Builder setDatasetRegion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatasetRegion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } datasetRegion_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** - * - * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDatasetRegion() { @@ -3750,21 +3291,17 @@ public Builder clearDatasetRegion() { return this; } /** - * - * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for datasetRegion to set. * @return This builder for chaining. */ - public Builder setDatasetRegionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatasetRegionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); datasetRegion_ = value; bitField0_ |= 0x00002000; @@ -3774,8 +3311,6 @@ public Builder setDatasetRegionBytes(com.google.protobuf.ByteString value) { private java.lang.Object notificationPubsubTopic_ = ""; /** - * - * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3785,13 +3320,13 @@ public Builder setDatasetRegionBytes(com.google.protobuf.ByteString value) {
      * 
* * string notification_pubsub_topic = 15; - * * @return The notificationPubsubTopic. */ public java.lang.String getNotificationPubsubTopic() { java.lang.Object ref = notificationPubsubTopic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; @@ -3800,8 +3335,6 @@ public java.lang.String getNotificationPubsubTopic() { } } /** - * - * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3811,14 +3344,15 @@ public java.lang.String getNotificationPubsubTopic() {
      * 
* * string notification_pubsub_topic = 15; - * * @return The bytes for notificationPubsubTopic. */ - public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString + getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -3826,8 +3360,6 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { } } /** - * - * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3837,22 +3369,18 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() {
      * 
* * string notification_pubsub_topic = 15; - * * @param value The notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopic(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNotificationPubsubTopic( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } notificationPubsubTopic_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** - * - * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3862,7 +3390,6 @@ public Builder setNotificationPubsubTopic(java.lang.String value) {
      * 
* * string notification_pubsub_topic = 15; - * * @return This builder for chaining. */ public Builder clearNotificationPubsubTopic() { @@ -3872,8 +3399,6 @@ public Builder clearNotificationPubsubTopic() { return this; } /** - * - * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3883,14 +3408,12 @@ public Builder clearNotificationPubsubTopic() {
      * 
* * string notification_pubsub_topic = 15; - * * @param value The bytes for notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNotificationPubsubTopicBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); notificationPubsubTopic_ = value; bitField0_ |= 0x00004000; @@ -3900,49 +3423,36 @@ public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString va private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> - emailPreferencesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> emailPreferencesBuilder_; /** - * - * *
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
      * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; - * * @return Whether the emailPreferences field is set. */ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00008000) != 0); } /** - * - * *
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
      * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; - * * @return The emailPreferences. */ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { if (emailPreferencesBuilder_ == null) { - return emailPreferences_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() - : emailPreferences_; + return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; } else { return emailPreferencesBuilder_.getMessage(); } } /** - * - * *
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3950,8 +3460,7 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPrefer
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public Builder setEmailPreferences(
-        com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
+    public Builder setEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
       if (emailPreferencesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3965,8 +3474,6 @@ public Builder setEmailPreferences(
       return this;
     }
     /**
-     *
-     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3986,8 +3493,6 @@ public Builder setEmailPreferences(
       return this;
     }
     /**
-     *
-     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3995,14 +3500,11 @@ public Builder setEmailPreferences(
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public Builder mergeEmailPreferences(
-        com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
+    public Builder mergeEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
       if (emailPreferencesBuilder_ == null) {
-        if (((bitField0_ & 0x00008000) != 0)
-            && emailPreferences_ != null
-            && emailPreferences_
-                != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences
-                    .getDefaultInstance()) {
+        if (((bitField0_ & 0x00008000) != 0) &&
+          emailPreferences_ != null &&
+          emailPreferences_ != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()) {
           getEmailPreferencesBuilder().mergeFrom(value);
         } else {
           emailPreferences_ = value;
@@ -4017,8 +3519,6 @@ public Builder mergeEmailPreferences(
       return this;
     }
     /**
-     *
-     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -4037,8 +3537,6 @@ public Builder clearEmailPreferences() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -4046,15 +3544,12 @@ public Builder clearEmailPreferences() {
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder
-        getEmailPreferencesBuilder() {
+    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder getEmailPreferencesBuilder() {
       bitField0_ |= 0x00008000;
       onChanged();
       return getEmailPreferencesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -4062,19 +3557,15 @@ public Builder clearEmailPreferences() {
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder
-        getEmailPreferencesOrBuilder() {
+    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() {
       if (emailPreferencesBuilder_ != null) {
         return emailPreferencesBuilder_.getMessageOrBuilder();
       } else {
-        return emailPreferences_ == null
-            ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()
-            : emailPreferences_;
+        return emailPreferences_ == null ?
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_;
       }
     }
     /**
-     *
-     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -4083,17 +3574,14 @@ public Builder clearEmailPreferences() {
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences,
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder,
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>
+        com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> 
         getEmailPreferencesFieldBuilder() {
       if (emailPreferencesBuilder_ == null) {
-        emailPreferencesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.bigquery.datatransfer.v1.EmailPreferences,
-                com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder,
-                com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>(
-                getEmailPreferences(), getParentForChildren(), isClean());
+        emailPreferencesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>(
+                getEmailPreferences(),
+                getParentForChildren(),
+                isClean());
         emailPreferences_ = null;
       }
       return emailPreferencesBuilder_;
@@ -4101,64 +3589,45 @@ public Builder clearEmailPreferences() {
 
     private com.google.cloud.bigquery.datatransfer.v1.UserInfo ownerInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.datatransfer.v1.UserInfo,
-            com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder,
-            com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder>
-        ownerInfoBuilder_;
+        com.google.cloud.bigquery.datatransfer.v1.UserInfo, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder> ownerInfoBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the ownerInfo field is set. */ public boolean hasOwnerInfo() { return ((bitField0_ & 0x00010000) != 0); } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The ownerInfo. */ public com.google.cloud.bigquery.datatransfer.v1.UserInfo getOwnerInfo() { if (ownerInfoBuilder_ == null) { - return ownerInfo_ == null - ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() - : ownerInfo_; + return ownerInfo_ == null ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; } else { return ownerInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo value) { if (ownerInfoBuilder_ == null) { @@ -4174,17 +3643,13 @@ public Builder setOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo v return this; } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOwnerInfo( com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder builderForValue) { @@ -4198,24 +3663,19 @@ public Builder setOwnerInfo( return this; } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo value) { if (ownerInfoBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) - && ownerInfo_ != null - && ownerInfo_ - != com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00010000) != 0) && + ownerInfo_ != null && + ownerInfo_ != com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) { getOwnerInfoBuilder().mergeFrom(value); } else { ownerInfo_ = value; @@ -4230,17 +3690,13 @@ public Builder mergeOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo return this; } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearOwnerInfo() { bitField0_ = (bitField0_ & ~0x00010000); @@ -4253,17 +3709,13 @@ public Builder clearOwnerInfo() { return this; } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder getOwnerInfoBuilder() { bitField0_ |= 0x00010000; @@ -4271,67 +3723,49 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder getOwnerInfoBu return getOwnerInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoOrBuilder() { if (ownerInfoBuilder_ != null) { return ownerInfoBuilder_.getMessageOrBuilder(); } else { - return ownerInfo_ == null - ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() - : ownerInfo_; + return ownerInfo_ == null ? + com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; } } /** - * - * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.UserInfo, - com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, - com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.UserInfo, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder> getOwnerInfoFieldBuilder() { if (ownerInfoBuilder_ == null) { - ownerInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.UserInfo, - com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, - com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder>( - getOwnerInfo(), getParentForChildren(), isClean()); + ownerInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.UserInfo, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder>( + getOwnerInfo(), + getParentForChildren(), + isClean()); ownerInfo_ = null; } return ownerInfoBuilder_; } - private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - encryptionConfiguration_; + private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryptionConfiguration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> - encryptionConfigurationBuilder_; + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> encryptionConfigurationBuilder_; /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4340,18 +3774,13 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoO
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; * @return Whether the encryptionConfiguration field is set. */ public boolean hasEncryptionConfiguration() { return ((bitField0_ & 0x00020000) != 0); } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4360,25 +3789,17 @@ public boolean hasEncryptionConfiguration() {
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; * @return The encryptionConfiguration. */ - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - getEncryptionConfiguration() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncryptionConfiguration() { if (encryptionConfigurationBuilder_ == null) { - return encryptionConfiguration_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() - : encryptionConfiguration_; + return encryptionConfiguration_ == null ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; } else { return encryptionConfigurationBuilder_.getMessage(); } } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4387,12 +3808,9 @@ public boolean hasEncryptionConfiguration() {
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ - public Builder setEncryptionConfiguration( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { + public Builder setEncryptionConfiguration(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { if (encryptionConfigurationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4406,8 +3824,6 @@ public Builder setEncryptionConfiguration( return this; } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4416,9 +3832,7 @@ public Builder setEncryptionConfiguration(
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ public Builder setEncryptionConfiguration( com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder builderForValue) { @@ -4432,8 +3846,6 @@ public Builder setEncryptionConfiguration( return this; } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4442,18 +3854,13 @@ public Builder setEncryptionConfiguration(
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ - public Builder mergeEncryptionConfiguration( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { + public Builder mergeEncryptionConfiguration(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { if (encryptionConfigurationBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) - && encryptionConfiguration_ != null - && encryptionConfiguration_ - != com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration - .getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) && + encryptionConfiguration_ != null && + encryptionConfiguration_ != com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance()) { getEncryptionConfigurationBuilder().mergeFrom(value); } else { encryptionConfiguration_ = value; @@ -4468,8 +3875,6 @@ public Builder mergeEncryptionConfiguration( return this; } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4478,9 +3883,7 @@ public Builder mergeEncryptionConfiguration(
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ public Builder clearEncryptionConfiguration() { bitField0_ = (bitField0_ & ~0x00020000); @@ -4493,8 +3896,6 @@ public Builder clearEncryptionConfiguration() { return this; } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4503,19 +3904,14 @@ public Builder clearEncryptionConfiguration() {
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder - getEncryptionConfigurationBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder getEncryptionConfigurationBuilder() { bitField0_ |= 0x00020000; onChanged(); return getEncryptionConfigurationFieldBuilder().getBuilder(); } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4524,23 +3920,17 @@ public Builder clearEncryptionConfiguration() {
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder - getEncryptionConfigurationOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder getEncryptionConfigurationOrBuilder() { if (encryptionConfigurationBuilder_ != null) { return encryptionConfigurationBuilder_.getMessageOrBuilder(); } else { - return encryptionConfiguration_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() - : encryptionConfiguration_; + return encryptionConfiguration_ == null ? + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; } } /** - * - * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -4549,29 +3939,24 @@ public Builder clearEncryptionConfiguration() {
      * otherwise try to apply project default keys if it is absent.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> getEncryptionConfigurationFieldBuilder() { if (encryptionConfigurationBuilder_ == null) { - encryptionConfigurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder>( - getEncryptionConfiguration(), getParentForChildren(), isClean()); + encryptionConfigurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder>( + getEncryptionConfiguration(), + getParentForChildren(), + isClean()); encryptionConfiguration_ = null; } return encryptionConfigurationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4581,12 +3966,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.TransferConfig) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.TransferConfig) private static final com.google.cloud.bigquery.datatransfer.v1.TransferConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.TransferConfig(); } @@ -4595,27 +3980,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4630,4 +4015,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java new file mode 100644 index 000000000000..7b657f046635 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java @@ -0,0 +1,314 @@ +/* + * 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; + +import com.google.api.core.BetaApi; +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.pathtemplate.ValidationException; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class TransferConfigName implements ResourceName { + private static final PathTemplate PROJECT_TRANSFER_CONFIG = + PathTemplate.createWithoutUrlEncoding("projects/{project}/transferConfigs/{transfer_config}"); + private static final PathTemplate PROJECT_LOCATION_TRANSFER_CONFIG = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/transferConfigs/{transfer_config}"); + private volatile Map fieldValuesMap; + private PathTemplate pathTemplate; + private String fixedValue; + private final String project; + private final String transferConfig; + private final String location; + + @Deprecated + protected TransferConfigName() { + project = null; + transferConfig = null; + location = null; + } + + private TransferConfigName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); + location = null; + pathTemplate = PROJECT_TRANSFER_CONFIG; + } + + private TransferConfigName(ProjectLocationTransferConfigBuilder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); + pathTemplate = PROJECT_LOCATION_TRANSFER_CONFIG; + } + + public String getProject() { + return project; + } + + public String getTransferConfig() { + return transferConfig; + } + + public String getLocation() { + return location; + } + + public static Builder newBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static Builder newProjectTransferConfigBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static ProjectLocationTransferConfigBuilder newProjectLocationTransferConfigBuilder() { + return new ProjectLocationTransferConfigBuilder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static TransferConfigName of(String project, String transferConfig) { + return newBuilder().setProject(project).setTransferConfig(transferConfig).build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static TransferConfigName ofProjectTransferConfigName( + String project, String transferConfig) { + return newBuilder().setProject(project).setTransferConfig(transferConfig).build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static TransferConfigName ofProjectLocationTransferConfigName( + String project, String location, String transferConfig) { + return newProjectLocationTransferConfigBuilder() + .setProject(project) + .setLocation(location) + .setTransferConfig(transferConfig) + .build(); + } + + public static String format(String project, String transferConfig) { + return newBuilder().setProject(project).setTransferConfig(transferConfig).build().toString(); + } + + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectTransferConfigName(String project, String transferConfig) { + return newBuilder().setProject(project).setTransferConfig(transferConfig).build().toString(); + } + + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectLocationTransferConfigName( + String project, String location, String transferConfig) { + return newProjectLocationTransferConfigBuilder() + .setProject(project) + .setLocation(location) + .setTransferConfig(transferConfig) + .build() + .toString(); + } + + public static TransferConfigName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + if (PROJECT_TRANSFER_CONFIG.matches(formattedString)) { + Map matchMap = PROJECT_TRANSFER_CONFIG.match(formattedString); + return ofProjectTransferConfigName(matchMap.get("project"), matchMap.get("transfer_config")); + } else if (PROJECT_LOCATION_TRANSFER_CONFIG.matches(formattedString)) { + Map matchMap = PROJECT_LOCATION_TRANSFER_CONFIG.match(formattedString); + return ofProjectLocationTransferConfigName( + matchMap.get("project"), matchMap.get("location"), matchMap.get("transfer_config")); + } + throw new ValidationException("TransferConfigName.parse: formattedString not in valid format"); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (TransferConfigName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_TRANSFER_CONFIG.matches(formattedString) + || PROJECT_LOCATION_TRANSFER_CONFIG.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (transferConfig != null) { + fieldMapBuilder.put("transfer_config", transferConfig); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return fixedValue != null ? fixedValue : pathTemplate.instantiate(getFieldValuesMap()); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + TransferConfigName that = ((TransferConfigName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.transferConfig, that.transferConfig) + && Objects.equals(this.location, that.location); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(fixedValue); + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(transferConfig); + h *= 1000003; + h ^= Objects.hashCode(location); + return h; + } + + /** Builder for projects/{project}/transferConfigs/{transfer_config}. */ + public static class Builder { + private String project; + private String transferConfig; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getTransferConfig() { + return transferConfig; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setTransferConfig(String transferConfig) { + this.transferConfig = transferConfig; + return this; + } + + private Builder(TransferConfigName transferConfigName) { + Preconditions.checkArgument( + Objects.equals(transferConfigName.pathTemplate, PROJECT_TRANSFER_CONFIG), + "toBuilder is only supported when TransferConfigName has the pattern of projects/{project}/transferConfigs/{transfer_config}"); + this.project = transferConfigName.project; + this.transferConfig = transferConfigName.transferConfig; + } + + public TransferConfigName build() { + return new TransferConfigName(this); + } + } + + /** Builder for projects/{project}/locations/{location}/transferConfigs/{transfer_config}. */ + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static class ProjectLocationTransferConfigBuilder { + private String project; + private String location; + private String transferConfig; + + protected ProjectLocationTransferConfigBuilder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getTransferConfig() { + return transferConfig; + } + + public ProjectLocationTransferConfigBuilder setProject(String project) { + this.project = project; + return this; + } + + public ProjectLocationTransferConfigBuilder setLocation(String location) { + this.location = location; + return this; + } + + public ProjectLocationTransferConfigBuilder setTransferConfig(String transferConfig) { + this.transferConfig = transferConfig; + return this; + } + + public TransferConfigName build() { + return new TransferConfigName(this); + } + } +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java similarity index 81% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java index 99e48ae5df33..eb87cbb6c1d2 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java @@ -1,32 +1,14 @@ -/* - * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface TransferConfigOrBuilder - extends +public interface TransferConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.TransferConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -38,13 +20,10 @@ public interface TransferConfigOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -56,76 +35,61 @@ public interface TransferConfigOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; - * * @return Whether the destinationDatasetId field is set. */ boolean hasDestinationDatasetId(); /** - * - * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; - * * @return The destinationDatasetId. */ java.lang.String getDestinationDatasetId(); /** - * - * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; - * * @return The bytes for destinationDatasetId. */ - com.google.protobuf.ByteString getDestinationDatasetIdBytes(); + com.google.protobuf.ByteString + getDestinationDatasetIdBytes(); /** - * - * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -133,13 +97,10 @@ public interface TransferConfigOrBuilder
    * 
* * string data_source_id = 5; - * * @return The dataSourceId. */ java.lang.String getDataSourceId(); /** - * - * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -147,14 +108,12 @@ public interface TransferConfigOrBuilder
    * 
* * string data_source_id = 5; - * * @return The bytes for dataSourceId. */ - com.google.protobuf.ByteString getDataSourceIdBytes(); + com.google.protobuf.ByteString + getDataSourceIdBytes(); /** - * - * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -163,13 +122,10 @@ public interface TransferConfigOrBuilder
    * 
* * .google.protobuf.Struct params = 9; - * * @return Whether the params field is set. */ boolean hasParams(); /** - * - * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -178,13 +134,10 @@ public interface TransferConfigOrBuilder
    * 
* * .google.protobuf.Struct params = 9; - * * @return The params. */ com.google.protobuf.Struct getParams(); /** - * - * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -197,8 +150,6 @@ public interface TransferConfigOrBuilder
   com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -217,13 +168,10 @@ public interface TransferConfigOrBuilder
    * 
* * string schedule = 7; - * * @return The schedule. */ java.lang.String getSchedule(); /** - * - * *
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -242,38 +190,30 @@ public interface TransferConfigOrBuilder
    * 
* * string schedule = 7; - * * @return The bytes for schedule. */ - com.google.protobuf.ByteString getScheduleBytes(); + com.google.protobuf.ByteString + getScheduleBytes(); /** - * - * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; - * * @return Whether the scheduleOptions field is set. */ boolean hasScheduleOptions(); /** - * - * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; - * * @return The scheduleOptions. */ com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOptions(); /** - * - * *
    * Options customizing the data transfer schedule.
    * 
@@ -283,8 +223,6 @@ public interface TransferConfigOrBuilder com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getScheduleOptionsOrBuilder(); /** - * - * *
    * The number of days to look back to automatically refresh the data.
    * For example, if `data_refresh_window_days = 10`, then every day
@@ -295,174 +233,125 @@ public interface TransferConfigOrBuilder
    * 
* * int32 data_refresh_window_days = 12; - * * @return The dataRefreshWindowDays. */ int getDataRefreshWindowDays(); /** - * - * *
    * Is this config disabled. When set to true, no runs are scheduled
    * for a given transfer.
    * 
* * bool disabled = 13; - * * @return The disabled. */ boolean getDisabled(); /** - * - * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Next time when data transfer will run.
    * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the nextRunTime field is set. */ boolean hasNextRunTime(); /** - * - * *
    * Output only. Next time when data transfer will run.
    * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The nextRunTime. */ com.google.protobuf.Timestamp getNextRunTime(); /** - * - * *
    * Output only. Next time when data transfer will run.
    * 
* - * - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder(); /** - * - * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.bigquery.datatransfer.v1.TransferState getState(); /** - * - * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; - * * @return The userId. */ long getUserId(); /** - * - * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The datasetRegion. */ java.lang.String getDatasetRegion(); /** - * - * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for datasetRegion. */ - com.google.protobuf.ByteString getDatasetRegionBytes(); + com.google.protobuf.ByteString + getDatasetRegionBytes(); /** - * - * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -472,13 +361,10 @@ public interface TransferConfigOrBuilder
    * 
* * string notification_pubsub_topic = 15; - * * @return The notificationPubsubTopic. */ java.lang.String getNotificationPubsubTopic(); /** - * - * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -488,40 +374,32 @@ public interface TransferConfigOrBuilder
    * 
* * string notification_pubsub_topic = 15; - * * @return The bytes for notificationPubsubTopic. */ - com.google.protobuf.ByteString getNotificationPubsubTopicBytes(); + com.google.protobuf.ByteString + getNotificationPubsubTopicBytes(); /** - * - * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; - * * @return Whether the emailPreferences field is set. */ boolean hasEmailPreferences(); /** - * - * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; - * * @return The emailPreferences. */ com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences(); /** - * - * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
@@ -529,59 +407,42 @@ public interface TransferConfigOrBuilder
    *
    * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
    */
-  com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder
-      getEmailPreferencesOrBuilder();
+  com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the ownerInfo field is set. */ boolean hasOwnerInfo(); /** - * - * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The ownerInfo. */ com.google.cloud.bigquery.datatransfer.v1.UserInfo getOwnerInfo(); /** - * - * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoOrBuilder(); /** - * - * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -590,16 +451,11 @@ public interface TransferConfigOrBuilder
    * otherwise try to apply project default keys if it is absent.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; * @return Whether the encryptionConfiguration field is set. */ boolean hasEncryptionConfiguration(); /** - * - * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -608,16 +464,11 @@ public interface TransferConfigOrBuilder
    * otherwise try to apply project default keys if it is absent.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; * @return The encryptionConfiguration. */ com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncryptionConfiguration(); /** - * - * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -626,12 +477,9 @@ public interface TransferConfigOrBuilder
    * otherwise try to apply project default keys if it is absent.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; - * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; */ - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder - getEncryptionConfigurationOrBuilder(); + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder getEncryptionConfigurationOrBuilder(); com.google.cloud.bigquery.datatransfer.v1.TransferConfig.DestinationCase getDestinationCase(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java similarity index 68% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java index 0d168c1d6df6..4ce63973e0e7 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Represents a user facing message for a particular data transfer run.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferMessage} */ -public final class TransferMessage extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransferMessage extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.TransferMessage) TransferMessageOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransferMessage.newBuilder() to construct. private TransferMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferMessage() { severity_ = 0; messageText_ = ""; @@ -45,38 +27,34 @@ private TransferMessage() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferMessage(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); } /** - * - * *
    * Represents data transfer user facing message severity.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity} */ - public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { + public enum MessageSeverity + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No severity specified.
      * 
@@ -85,8 +63,6 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { */ MESSAGE_SEVERITY_UNSPECIFIED(0), /** - * - * *
      * Informational message.
      * 
@@ -95,8 +71,6 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { */ INFO(1), /** - * - * *
      * Warning message.
      * 
@@ -105,8 +79,6 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { */ WARNING(2), /** - * - * *
      * Error message.
      * 
@@ -118,8 +90,6 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * No severity specified.
      * 
@@ -128,8 +98,6 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MESSAGE_SEVERITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Informational message.
      * 
@@ -138,8 +106,6 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INFO_VALUE = 1; /** - * - * *
      * Warning message.
      * 
@@ -148,8 +114,6 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WARNING_VALUE = 2; /** - * - * *
      * Error message.
      * 
@@ -158,6 +122,7 @@ public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ERROR_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -182,47 +147,41 @@ public static MessageSeverity valueOf(int value) { */ public static MessageSeverity forNumber(int value) { switch (value) { - case 0: - return MESSAGE_SEVERITY_UNSPECIFIED; - case 1: - return INFO; - case 2: - return WARNING; - case 3: - return ERROR; - default: - return null; + case 0: return MESSAGE_SEVERITY_UNSPECIFIED; + case 1: return INFO; + case 2: return WARNING; + case 3: return ERROR; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + MessageSeverity> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MessageSeverity findValueByNumber(int number) { + return MessageSeverity.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MessageSeverity findValueByNumber(int number) { - return MessageSeverity.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDescriptor().getEnumTypes().get(0); } private static final MessageSeverity[] VALUES = values(); @@ -230,7 +189,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static MessageSeverity valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -251,14 +211,11 @@ private MessageSeverity(int value) { public static final int MESSAGE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp messageTime_; /** - * - * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; - * * @return Whether the messageTime field is set. */ @java.lang.Override @@ -266,14 +223,11 @@ public boolean hasMessageTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; - * * @return The messageTime. */ @java.lang.Override @@ -281,8 +235,6 @@ public com.google.protobuf.Timestamp getMessageTime() { return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; } /** - * - * *
    * Time when message was logged.
    * 
@@ -297,56 +249,38 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { public static final int SEVERITY_FIELD_NUMBER = 2; private int severity_ = 0; /** - * - * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @return The enum numeric value on the wire for severity. */ - @java.lang.Override - public int getSeverityValue() { + @java.lang.Override public int getSeverityValue() { return severity_; } /** - * - * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @return The severity. */ - @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity() { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber( - severity_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity() { + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber(severity_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED : result; } public static final int MESSAGE_TEXT_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object messageText_ = ""; /** - * - * *
    * Message text.
    * 
* * string message_text = 3; - * * @return The messageText. */ @java.lang.Override @@ -355,29 +289,29 @@ public java.lang.String getMessageText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); messageText_ = s; return s; } } /** - * - * *
    * Message text.
    * 
* * string message_text = 3; - * * @return The bytes for messageText. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageTextBytes() { + public com.google.protobuf.ByteString + getMessageTextBytes() { java.lang.Object ref = messageText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); messageText_ = b; return b; } else { @@ -386,7 +320,6 @@ public com.google.protobuf.ByteString getMessageTextBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -398,14 +331,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getMessageTime()); } - if (severity_ - != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity - .MESSAGE_SEVERITY_UNSPECIFIED - .getNumber()) { + if (severity_ != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.MESSAGE_SEVERITY_UNSPECIFIED.getNumber()) { output.writeEnum(2, severity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(messageText_)) { @@ -421,13 +352,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMessageTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMessageTime()); } - if (severity_ - != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity - .MESSAGE_SEVERITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, severity_); + if (severity_ != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.MESSAGE_SEVERITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, severity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(messageText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, messageText_); @@ -440,20 +370,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.TransferMessage)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.TransferMessage other = - (com.google.cloud.bigquery.datatransfer.v1.TransferMessage) obj; + com.google.cloud.bigquery.datatransfer.v1.TransferMessage other = (com.google.cloud.bigquery.datatransfer.v1.TransferMessage) obj; if (hasMessageTime() != other.hasMessageTime()) return false; if (hasMessageTime()) { - if (!getMessageTime().equals(other.getMessageTime())) return false; + if (!getMessageTime() + .equals(other.getMessageTime())) return false; } if (severity_ != other.severity_) return false; - if (!getMessageText().equals(other.getMessageText())) return false; + if (!getMessageText() + .equals(other.getMessageText())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -479,127 +410,119 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage 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.TransferMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferMessage 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.TransferMessage 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.TransferMessage parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage 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.TransferMessage 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.TransferMessage parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.TransferMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferMessage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a user facing message for a particular data transfer run.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferMessage} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.TransferMessage) com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.TransferMessage.newBuilder() @@ -607,17 +530,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMessageTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -633,9 +556,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; } @java.lang.Override @@ -654,11 +577,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage result = - new com.google.cloud.bigquery.datatransfer.v1.TransferMessage(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.TransferMessage result = new com.google.cloud.bigquery.datatransfer.v1.TransferMessage(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -667,8 +587,9 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferMes int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.messageTime_ = - messageTimeBuilder_ == null ? messageTime_ : messageTimeBuilder_.build(); + result.messageTime_ = messageTimeBuilder_ == null + ? messageTime_ + : messageTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { @@ -684,39 +605,38 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferMes public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.TransferMessage) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferMessage) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferMessage)other); } else { super.mergeFrom(other); return this; @@ -724,8 +644,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferMessage other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()) return this; if (other.hasMessageTime()) { mergeMessageTime(other.getMessageTime()); } @@ -763,31 +682,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getMessageTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - severity_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - messageText_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getMessageTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + severity_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + messageText_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -797,52 +714,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp messageTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - messageTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> messageTimeBuilder_; /** - * - * *
      * Time when message was logged.
      * 
* * .google.protobuf.Timestamp message_time = 1; - * * @return Whether the messageTime field is set. */ public boolean hasMessageTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Time when message was logged.
      * 
* * .google.protobuf.Timestamp message_time = 1; - * * @return The messageTime. */ public com.google.protobuf.Timestamp getMessageTime() { if (messageTimeBuilder_ == null) { - return messageTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : messageTime_; + return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; } else { return messageTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when message was logged.
      * 
@@ -863,15 +766,14 @@ public Builder setMessageTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when message was logged.
      * 
* * .google.protobuf.Timestamp message_time = 1; */ - public Builder setMessageTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setMessageTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (messageTimeBuilder_ == null) { messageTime_ = builderForValue.build(); } else { @@ -882,8 +784,6 @@ public Builder setMessageTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * Time when message was logged.
      * 
@@ -892,9 +792,9 @@ public Builder setMessageTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { if (messageTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && messageTime_ != null - && messageTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + messageTime_ != null && + messageTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getMessageTimeBuilder().mergeFrom(value); } else { messageTime_ = value; @@ -909,8 +809,6 @@ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when message was logged.
      * 
@@ -928,8 +826,6 @@ public Builder clearMessageTime() { return this; } /** - * - * *
      * Time when message was logged.
      * 
@@ -942,8 +838,6 @@ public com.google.protobuf.Timestamp.Builder getMessageTimeBuilder() { return getMessageTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when message was logged.
      * 
@@ -954,14 +848,11 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { if (messageTimeBuilder_ != null) { return messageTimeBuilder_.getMessageOrBuilder(); } else { - return messageTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : messageTime_; + return messageTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; } } /** - * - * *
      * Time when message was logged.
      * 
@@ -969,17 +860,14 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { * .google.protobuf.Timestamp message_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getMessageTimeFieldBuilder() { if (messageTimeBuilder_ == null) { - messageTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getMessageTime(), getParentForChildren(), isClean()); + messageTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getMessageTime(), + getParentForChildren(), + isClean()); messageTime_ = null; } return messageTimeBuilder_; @@ -987,31 +875,22 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { private int severity_ = 0; /** - * - * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @return The enum numeric value on the wire for severity. */ - @java.lang.Override - public int getSeverityValue() { + @java.lang.Override public int getSeverityValue() { return severity_; } /** - * - * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @param value The enum numeric value on the wire for severity to set. * @return This builder for chaining. */ @@ -1022,41 +901,28 @@ public Builder setSeverityValue(int value) { return this; } /** - * - * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @return The severity. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity() { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber( - severity_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED - : result; + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber(severity_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED : result; } /** - * - * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { + public Builder setSeverity(com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { if (value == null) { throw new NullPointerException(); } @@ -1066,15 +932,11 @@ public Builder setSeverity( return this; } /** - * - * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @return This builder for chaining. */ public Builder clearSeverity() { @@ -1086,20 +948,18 @@ public Builder clearSeverity() { private java.lang.Object messageText_ = ""; /** - * - * *
      * Message text.
      * 
* * string message_text = 3; - * * @return The messageText. */ public java.lang.String getMessageText() { java.lang.Object ref = messageText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); messageText_ = s; return s; @@ -1108,21 +968,20 @@ public java.lang.String getMessageText() { } } /** - * - * *
      * Message text.
      * 
* * string message_text = 3; - * * @return The bytes for messageText. */ - public com.google.protobuf.ByteString getMessageTextBytes() { + public com.google.protobuf.ByteString + getMessageTextBytes() { java.lang.Object ref = messageText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); messageText_ = b; return b; } else { @@ -1130,35 +989,28 @@ public com.google.protobuf.ByteString getMessageTextBytes() { } } /** - * - * *
      * Message text.
      * 
* * string message_text = 3; - * * @param value The messageText to set. * @return This builder for chaining. */ - public Builder setMessageText(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageText( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } messageText_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Message text.
      * 
* * string message_text = 3; - * * @return This builder for chaining. */ public Builder clearMessageText() { @@ -1168,30 +1020,26 @@ public Builder clearMessageText() { return this; } /** - * - * *
      * Message text.
      * 
* * string message_text = 3; - * * @param value The bytes for messageText to set. * @return This builder for chaining. */ - public Builder setMessageTextBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageTextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); messageText_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1201,12 +1049,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.TransferMessage) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.TransferMessage) private static final com.google.cloud.bigquery.datatransfer.v1.TransferMessage DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.TransferMessage(); } @@ -1215,27 +1063,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1250,4 +1098,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java similarity index 66% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java index 0e9b4035b43e..467992092e26 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java @@ -1,56 +1,32 @@ -/* - * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface TransferMessageOrBuilder - extends +public interface TransferMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.TransferMessage) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; - * * @return Whether the messageTime field is set. */ boolean hasMessageTime(); /** - * - * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; - * * @return The messageTime. */ com.google.protobuf.Timestamp getMessageTime(); /** - * - * *
    * Time when message was logged.
    * 
@@ -60,54 +36,41 @@ public interface TransferMessageOrBuilder com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder(); /** - * - * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @return The enum numeric value on the wire for severity. */ int getSeverityValue(); /** - * - * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; * @return The severity. */ com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity(); /** - * - * *
    * Message text.
    * 
* * string message_text = 3; - * * @return The messageText. */ java.lang.String getMessageText(); /** - * - * *
    * Message text.
    * 
* * string message_text = 3; - * * @return The bytes for messageText. */ - com.google.protobuf.ByteString getMessageTextBytes(); + com.google.protobuf.ByteString + getMessageTextBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java new file mode 100644 index 000000000000..4328e12c1f77 --- /dev/null +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java @@ -0,0 +1,212 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/datatransfer/v1/transfer.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.datatransfer.v1; + +public final class TransferProto { + private TransferProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n4google/cloud/bigquery/datatransfer/v1/" + + "transfer.proto\022%google.cloud.bigquery.da" + + "tatransfer.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\034googl" + + "e/protobuf/struct.proto\032\037google/protobuf" + + "/timestamp.proto\032\036google/protobuf/wrappe" + + "rs.proto\032\027google/rpc/status.proto\"0\n\020Ema" + + "ilPreferences\022\034\n\024enable_failure_email\030\001 " + + "\001(\010\"\220\001\n\017ScheduleOptions\022\037\n\027disable_auto_" + + "scheduling\030\003 \001(\010\022.\n\nstart_time\030\001 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022,\n\010end_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\"(\n\010UserIn" + + "fo\022\022\n\005email\030\001 \001(\tH\000\210\001\001B\010\n\006_email\"\227\010\n\016Tra" + + "nsferConfig\022\014\n\004name\030\001 \001(\t\022 \n\026destination" + + "_dataset_id\030\002 \001(\tH\000\022\024\n\014display_name\030\003 \001(" + + "\t\022\026\n\016data_source_id\030\005 \001(\t\022\'\n\006params\030\t \001(" + + "\0132\027.google.protobuf.Struct\022\020\n\010schedule\030\007" + + " \001(\t\022P\n\020schedule_options\030\030 \001(\01326.google." + + "cloud.bigquery.datatransfer.v1.ScheduleO" + + "ptions\022 \n\030data_refresh_window_days\030\014 \001(\005" + + "\022\020\n\010disabled\030\r \001(\010\0224\n\013update_time\030\004 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\0226\n\rnext" + + "_run_time\030\010 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022H\n\005state\030\n \001(\01624.google.cloud.b" + + "igquery.datatransfer.v1.TransferStateB\003\340" + + "A\003\022\017\n\007user_id\030\013 \001(\003\022\033\n\016dataset_region\030\016 " + + "\001(\tB\003\340A\003\022!\n\031notification_pubsub_topic\030\017 " + + "\001(\t\022R\n\021email_preferences\030\022 \001(\01327.google." + + "cloud.bigquery.datatransfer.v1.EmailPref" + + "erences\022M\n\nowner_info\030\033 \001(\0132/.google.clo" + + "ud.bigquery.datatransfer.v1.UserInfoB\003\340A" + + "\003H\001\210\001\001\022`\n\030encryption_configuration\030\034 \001(\013" + + "2>.google.cloud.bigquery.datatransfer.v1" + + ".EncryptionConfiguration:\271\001\352A\265\001\n2bigquer" + + "ydatatransfer.googleapis.com/TransferCon" + + "fig\0224projects/{project}/transferConfigs/" + + "{transfer_config}\022Iprojects/{project}/lo" + + "cations/{location}/transferConfigs/{tran" + + "sfer_config}B\r\n\013destinationB\r\n\013_owner_in" + + "fo\"M\n\027EncryptionConfiguration\0222\n\014kms_key" + + "_name\030\001 \001(\0132\034.google.protobuf.StringValu" + + "e\"\372\006\n\013TransferRun\022\014\n\004name\030\001 \001(\t\0221\n\rsched" + + "ule_time\030\003 \001(\0132\032.google.protobuf.Timesta" + + "mp\022,\n\010run_time\030\n \001(\0132\032.google.protobuf.T" + + "imestamp\022(\n\014error_status\030\025 \001(\0132\022.google." + + "rpc.Status\0223\n\nstart_time\030\004 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" + + "date_time\030\006 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022,\n\006params\030\t \001(\0132\027.google.protob" + + "uf.StructB\003\340A\003\022%\n\026destination_dataset_id" + + "\030\002 \001(\tB\003\340A\003H\000\022\033\n\016data_source_id\030\007 \001(\tB\003\340" + + "A\003\022C\n\005state\030\010 \001(\01624.google.cloud.bigquer" + + "y.datatransfer.v1.TransferState\022\017\n\007user_" + + "id\030\013 \001(\003\022\025\n\010schedule\030\014 \001(\tB\003\340A\003\022&\n\031notif" + + "ication_pubsub_topic\030\027 \001(\tB\003\340A\003\022W\n\021email" + + "_preferences\030\031 \001(\01327.google.cloud.bigque" + + "ry.datatransfer.v1.EmailPreferencesB\003\340A\003" + + ":\304\001\352A\300\001\n\'bigquerydatatransfer.googleapis" + + ".com/Run\022?projects/{project}/transferCon" + + "figs/{transfer_config}/runs/{run}\022Tproje" + + "cts/{project}/locations/{location}/trans" + + "ferConfigs/{transfer_config}/runs/{run}B" + + "\r\n\013destination\"\212\002\n\017TransferMessage\0220\n\014me" + + "ssage_time\030\001 \001(\0132\032.google.protobuf.Times" + + "tamp\022X\n\010severity\030\002 \001(\0162F.google.cloud.bi" + + "gquery.datatransfer.v1.TransferMessage.M" + + "essageSeverity\022\024\n\014message_text\030\003 \001(\t\"U\n\017" + + "MessageSeverity\022 \n\034MESSAGE_SEVERITY_UNSP" + + "ECIFIED\020\000\022\010\n\004INFO\020\001\022\013\n\007WARNING\020\002\022\t\n\005ERRO" + + "R\020\003*K\n\014TransferType\022\035\n\031TRANSFER_TYPE_UNS" + + "PECIFIED\020\000\022\t\n\005BATCH\020\001\022\r\n\tSTREAMING\020\002\032\002\030\001" + + "*s\n\rTransferState\022\036\n\032TRANSFER_STATE_UNSP" + + "ECIFIED\020\000\022\013\n\007PENDING\020\002\022\013\n\007RUNNING\020\003\022\r\n\tS" + + "UCCEEDED\020\004\022\n\n\006FAILED\020\005\022\r\n\tCANCELLED\020\006B\217\002" + + "\n)com.google.cloud.bigquery.datatransfer" + + ".v1B\rTransferProtoP\001ZMcloud.google.com/g" + + "o/bigquery/datatransfer/apiv1/datatransf" + + "erpb;datatransferpb\242\002\005GCBDT\252\002%Google.Clo" + + "ud.BigQuery.DataTransfer.V1\312\002%Google\\Clo" + + "ud\\BigQuery\\DataTransfer\\V1\352\002)Google::Cl" + + "oud::Bigquery::DataTransfer::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor, + new java.lang.String[] { "EnableFailureEmail", }); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor, + new java.lang.String[] { "DisableAutoScheduling", "StartTime", "EndTime", }); + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor, + new java.lang.String[] { "Email", }); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor, + new java.lang.String[] { "Name", "DestinationDatasetId", "DisplayName", "DataSourceId", "Params", "Schedule", "ScheduleOptions", "DataRefreshWindowDays", "Disabled", "UpdateTime", "NextRunTime", "State", "UserId", "DatasetRegion", "NotificationPubsubTopic", "EmailPreferences", "OwnerInfo", "EncryptionConfiguration", "Destination", }); + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor, + new java.lang.String[] { "KmsKeyName", }); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor, + new java.lang.String[] { "Name", "ScheduleTime", "RunTime", "ErrorStatus", "StartTime", "EndTime", "UpdateTime", "Params", "DestinationDatasetId", "DataSourceId", "State", "UserId", "Schedule", "NotificationPubsubTopic", "EmailPreferences", "Destination", }); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor, + new java.lang.String[] { "MessageTime", "Severity", "MessageText", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java similarity index 73% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java index dfc9bdceaa34..0d224cd7fb9c 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Represents a data transfer run.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferRun} */ -public final class TransferRun extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransferRun extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.TransferRun) TransferRunOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransferRun.newBuilder() to construct. private TransferRun(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferRun() { name_ = ""; dataSourceId_ = ""; @@ -48,39 +30,34 @@ private TransferRun() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferRun(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); } private int bitField0_; private int destinationCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object destination_; - public enum DestinationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DESTINATION_DATASET_ID(2), DESTINATION_NOT_SET(0); private final int value; - private DestinationCase(int value) { this.value = value; } @@ -96,31 +73,26 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 2: - return DESTINATION_DATASET_ID; - case 0: - return DESTINATION_NOT_SET; - default: - return null; + case 2: return DESTINATION_DATASET_ID; + case 0: return DESTINATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -129,7 +101,6 @@ public DestinationCase getDestinationCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -138,15 +109,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -155,15 +125,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -174,14 +145,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -189,25 +157,18 @@ public boolean hasScheduleTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Minimum time after which a transfer run can be started.
    * 
@@ -216,23 +177,18 @@ public com.google.protobuf.Timestamp getScheduleTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } public static final int RUN_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp runTime_; /** - * - * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; - * * @return Whether the runTime field is set. */ @java.lang.Override @@ -240,15 +196,12 @@ public boolean hasRunTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; - * * @return The runTime. */ @java.lang.Override @@ -256,8 +209,6 @@ public com.google.protobuf.Timestamp getRunTime() { return runTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runTime_; } /** - * - * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
@@ -273,14 +224,11 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
   public static final int ERROR_STATUS_FIELD_NUMBER = 21;
   private com.google.rpc.Status errorStatus_;
   /**
-   *
-   *
    * 
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; - * * @return Whether the errorStatus field is set. */ @java.lang.Override @@ -288,14 +236,11 @@ public boolean hasErrorStatus() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; - * * @return The errorStatus. */ @java.lang.Override @@ -303,8 +248,6 @@ public com.google.rpc.Status getErrorStatus() { return errorStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : errorStatus_; } /** - * - * *
    * Status of the transfer run.
    * 
@@ -319,16 +262,12 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -336,16 +275,12 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -353,15 +288,12 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -371,16 +303,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -388,16 +316,12 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -405,15 +329,12 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -423,15 +344,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -439,15 +356,11 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -455,14 +368,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -472,8 +382,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int PARAMS_FIELD_NUMBER = 9; private com.google.protobuf.Struct params_; /** - * - * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -483,7 +391,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the params field is set. */ @java.lang.Override @@ -491,8 +398,6 @@ public boolean hasParams() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -502,7 +407,6 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The params. */ @java.lang.Override @@ -510,8 +414,6 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** - * - * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -529,28 +431,22 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
 
   public static final int DESTINATION_DATASET_ID_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the destinationDatasetId field is set. */ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** - * - * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The destinationDatasetId. */ public java.lang.String getDestinationDatasetId() { @@ -561,7 +457,8 @@ public java.lang.String getDestinationDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -570,24 +467,23 @@ public java.lang.String getDestinationDatasetId() { } } /** - * - * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for destinationDatasetId. */ - public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString + getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -598,18 +494,14 @@ public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { } public static final int DATA_SOURCE_ID_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object dataSourceId_ = ""; /** - * - * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dataSourceId. */ @java.lang.Override @@ -618,29 +510,29 @@ public java.lang.String getDataSourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; } } /** - * - * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for dataSourceId. */ @java.lang.Override - public com.google.protobuf.ByteString getDataSourceIdBytes() { + public com.google.protobuf.ByteString + getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -651,51 +543,37 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** - * - * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = - com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { + com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; } public static final int USER_ID_FIELD_NUMBER = 11; private long userId_ = 0L; /** - * - * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; - * * @return The userId. */ @java.lang.Override @@ -704,12 +582,9 @@ public long getUserId() { } public static final int SCHEDULE_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private volatile java.lang.Object schedule_ = ""; /** - * - * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -719,7 +594,6 @@ public long getUserId() {
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The schedule. */ @java.lang.Override @@ -728,15 +602,14 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; } } /** - * - * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -746,15 +619,16 @@ public java.lang.String getSchedule() {
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schedule_ = b; return b; } else { @@ -763,12 +637,9 @@ public com.google.protobuf.ByteString getScheduleBytes() { } public static final int NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER = 23; - @SuppressWarnings("serial") private volatile java.lang.Object notificationPubsubTopic_ = ""; /** - * - * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -777,9 +648,7 @@ public com.google.protobuf.ByteString getScheduleBytes() {
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The notificationPubsubTopic. */ @java.lang.Override @@ -788,15 +657,14 @@ public java.lang.String getNotificationPubsubTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; } } /** - * - * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -805,17 +673,17 @@ public java.lang.String getNotificationPubsubTopic() {
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for notificationPubsubTopic. */ @java.lang.Override - public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString + getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -826,18 +694,13 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { public static final int EMAIL_PREFERENCES_FIELD_NUMBER = 25; private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; /** - * - * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the emailPreferences field is set. */ @java.lang.Override @@ -845,49 +708,34 @@ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The emailPreferences. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { - return emailPreferences_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() - : emailPreferences_; + return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; } /** - * - * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder - getEmailPreferencesOrBuilder() { - return emailPreferences_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() - : emailPreferences_; + public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() { + return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -899,7 +747,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -921,9 +770,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, dataSourceId_); } - if (state_ - != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(8, state_); } if (((bitField0_ & 0x00000040) != 0)) { @@ -963,46 +810,53 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destination_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getScheduleTime()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getStartTime()); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getEndTime()); } if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, dataSourceId_); } - if (state_ - != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); + if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, state_); } if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getParams()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getParams()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getRunTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getRunTime()); } if (userId_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, userId_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(11, userId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schedule_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, schedule_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getErrorStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getErrorStatus()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(notificationPubsubTopic_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(23, notificationPubsubTopic_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, notificationPubsubTopic_); } if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getEmailPreferences()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, getEmailPreferences()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1012,56 +866,69 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.TransferRun)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.TransferRun other = - (com.google.cloud.bigquery.datatransfer.v1.TransferRun) obj; + com.google.cloud.bigquery.datatransfer.v1.TransferRun other = (com.google.cloud.bigquery.datatransfer.v1.TransferRun) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (hasRunTime() != other.hasRunTime()) return false; if (hasRunTime()) { - if (!getRunTime().equals(other.getRunTime())) return false; + if (!getRunTime() + .equals(other.getRunTime())) return false; } if (hasErrorStatus() != other.hasErrorStatus()) return false; if (hasErrorStatus()) { - if (!getErrorStatus().equals(other.getErrorStatus())) return false; + if (!getErrorStatus() + .equals(other.getErrorStatus())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasParams() != other.hasParams()) return false; if (hasParams()) { - if (!getParams().equals(other.getParams())) return false; + if (!getParams() + .equals(other.getParams())) return false; } - if (!getDataSourceId().equals(other.getDataSourceId())) return false; + if (!getDataSourceId() + .equals(other.getDataSourceId())) return false; if (state_ != other.state_) return false; - if (getUserId() != other.getUserId()) return false; - if (!getSchedule().equals(other.getSchedule())) return false; - if (!getNotificationPubsubTopic().equals(other.getNotificationPubsubTopic())) return false; + if (getUserId() + != other.getUserId()) return false; + if (!getSchedule() + .equals(other.getSchedule())) return false; + if (!getNotificationPubsubTopic() + .equals(other.getNotificationPubsubTopic())) return false; if (hasEmailPreferences() != other.hasEmailPreferences()) return false; if (hasEmailPreferences()) { - if (!getEmailPreferences().equals(other.getEmailPreferences())) return false; + if (!getEmailPreferences() + .equals(other.getEmailPreferences())) return false; } if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 2: - if (!getDestinationDatasetId().equals(other.getDestinationDatasetId())) return false; + if (!getDestinationDatasetId() + .equals(other.getDestinationDatasetId())) return false; break; case 0: default: @@ -1112,7 +979,8 @@ public int hashCode() { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + USER_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getUserId()); hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getSchedule().hashCode(); hash = (37 * hash) + NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER; @@ -1135,127 +1003,119 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferRun parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferRun 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.TransferRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferRun 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.TransferRun 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.TransferRun parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferRun 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.TransferRun 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.TransferRun parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.TransferRun parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferRun prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a data transfer run.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferRun} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.TransferRun) com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, - com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.TransferRun.newBuilder() @@ -1263,13 +1123,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getScheduleTimeFieldBuilder(); getRunTimeFieldBuilder(); getErrorStatusFieldBuilder(); @@ -1280,7 +1141,6 @@ private void maybeForceBuilderInitialization() { getEmailPreferencesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1337,9 +1197,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; } @java.lang.Override @@ -1358,11 +1218,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferRun buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.TransferRun result = - new com.google.cloud.bigquery.datatransfer.v1.TransferRun(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.TransferRun result = new com.google.cloud.bigquery.datatransfer.v1.TransferRun(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1375,33 +1232,45 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferRun } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.scheduleTime_ = - scheduleTimeBuilder_ == null ? scheduleTime_ : scheduleTimeBuilder_.build(); + result.scheduleTime_ = scheduleTimeBuilder_ == null + ? scheduleTime_ + : scheduleTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.runTime_ = runTimeBuilder_ == null ? runTime_ : runTimeBuilder_.build(); + result.runTime_ = runTimeBuilder_ == null + ? runTime_ + : runTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.errorStatus_ = - errorStatusBuilder_ == null ? errorStatus_ : errorStatusBuilder_.build(); + result.errorStatus_ = errorStatusBuilder_ == null + ? errorStatus_ + : errorStatusBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build(); + result.params_ = paramsBuilder_ == null + ? params_ + : paramsBuilder_.build(); to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000200) != 0)) { @@ -1420,8 +1289,9 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferRun result.notificationPubsubTopic_ = notificationPubsubTopic_; } if (((from_bitField0_ & 0x00004000) != 0)) { - result.emailPreferences_ = - emailPreferencesBuilder_ == null ? emailPreferences_ : emailPreferencesBuilder_.build(); + result.emailPreferences_ = emailPreferencesBuilder_ == null + ? emailPreferences_ + : emailPreferencesBuilder_.build(); to_bitField0_ |= 0x00000080; } result.bitField0_ |= to_bitField0_; @@ -1436,39 +1306,38 @@ private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.Transf public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.TransferRun) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferRun) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferRun)other); } else { super.mergeFrom(other); return this; @@ -1476,8 +1345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferRun other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1529,17 +1397,15 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferRun o mergeEmailPreferences(other.getEmailPreferences()); } switch (other.getDestinationCase()) { - case DESTINATION_DATASET_ID: - { - destinationCase_ = 2; - destination_ = other.destination_; - onChanged(); - break; - } - case DESTINATION_NOT_SET: - { - break; - } + case DESTINATION_DATASET_ID: { + destinationCase_ = 2; + destination_ = other.destination_; + onChanged(); + break; + } + case DESTINATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1567,105 +1433,104 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - destinationCase_ = 2; - destination_ = s; - break; - } // case 18 - case 26: - { - input.readMessage(getScheduleTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 50: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 58: - { - dataSourceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 58 - case 64: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000400; - break; - } // case 64 - case 74: - { - input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 74 - case 82: - { - input.readMessage(getRunTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 82 - case 88: - { - userId_ = input.readInt64(); - bitField0_ |= 0x00000800; - break; - } // case 88 - case 98: - { - schedule_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 98 - case 170: - { - input.readMessage(getErrorStatusFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 170 - case 186: - { - notificationPubsubTopic_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 186 - case 202: - { - input.readMessage( - getEmailPreferencesFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 202 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + destinationCase_ = 2; + destination_ = s; + break; + } // case 18 + case 26: { + input.readMessage( + getScheduleTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 50: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 58: { + dataSourceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 58 + case 64: { + state_ = input.readEnum(); + bitField0_ |= 0x00000400; + break; + } // case 64 + case 74: { + input.readMessage( + getParamsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: { + input.readMessage( + getRunTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 82 + case 88: { + userId_ = input.readInt64(); + bitField0_ |= 0x00000800; + break; + } // case 88 + case 98: { + schedule_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 98 + case 170: { + input.readMessage( + getErrorStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 170 + case 186: { + notificationPubsubTopic_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 186 + case 202: { + input.readMessage( + getEmailPreferencesFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 202 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1675,12 +1540,12 @@ public Builder mergeFrom( } // finally return this; } - private int destinationCase_ = 0; private java.lang.Object destination_; - - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public Builder clearDestination() { @@ -1694,8 +1559,6 @@ public Builder clearDestination() { private java.lang.Object name_ = ""; /** - * - * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1704,13 +1567,13 @@ public Builder clearDestination() {
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1719,8 +1582,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1729,14 +1590,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1744,8 +1606,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1754,22 +1614,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1778,7 +1634,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1788,8 +1643,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1798,14 +1651,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1815,47 +1666,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
* * .google.protobuf.Timestamp schedule_time = 3; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
* * .google.protobuf.Timestamp schedule_time = 3; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1876,15 +1714,14 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
* * .google.protobuf.Timestamp schedule_time = 3; */ - public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); } else { @@ -1895,8 +1732,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1905,9 +1740,9 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && scheduleTime_ != null - && scheduleTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + scheduleTime_ != null && + scheduleTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getScheduleTimeBuilder().mergeFrom(value); } else { scheduleTime_ = value; @@ -1922,8 +1757,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1941,8 +1774,6 @@ public Builder clearScheduleTime() { return this; } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1955,8 +1786,6 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { return getScheduleTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1967,14 +1796,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } } /** - * - * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1982,17 +1808,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { * .google.protobuf.Timestamp schedule_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), getParentForChildren(), isClean()); + scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), + getParentForChildren(), + isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -2000,35 +1823,26 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private com.google.protobuf.Timestamp runTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - runTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> runTimeBuilder_; /** - * - * *
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
      * 
* * .google.protobuf.Timestamp run_time = 10; - * * @return Whether the runTime field is set. */ public boolean hasRunTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
      * 
* * .google.protobuf.Timestamp run_time = 10; - * * @return The runTime. */ public com.google.protobuf.Timestamp getRunTime() { @@ -2039,8 +1853,6 @@ public com.google.protobuf.Timestamp getRunTime() { } } /** - * - * *
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -2062,8 +1874,6 @@ public Builder setRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -2071,7 +1881,8 @@ public Builder setRunTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp run_time = 10;
      */
-    public Builder setRunTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setRunTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (runTimeBuilder_ == null) {
         runTime_ = builderForValue.build();
       } else {
@@ -2082,8 +1893,6 @@ public Builder setRunTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -2093,9 +1902,9 @@ public Builder setRunTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeRunTime(com.google.protobuf.Timestamp value) {
       if (runTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && runTime_ != null
-            && runTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          runTime_ != null &&
+          runTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getRunTimeBuilder().mergeFrom(value);
         } else {
           runTime_ = value;
@@ -2110,8 +1919,6 @@ public Builder mergeRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -2130,8 +1937,6 @@ public Builder clearRunTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -2145,8 +1950,6 @@ public com.google.protobuf.Timestamp.Builder getRunTimeBuilder() {
       return getRunTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -2158,12 +1961,11 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
       if (runTimeBuilder_ != null) {
         return runTimeBuilder_.getMessageOrBuilder();
       } else {
-        return runTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runTime_;
+        return runTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : runTime_;
       }
     }
     /**
-     *
-     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -2172,17 +1974,14 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
      * .google.protobuf.Timestamp run_time = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getRunTimeFieldBuilder() {
       if (runTimeBuilder_ == null) {
-        runTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getRunTime(), getParentForChildren(), isClean());
+        runTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getRunTime(),
+                getParentForChildren(),
+                isClean());
         runTime_ = null;
       }
       return runTimeBuilder_;
@@ -2190,31 +1989,24 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
 
     private com.google.rpc.Status errorStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        errorStatusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorStatusBuilder_;
     /**
-     *
-     *
      * 
      * Status of the transfer run.
      * 
* * .google.rpc.Status error_status = 21; - * * @return Whether the errorStatus field is set. */ public boolean hasErrorStatus() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Status of the transfer run.
      * 
* * .google.rpc.Status error_status = 21; - * * @return The errorStatus. */ public com.google.rpc.Status getErrorStatus() { @@ -2225,8 +2017,6 @@ public com.google.rpc.Status getErrorStatus() { } } /** - * - * *
      * Status of the transfer run.
      * 
@@ -2247,15 +2037,14 @@ public Builder setErrorStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Status of the transfer run.
      * 
* * .google.rpc.Status error_status = 21; */ - public Builder setErrorStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setErrorStatus( + com.google.rpc.Status.Builder builderForValue) { if (errorStatusBuilder_ == null) { errorStatus_ = builderForValue.build(); } else { @@ -2266,8 +2055,6 @@ public Builder setErrorStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Status of the transfer run.
      * 
@@ -2276,9 +2063,9 @@ public Builder setErrorStatus(com.google.rpc.Status.Builder builderForValue) { */ public Builder mergeErrorStatus(com.google.rpc.Status value) { if (errorStatusBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && errorStatus_ != null - && errorStatus_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + errorStatus_ != null && + errorStatus_ != com.google.rpc.Status.getDefaultInstance()) { getErrorStatusBuilder().mergeFrom(value); } else { errorStatus_ = value; @@ -2293,8 +2080,6 @@ public Builder mergeErrorStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Status of the transfer run.
      * 
@@ -2312,8 +2097,6 @@ public Builder clearErrorStatus() { return this; } /** - * - * *
      * Status of the transfer run.
      * 
@@ -2326,8 +2109,6 @@ public com.google.rpc.Status.Builder getErrorStatusBuilder() { return getErrorStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Status of the transfer run.
      * 
@@ -2338,12 +2119,11 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { if (errorStatusBuilder_ != null) { return errorStatusBuilder_.getMessageOrBuilder(); } else { - return errorStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : errorStatus_; + return errorStatus_ == null ? + com.google.rpc.Status.getDefaultInstance() : errorStatus_; } } /** - * - * *
      * Status of the transfer run.
      * 
@@ -2351,15 +2131,14 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { * .google.rpc.Status error_status = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorStatusFieldBuilder() { if (errorStatusBuilder_ == null) { - errorStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>( - getErrorStatus(), getParentForChildren(), isClean()); + errorStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getErrorStatus(), + getParentForChildren(), + isClean()); errorStatus_ = null; } return errorStatusBuilder_; @@ -2367,37 +2146,26 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2408,15 +2176,12 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -2432,17 +2197,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -2453,21 +2216,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -2482,15 +2242,12 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2503,15 +2260,12 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000010; @@ -2519,46 +2273,38 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -2566,37 +2312,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2607,15 +2342,12 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -2631,17 +2363,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -2652,21 +2382,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -2681,15 +2408,12 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2702,15 +2426,12 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000020; @@ -2718,46 +2439,38 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -2765,58 +2478,39 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2832,17 +2526,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2853,21 +2544,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2882,15 +2569,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2903,15 +2586,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000040; @@ -2919,48 +2598,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2968,13 +2635,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - paramsBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; /** - * - * *
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2984,15 +2646,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3002,7 +2661,6 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -3013,8 +2671,6 @@ public com.google.protobuf.Struct getParams() { } } /** - * - * *
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3039,8 +2695,6 @@ public Builder setParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3051,7 +2705,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
-    public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setParams(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (paramsBuilder_ == null) {
         params_ = builderForValue.build();
       } else {
@@ -3062,8 +2717,6 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3076,9 +2729,9 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
      */
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
-        if (((bitField0_ & 0x00000080) != 0)
-            && params_ != null
-            && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000080) != 0) &&
+          params_ != null &&
+          params_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getParamsBuilder().mergeFrom(value);
         } else {
           params_ = value;
@@ -3093,8 +2746,6 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3116,8 +2767,6 @@ public Builder clearParams() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3134,8 +2783,6 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
       return getParamsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3150,12 +2797,11 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       if (paramsBuilder_ != null) {
         return paramsBuilder_.getMessageOrBuilder();
       } else {
-        return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
+        return params_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : params_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -3167,31 +2813,25 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getParamsFieldBuilder() {
       if (paramsBuilder_ == null) {
-        paramsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getParams(), getParentForChildren(), isClean());
+        paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getParams(),
+                getParentForChildren(),
+                isClean());
         params_ = null;
       }
       return paramsBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the destinationDatasetId field is set. */ @java.lang.Override @@ -3199,14 +2839,11 @@ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** - * - * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The destinationDatasetId. */ @java.lang.Override @@ -3216,7 +2853,8 @@ public java.lang.String getDestinationDatasetId() { ref = destination_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -3227,25 +2865,24 @@ public java.lang.String getDestinationDatasetId() { } } /** - * - * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for destinationDatasetId. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString + getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -3255,35 +2892,28 @@ public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { } } /** - * - * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationDatasetId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } destinationCase_ = 2; destination_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDestinationDatasetId() { @@ -3295,21 +2925,17 @@ public Builder clearDestinationDatasetId() { return this; } /** - * - * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationDatasetIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationCase_ = 2; destination_ = value; @@ -3319,20 +2945,18 @@ public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value private java.lang.Object dataSourceId_ = ""; /** - * - * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dataSourceId. */ public java.lang.String getDataSourceId() { java.lang.Object ref = dataSourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; @@ -3341,21 +2965,20 @@ public java.lang.String getDataSourceId() { } } /** - * - * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for dataSourceId. */ - public com.google.protobuf.ByteString getDataSourceIdBytes() { + public com.google.protobuf.ByteString + getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -3363,35 +2986,28 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() { } } /** - * - * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSourceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataSourceId_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDataSourceId() { @@ -3401,21 +3017,17 @@ public Builder clearDataSourceId() { return this; } /** - * - * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSourceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataSourceId_ = value; bitField0_ |= 0x00000200; @@ -3425,29 +3037,22 @@ public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3458,33 +3063,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = - com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED - : result; + com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; } /** - * - * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @param value The state to set. * @return This builder for chaining. */ @@ -3498,14 +3094,11 @@ public Builder setState(com.google.cloud.bigquery.datatransfer.v1.TransferState return this; } /** - * - * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @return This builder for chaining. */ public Builder clearState() { @@ -3515,16 +3108,13 @@ public Builder clearState() { return this; } - private long userId_; + private long userId_ ; /** - * - * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; - * * @return The userId. */ @java.lang.Override @@ -3532,14 +3122,11 @@ public long getUserId() { return userId_; } /** - * - * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; - * * @param value The userId to set. * @return This builder for chaining. */ @@ -3551,14 +3138,11 @@ public Builder setUserId(long value) { return this; } /** - * - * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; - * * @return This builder for chaining. */ public Builder clearUserId() { @@ -3570,8 +3154,6 @@ public Builder clearUserId() { private java.lang.Object schedule_ = ""; /** - * - * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3581,13 +3163,13 @@ public Builder clearUserId() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The schedule. */ public java.lang.String getSchedule() { java.lang.Object ref = schedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; @@ -3596,8 +3178,6 @@ public java.lang.String getSchedule() { } } /** - * - * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3607,14 +3187,15 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schedule_ = b; return b; } else { @@ -3622,8 +3203,6 @@ public com.google.protobuf.ByteString getScheduleBytes() { } } /** - * - * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3633,22 +3212,18 @@ public com.google.protobuf.ByteString getScheduleBytes() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSchedule( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } schedule_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** - * - * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3658,7 +3233,6 @@ public Builder setSchedule(java.lang.String value) {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -3668,8 +3242,6 @@ public Builder clearSchedule() { return this; } /** - * - * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3679,14 +3251,12 @@ public Builder clearSchedule() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScheduleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); schedule_ = value; bitField0_ |= 0x00001000; @@ -3696,8 +3266,6 @@ public Builder setScheduleBytes(com.google.protobuf.ByteString value) { private java.lang.Object notificationPubsubTopic_ = ""; /** - * - * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3706,15 +3274,14 @@ public Builder setScheduleBytes(com.google.protobuf.ByteString value) {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The notificationPubsubTopic. */ public java.lang.String getNotificationPubsubTopic() { java.lang.Object ref = notificationPubsubTopic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; @@ -3723,8 +3290,6 @@ public java.lang.String getNotificationPubsubTopic() { } } /** - * - * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3733,16 +3298,16 @@ public java.lang.String getNotificationPubsubTopic() {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for notificationPubsubTopic. */ - public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString + getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -3750,8 +3315,6 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { } } /** - * - * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3760,24 +3323,19 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopic(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNotificationPubsubTopic( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } notificationPubsubTopic_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** - * - * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3786,9 +3344,7 @@ public Builder setNotificationPubsubTopic(java.lang.String value) {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearNotificationPubsubTopic() { @@ -3798,8 +3354,6 @@ public Builder clearNotificationPubsubTopic() { return this; } /** - * - * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3808,16 +3362,13 @@ public Builder clearNotificationPubsubTopic() {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNotificationPubsubTopicBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); notificationPubsubTopic_ = value; bitField0_ |= 0x00002000; @@ -3827,67 +3378,47 @@ public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString va private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> - emailPreferencesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> emailPreferencesBuilder_; /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the emailPreferences field is set. */ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00004000) != 0); } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The emailPreferences. */ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { if (emailPreferencesBuilder_ == null) { - return emailPreferences_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() - : emailPreferences_; + return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; } else { return emailPreferencesBuilder_.getMessage(); } } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEmailPreferences( - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { + public Builder setEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { if (emailPreferencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3901,17 +3432,13 @@ public Builder setEmailPreferences( return this; } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEmailPreferences( com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder builderForValue) { @@ -3925,26 +3452,19 @@ public Builder setEmailPreferences( return this; } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeEmailPreferences( - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { + public Builder mergeEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { if (emailPreferencesBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) - && emailPreferences_ != null - && emailPreferences_ - != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences - .getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) && + emailPreferences_ != null && + emailPreferences_ != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()) { getEmailPreferencesBuilder().mergeFrom(value); } else { emailPreferences_ = value; @@ -3959,17 +3479,13 @@ public Builder mergeEmailPreferences( return this; } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEmailPreferences() { bitField0_ = (bitField0_ & ~0x00004000); @@ -3982,79 +3498,61 @@ public Builder clearEmailPreferences() { return this; } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder - getEmailPreferencesBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder getEmailPreferencesBuilder() { bitField0_ |= 0x00004000; onChanged(); return getEmailPreferencesFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder - getEmailPreferencesOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() { if (emailPreferencesBuilder_ != null) { return emailPreferencesBuilder_.getMessageOrBuilder(); } else { - return emailPreferences_ == null - ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() - : emailPreferences_; + return emailPreferences_ == null ? + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; } } /** - * - * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> getEmailPreferencesFieldBuilder() { if (emailPreferencesBuilder_ == null) { - emailPreferencesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, - com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>( - getEmailPreferences(), getParentForChildren(), isClean()); + emailPreferencesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>( + getEmailPreferences(), + getParentForChildren(), + isClean()); emailPreferences_ = null; } return emailPreferencesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4064,12 +3562,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.TransferRun) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.TransferRun) private static final com.google.cloud.bigquery.datatransfer.v1.TransferRun DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.TransferRun(); } @@ -4078,27 +3576,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.TransferRun getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferRun parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferRun parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4113,4 +3611,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.TransferRun getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java similarity index 82% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java index 28de8be79425..995bc52417f7 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java @@ -1,32 +1,14 @@ -/* - * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface TransferRunOrBuilder - extends +public interface TransferRunOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.TransferRun) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -35,13 +17,10 @@ public interface TransferRunOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -50,38 +29,30 @@ public interface TransferRunOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Minimum time after which a transfer run can be started.
    * 
@@ -91,34 +62,26 @@ public interface TransferRunOrBuilder com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** - * - * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; - * * @return Whether the runTime field is set. */ boolean hasRunTime(); /** - * - * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; - * * @return The runTime. */ com.google.protobuf.Timestamp getRunTime(); /** - * - * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
@@ -129,32 +92,24 @@ public interface TransferRunOrBuilder
   com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; - * * @return Whether the errorStatus field is set. */ boolean hasErrorStatus(); /** - * - * *
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; - * * @return The errorStatus. */ com.google.rpc.Status getErrorStatus(); /** - * - * *
    * Status of the transfer run.
    * 
@@ -164,128 +119,93 @@ public interface TransferRunOrBuilder com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder(); /** - * - * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -295,13 +215,10 @@ public interface TransferRunOrBuilder
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the params field is set. */ boolean hasParams(); /** - * - * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -311,13 +228,10 @@ public interface TransferRunOrBuilder
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The params. */ com.google.protobuf.Struct getParams(); /** - * - * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -331,108 +245,84 @@ public interface TransferRunOrBuilder
   com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the destinationDatasetId field is set. */ boolean hasDestinationDatasetId(); /** - * - * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The destinationDatasetId. */ java.lang.String getDestinationDatasetId(); /** - * - * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for destinationDatasetId. */ - com.google.protobuf.ByteString getDestinationDatasetIdBytes(); + com.google.protobuf.ByteString + getDestinationDatasetIdBytes(); /** - * - * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dataSourceId. */ java.lang.String getDataSourceId(); /** - * - * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for dataSourceId. */ - com.google.protobuf.ByteString getDataSourceIdBytes(); + com.google.protobuf.ByteString + getDataSourceIdBytes(); /** - * - * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; - * * @return The state. */ com.google.cloud.bigquery.datatransfer.v1.TransferState getState(); /** - * - * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; - * * @return The userId. */ long getUserId(); /** - * - * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -442,13 +332,10 @@ public interface TransferRunOrBuilder
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The schedule. */ java.lang.String getSchedule(); /** - * - * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -458,14 +345,12 @@ public interface TransferRunOrBuilder
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for schedule. */ - com.google.protobuf.ByteString getScheduleBytes(); + com.google.protobuf.ByteString + getScheduleBytes(); /** - * - * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -474,15 +359,11 @@ public interface TransferRunOrBuilder
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The notificationPubsubTopic. */ java.lang.String getNotificationPubsubTopic(); /** - * - * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -491,60 +372,44 @@ public interface TransferRunOrBuilder
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for notificationPubsubTopic. */ - com.google.protobuf.ByteString getNotificationPubsubTopicBytes(); + com.google.protobuf.ByteString + getNotificationPubsubTopicBytes(); /** - * - * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the emailPreferences field is set. */ boolean hasEmailPreferences(); /** - * - * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The emailPreferences. */ com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences(); /** - * - * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder - getEmailPreferencesOrBuilder(); + com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder(); com.google.cloud.bigquery.datatransfer.v1.TransferRun.DestinationCase getDestinationCase(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java similarity index 69% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java index 175545e30564..13e9d96000ba 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,18 +5,15 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Represents data transfer run state.
  * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.TransferState} */ -public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { +public enum TransferState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * State placeholder (0).
    * 
@@ -40,8 +22,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ TRANSFER_STATE_UNSPECIFIED(0), /** - * - * *
    * Data transfer is scheduled and is waiting to be picked up by
    * data transfer backend (2).
@@ -51,8 +31,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum {
    */
   PENDING(2),
   /**
-   *
-   *
    * 
    * Data transfer is in progress (3).
    * 
@@ -61,8 +39,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(3), /** - * - * *
    * Data transfer completed successfully (4).
    * 
@@ -71,8 +47,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(4), /** - * - * *
    * Data transfer failed (5).
    * 
@@ -81,8 +55,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(5), /** - * - * *
    * Data transfer is cancelled (6).
    * 
@@ -94,8 +66,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * State placeholder (0).
    * 
@@ -104,8 +74,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRANSFER_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Data transfer is scheduled and is waiting to be picked up by
    * data transfer backend (2).
@@ -115,8 +83,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PENDING_VALUE = 2;
   /**
-   *
-   *
    * 
    * Data transfer is in progress (3).
    * 
@@ -125,8 +91,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 3; /** - * - * *
    * Data transfer completed successfully (4).
    * 
@@ -135,8 +99,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 4; /** - * - * *
    * Data transfer failed (5).
    * 
@@ -145,8 +107,6 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 5; /** - * - * *
    * Data transfer is cancelled (6).
    * 
@@ -155,6 +115,7 @@ public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -179,57 +140,52 @@ public static TransferState valueOf(int value) { */ public static TransferState forNumber(int value) { switch (value) { - case 0: - return TRANSFER_STATE_UNSPECIFIED; - case 2: - return PENDING; - case 3: - return RUNNING; - case 4: - return SUCCEEDED; - case 5: - return FAILED; - case 6: - return CANCELLED; - default: - return null; + case 0: return TRANSFER_STATE_UNSPECIFIED; + case 2: return PENDING; + case 3: return RUNNING; + case 4: return SUCCEEDED; + case 5: return FAILED; + case 6: return CANCELLED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TransferState findValueByNumber(int number) { - return TransferState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + TransferState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TransferState findValueByNumber(int number) { + return TransferState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor().getEnumTypes().get(1); } private static final TransferState[] VALUES = values(); - public static TransferState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TransferState valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -245,3 +201,4 @@ private TransferState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.datatransfer.v1.TransferState) } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java similarity index 67% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java index eaef528a5be1..e4fc0ce04599 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,19 +5,15 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * DEPRECATED. Represents data transfer type.
  * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.TransferType} */ -@java.lang.Deprecated -public enum TransferType implements com.google.protobuf.ProtocolMessageEnum { +@java.lang.Deprecated public enum TransferType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Invalid or Unknown transfer type placeholder.
    * 
@@ -41,8 +22,6 @@ public enum TransferType implements com.google.protobuf.ProtocolMessageEnum { */ TRANSFER_TYPE_UNSPECIFIED(0), /** - * - * *
    * Batch data transfer.
    * 
@@ -51,8 +30,6 @@ public enum TransferType implements com.google.protobuf.ProtocolMessageEnum { */ BATCH(1), /** - * - * *
    * Streaming data transfer. Streaming data source currently doesn't
    * support multiple transfer configs per project.
@@ -65,8 +42,6 @@ public enum TransferType implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Invalid or Unknown transfer type placeholder.
    * 
@@ -75,8 +50,6 @@ public enum TransferType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRANSFER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Batch data transfer.
    * 
@@ -85,8 +58,6 @@ public enum TransferType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BATCH_VALUE = 1; /** - * - * *
    * Streaming data transfer. Streaming data source currently doesn't
    * support multiple transfer configs per project.
@@ -96,6 +67,7 @@ public enum TransferType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int STREAMING_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -120,51 +92,49 @@ public static TransferType valueOf(int value) {
    */
   public static TransferType forNumber(int value) {
     switch (value) {
-      case 0:
-        return TRANSFER_TYPE_UNSPECIFIED;
-      case 1:
-        return BATCH;
-      case 2:
-        return STREAMING;
-      default:
-        return null;
+      case 0: return TRANSFER_TYPE_UNSPECIFIED;
+      case 1: return BATCH;
+      case 2: return STREAMING;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public TransferType findValueByNumber(int number) {
-          return TransferType.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      TransferType> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public TransferType findValueByNumber(int number) {
+            return TransferType.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor()
-        .getEnumTypes()
-        .get(0);
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final TransferType[] VALUES = values();
 
-  public static TransferType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static TransferType valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -180,3 +150,4 @@ private TransferType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.datatransfer.v1.TransferType)
 }
+
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java
similarity index 67%
rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java
rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java
index 42a9e867eb7c..0917a7a48454 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java
+++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java
@@ -1,18 +1,3 @@
-/*
- * 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
 
@@ -20,8 +5,6 @@
 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.
@@ -29,55 +12,50 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest}
  */
-public final class UnenrollDataSourcesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+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;
+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();
+    dataSourceIds_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter 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;
+  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
+    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);
+            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 @@ -86,29 +64,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -117,50 +95,41 @@ public com.google.protobuf.ByteString getNameBytes() { } 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() { + 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. */ @@ -168,24 +137,21 @@ 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) { + 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; @@ -197,7 +163,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -232,16 +199,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + 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; + 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 (!getName() + .equals(other.getName())) return false; + if (!getDataSourceIdsList() + .equals(other.getDataSourceIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -265,105 +233,98 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + 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) + 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 { + 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) + 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) + 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) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + 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) + 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 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); + 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + 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) { + 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); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + 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.
@@ -371,53 +332,52 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest)
       com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequestOrBuilder {
-    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;
+    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
+      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);
+              com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       name_ = "";
-      dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      dataSourceIds_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_UnenrollDataSourcesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UnenrollDataSourcesRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest
-          .getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -431,17 +391,13 @@ public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest buil
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest result =
-          new com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest result = new com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest result) {
+    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -456,51 +412,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) {
-        return mergeFrom(
-            (com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest other) {
-      if (other
-          == com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest other) {
+      if (other == com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -542,26 +493,23 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureDataSourceIdsIsMutable();
-                dataSourceIds_.add(s);
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureDataSourceIdsIsMutable();
+              dataSourceIds_.add(s);
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -571,25 +519,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -598,21 +543,20 @@ public java.lang.String getName() { } } /** - * - * *
      * 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -620,35 +564,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -658,21 +595,17 @@ public Builder clearName() { 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -682,7 +615,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureDataSourceIdsIsMutable() { if (!dataSourceIds_.isModifiable()) { dataSourceIds_ = new com.google.protobuf.LazyStringArrayList(dataSourceIds_); @@ -690,46 +622,38 @@ private void ensureDataSourceIdsIsMutable() { 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() { + 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. */ @@ -737,39 +661,33 @@ 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) { + 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(); - } + public Builder setDataSourceIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDataSourceIdsIsMutable(); dataSourceIds_.set(index, value); bitField0_ |= 0x00000002; @@ -777,22 +695,18 @@ public Builder setDataSourceIds(int index, java.lang.String value) { 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(); - } + public Builder addDataSourceIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); bitField0_ |= 0x00000002; @@ -800,61 +714,53 @@ public Builder addDataSourceIds(java.lang.String value) { 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 values) { + public Builder addAllDataSourceIds( + java.lang.Iterable values) { ensureDataSourceIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataSourceIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataSourceIds_); 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; - * * @return This builder for chaining. */ public Builder clearDataSourceIds() { - dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + 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(); - } + public Builder addDataSourceIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); @@ -862,9 +768,9 @@ public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -874,43 +780,41 @@ public final Builder mergeUnknownFields( 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; - + 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() { + public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnenrollDataSourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnenrollDataSourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,8 +826,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java similarity index 67% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java index 1e2e80522172..8ad85b036b8c 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java @@ -1,106 +1,75 @@ -/* - * 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; -public interface UnenrollDataSourcesRequestOrBuilder - extends +public interface UnenrollDataSourcesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * 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(); + 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 getDataSourceIdsList(); + java.util.List + getDataSourceIdsList(); /** - * - * *
    * 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); + com.google.protobuf.ByteString + getDataSourceIdsBytes(int index); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java similarity index 74% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java index cac48df2c7e2..64370567fea7 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java @@ -1,18 +1,3 @@ -/* - * 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * A request to update a transfer configuration. To update the user id of the
  * transfer configuration, authorization info needs to be provided.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest}
  */
-public final class UpdateTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTransferConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)
     UpdateTransferConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTransferConfigRequest.newBuilder() to construct.
   private UpdateTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpdateTransferConfigRequest() {
     authorizationCode_ = "";
     versionInfo_ = "";
@@ -47,39 +29,33 @@ private UpdateTransferConfigRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTransferConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-        .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_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_UpdateTransferConfigRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class,
-            com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int TRANSFER_CONFIG_FIELD_NUMBER = 1;
   private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_;
   /**
-   *
-   *
    * 
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferConfig field is set. */ @java.lang.Override @@ -87,50 +63,33 @@ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The transferConfig. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder - getTransferConfigOrBuilder() { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { + return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } public static final int AUTHORIZATION_CODE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object authorizationCode_ = ""; /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -149,7 +108,6 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi
    * 
* * string authorization_code = 3; - * * @return The authorizationCode. */ @java.lang.Override @@ -158,15 +116,14 @@ public java.lang.String getAuthorizationCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; } } /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -185,15 +142,16 @@ public java.lang.String getAuthorizationCode() {
    * 
* * string authorization_code = 3; - * * @return The bytes for authorizationCode. */ @java.lang.Override - public com.google.protobuf.ByteString getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString + getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -204,15 +162,11 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() { public static final int UPDATE_MASK_FIELD_NUMBER = 4; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -220,15 +174,11 @@ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -236,14 +186,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -251,12 +198,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } public static final int VERSION_INFO_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object versionInfo_ = ""; /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -275,7 +219,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
    * 
* * string version_info = 5; - * * @return The versionInfo. */ @java.lang.Override @@ -284,15 +227,14 @@ public java.lang.String getVersionInfo() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; } } /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -311,15 +253,16 @@ public java.lang.String getVersionInfo() {
    * 
* * string version_info = 5; - * * @return The bytes for versionInfo. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionInfoBytes() { + public com.google.protobuf.ByteString + getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -328,12 +271,9 @@ public com.google.protobuf.ByteString getVersionInfoBytes() { } public static final int SERVICE_ACCOUNT_NAME_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object serviceAccountName_ = ""; /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -347,7 +287,6 @@ public com.google.protobuf.ByteString getVersionInfoBytes() {
    * 
* * string service_account_name = 6; - * * @return The serviceAccountName. */ @java.lang.Override @@ -356,15 +295,14 @@ public java.lang.String getServiceAccountName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; } } /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -378,15 +316,16 @@ public java.lang.String getServiceAccountName() {
    * 
* * string service_account_name = 6; - * * @return The bytes for serviceAccountName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountNameBytes() { + public com.google.protobuf.ByteString + getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -395,7 +334,6 @@ public com.google.protobuf.ByteString getServiceAccountNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -407,7 +345,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getTransferConfig()); } @@ -433,13 +372,15 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTransferConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTransferConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizationCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authorizationCode_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateMask()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionInfo_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, versionInfo_); @@ -455,25 +396,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other = - (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) obj; if (hasTransferConfig() != other.hasTransferConfig()) return false; if (hasTransferConfig()) { - if (!getTransferConfig().equals(other.getTransferConfig())) return false; + if (!getTransferConfig() + .equals(other.getTransferConfig())) return false; } - if (!getAuthorizationCode().equals(other.getAuthorizationCode())) return false; + if (!getAuthorizationCode() + .equals(other.getAuthorizationCode())) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } - if (!getVersionInfo().equals(other.getVersionInfo())) return false; - if (!getServiceAccountName().equals(other.getServiceAccountName())) return false; + if (!getVersionInfo() + .equals(other.getVersionInfo())) return false; + if (!getServiceAccountName() + .equals(other.getServiceAccountName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -505,105 +450,98 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest - 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.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest - 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.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.UpdateTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to update a transfer configuration. To update the user id of the
    * transfer configuration, authorization info needs to be provided.
@@ -611,43 +549,40 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)
       com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_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_UpdateTransferConfigRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class,
-              com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.newBuilder()
+    // Construct using com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getTransferConfigFieldBuilder();
         getUpdateMaskFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -669,16 +604,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
-          .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest
-          .getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -692,29 +625,28 @@ public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest bui
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result =
-          new com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result) {
+    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.transferConfig_ =
-            transferConfigBuilder_ == null ? transferConfig_ : transferConfigBuilder_.build();
+        result.transferConfig_ = transferConfigBuilder_ == null
+            ? transferConfig_
+            : transferConfigBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.authorizationCode_ = authorizationCode_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
@@ -730,51 +662,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) {
-        return mergeFrom(
-            (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other) {
-      if (other
-          == com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other) {
+      if (other == com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.getDefaultInstance()) return this;
       if (other.hasTransferConfig()) {
         mergeTransferConfig(other.getTransferConfig());
       }
@@ -822,43 +749,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTransferConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 26:
-              {
-                authorizationCode_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 34
-            case 42:
-              {
-                versionInfo_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 42
-            case 50:
-              {
-                serviceAccountName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getTransferConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 26: {
+              authorizationCode_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 34
+            case 42: {
+              versionInfo_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 42
+            case 50: {
+              serviceAccountName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -868,66 +793,45 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.datatransfer.v1.TransferConfig,
-            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder,
-            com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>
-        transferConfigBuilder_;
+        com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> transferConfigBuilder_;
     /**
-     *
-     *
      * 
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferConfig field is set. */ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The transferConfig. */ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { if (transferConfigBuilder_ == null) { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } else { return transferConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder setTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -941,15 +845,11 @@ public Builder setTransferConfig( return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTransferConfig( com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { @@ -963,23 +863,17 @@ public Builder setTransferConfig( return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder mergeTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && transferConfig_ != null - && transferConfig_ - != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + transferConfig_ != null && + transferConfig_ != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { getTransferConfigBuilder().mergeFrom(value); } else { transferConfig_ = value; @@ -994,15 +888,11 @@ public Builder mergeTransferConfig( return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTransferConfig() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1015,66 +905,48 @@ public Builder clearTransferConfig() { return this; } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder - getTransferConfigBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder getTransferConfigBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTransferConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder - getTransferConfigOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { if (transferConfigBuilder_ != null) { return transferConfigBuilder_.getMessageOrBuilder(); } else { - return transferConfig_ == null - ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() - : transferConfig_; + return transferConfig_ == null ? + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; } } /** - * - * *
      * Required. Data transfer configuration to create.
      * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> getTransferConfigFieldBuilder() { if (transferConfigBuilder_ == null) { - transferConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, - com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( - getTransferConfig(), getParentForChildren(), isClean()); + transferConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( + getTransferConfig(), + getParentForChildren(), + isClean()); transferConfig_ = null; } return transferConfigBuilder_; @@ -1082,8 +954,6 @@ public Builder clearTransferConfig() { private java.lang.Object authorizationCode_ = ""; /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1102,13 +972,13 @@ public Builder clearTransferConfig() {
      * 
* * string authorization_code = 3; - * * @return The authorizationCode. */ public java.lang.String getAuthorizationCode() { java.lang.Object ref = authorizationCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; @@ -1117,8 +987,6 @@ public java.lang.String getAuthorizationCode() { } } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1137,14 +1005,15 @@ public java.lang.String getAuthorizationCode() {
      * 
* * string authorization_code = 3; - * * @return The bytes for authorizationCode. */ - public com.google.protobuf.ByteString getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString + getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -1152,8 +1021,6 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() { } } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1172,22 +1039,18 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() {
      * 
* * string authorization_code = 3; - * * @param value The authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAuthorizationCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } authorizationCode_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1206,7 +1069,6 @@ public Builder setAuthorizationCode(java.lang.String value) {
      * 
* * string authorization_code = 3; - * * @return This builder for chaining. */ public Builder clearAuthorizationCode() { @@ -1216,8 +1078,6 @@ public Builder clearAuthorizationCode() { return this; } /** - * - * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1236,14 +1096,12 @@ public Builder clearAuthorizationCode() {
      * 
* * string authorization_code = 3; - * * @param value The bytes for authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAuthorizationCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); authorizationCode_ = value; bitField0_ |= 0x00000002; @@ -1253,55 +1111,39 @@ public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1317,16 +1159,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -1337,20 +1177,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1365,14 +1202,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1385,14 +1219,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1400,46 +1231,36 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -1447,8 +1268,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private java.lang.Object versionInfo_ = ""; /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1467,13 +1286,13 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * 
* * string version_info = 5; - * * @return The versionInfo. */ public java.lang.String getVersionInfo() { java.lang.Object ref = versionInfo_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; @@ -1482,8 +1301,6 @@ public java.lang.String getVersionInfo() { } } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1502,14 +1319,15 @@ public java.lang.String getVersionInfo() {
      * 
* * string version_info = 5; - * * @return The bytes for versionInfo. */ - public com.google.protobuf.ByteString getVersionInfoBytes() { + public com.google.protobuf.ByteString + getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -1517,8 +1335,6 @@ public com.google.protobuf.ByteString getVersionInfoBytes() { } } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1537,22 +1353,18 @@ public com.google.protobuf.ByteString getVersionInfoBytes() {
      * 
* * string version_info = 5; - * * @param value The versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfo(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionInfo( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } versionInfo_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1571,7 +1383,6 @@ public Builder setVersionInfo(java.lang.String value) {
      * 
* * string version_info = 5; - * * @return This builder for chaining. */ public Builder clearVersionInfo() { @@ -1581,8 +1392,6 @@ public Builder clearVersionInfo() { return this; } /** - * - * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1601,14 +1410,12 @@ public Builder clearVersionInfo() {
      * 
* * string version_info = 5; - * * @param value The bytes for versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionInfoBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); versionInfo_ = value; bitField0_ |= 0x00000008; @@ -1618,8 +1425,6 @@ public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccountName_ = ""; /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1633,13 +1438,13 @@ public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) {
      * 
* * string service_account_name = 6; - * * @return The serviceAccountName. */ public java.lang.String getServiceAccountName() { java.lang.Object ref = serviceAccountName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; @@ -1648,8 +1453,6 @@ public java.lang.String getServiceAccountName() { } } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1663,14 +1466,15 @@ public java.lang.String getServiceAccountName() {
      * 
* * string service_account_name = 6; - * * @return The bytes for serviceAccountName. */ - public com.google.protobuf.ByteString getServiceAccountNameBytes() { + public com.google.protobuf.ByteString + getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -1678,8 +1482,6 @@ public com.google.protobuf.ByteString getServiceAccountNameBytes() { } } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1693,22 +1495,18 @@ public com.google.protobuf.ByteString getServiceAccountNameBytes() {
      * 
* * string service_account_name = 6; - * * @param value The serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceAccountName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1722,7 +1520,6 @@ public Builder setServiceAccountName(java.lang.String value) {
      * 
* * string service_account_name = 6; - * * @return This builder for chaining. */ public Builder clearServiceAccountName() { @@ -1732,8 +1529,6 @@ public Builder clearServiceAccountName() { return this; } /** - * - * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1747,23 +1542,21 @@ public Builder clearServiceAccountName() {
      * 
* * string service_account_name = 6; - * * @param value The bytes for serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceAccountNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1773,43 +1566,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1821,8 +1612,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java similarity index 82% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java index 7c0dab4138f3..a4682ec74429 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java @@ -1,73 +1,41 @@ -/* - * 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; -public interface UpdateTransferConfigRequestOrBuilder - extends +public interface UpdateTransferConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferConfig field is set. */ boolean hasTransferConfig(); /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The transferConfig. */ com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig(); /** - * - * *
    * Required. Data transfer configuration to create.
    * 
* - * - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder(); /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -86,13 +54,10 @@ public interface UpdateTransferConfigRequestOrBuilder
    * 
* * string authorization_code = 3; - * * @return The authorizationCode. */ java.lang.String getAuthorizationCode(); /** - * - * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -111,52 +76,39 @@ public interface UpdateTransferConfigRequestOrBuilder
    * 
* * string authorization_code = 3; - * * @return The bytes for authorizationCode. */ - com.google.protobuf.ByteString getAuthorizationCodeBytes(); + com.google.protobuf.ByteString + getAuthorizationCodeBytes(); /** - * - * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -175,13 +127,10 @@ public interface UpdateTransferConfigRequestOrBuilder
    * 
* * string version_info = 5; - * * @return The versionInfo. */ java.lang.String getVersionInfo(); /** - * - * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -200,14 +149,12 @@ public interface UpdateTransferConfigRequestOrBuilder
    * 
* * string version_info = 5; - * * @return The bytes for versionInfo. */ - com.google.protobuf.ByteString getVersionInfoBytes(); + com.google.protobuf.ByteString + getVersionInfoBytes(); /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -221,13 +168,10 @@ public interface UpdateTransferConfigRequestOrBuilder
    * 
* * string service_account_name = 6; - * * @return The serviceAccountName. */ java.lang.String getServiceAccountName(); /** - * - * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -241,8 +185,8 @@ public interface UpdateTransferConfigRequestOrBuilder
    * 
* * string service_account_name = 6; - * * @return The bytes for serviceAccountName. */ - com.google.protobuf.ByteString getServiceAccountNameBytes(); + com.google.protobuf.ByteString + getServiceAccountNameBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java similarity index 67% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java index 6b2b8276865a..f41ea298f864 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java @@ -1,18 +1,3 @@ -/* - * 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/transfer.proto @@ -20,63 +5,55 @@ package com.google.cloud.bigquery.datatransfer.v1; /** - * - * *
  * Information about a user.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UserInfo} */ -public final class UserInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UserInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.UserInfo) UserInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UserInfo.newBuilder() to construct. private UserInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UserInfo() { email_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UserInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, - com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); } private int bitField0_; public static final int EMAIL_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object email_ = ""; /** - * - * *
    * E-mail address of the user.
    * 
* * optional string email = 1; - * * @return Whether the email field is set. */ @java.lang.Override @@ -84,14 +61,11 @@ public boolean hasEmail() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * E-mail address of the user.
    * 
* * optional string email = 1; - * * @return The email. */ @java.lang.Override @@ -100,29 +74,29 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** - * - * *
    * E-mail address of the user.
    * 
* * optional string email = 1; - * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -131,7 +105,6 @@ public com.google.protobuf.ByteString getEmailBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, email_); } @@ -167,17 +141,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.UserInfo)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.UserInfo other = - (com.google.cloud.bigquery.datatransfer.v1.UserInfo) obj; + com.google.cloud.bigquery.datatransfer.v1.UserInfo other = (com.google.cloud.bigquery.datatransfer.v1.UserInfo) obj; if (hasEmail() != other.hasEmail()) return false; if (hasEmail()) { - if (!getEmail().equals(other.getEmail())) return false; + if (!getEmail() + .equals(other.getEmail())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -200,135 +174,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UserInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.UserInfo 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.UserInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UserInfo 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.UserInfo 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.UserInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.UserInfo 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.UserInfo 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.UserInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + 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.UserInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.UserInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information about a user.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UserInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.UserInfo) com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, - com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.UserInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -338,9 +308,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto - .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; } @java.lang.Override @@ -359,11 +329,8 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfo build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.UserInfo buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.UserInfo result = - new com.google.cloud.bigquery.datatransfer.v1.UserInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.datatransfer.v1.UserInfo result = new com.google.cloud.bigquery.datatransfer.v1.UserInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -382,39 +349,38 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UserInfo re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.UserInfo) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UserInfo) other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UserInfo)other); } else { super.mergeFrom(other); return this; @@ -422,8 +388,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.UserInfo other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) return this; if (other.hasEmail()) { email_ = other.email_; bitField0_ |= 0x00000001; @@ -455,19 +420,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - email_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + email_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -477,39 +440,33 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object email_ = ""; /** - * - * *
      * E-mail address of the user.
      * 
* * optional string email = 1; - * * @return Whether the email field is set. */ public boolean hasEmail() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * E-mail address of the user.
      * 
* * optional string email = 1; - * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -518,21 +475,20 @@ public java.lang.String getEmail() { } } /** - * - * *
      * E-mail address of the user.
      * 
* * optional string email = 1; - * * @return The bytes for email. */ - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -540,35 +496,28 @@ public com.google.protobuf.ByteString getEmailBytes() { } } /** - * - * *
      * E-mail address of the user.
      * 
* * optional string email = 1; - * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEmail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } email_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * E-mail address of the user.
      * 
* * optional string email = 1; - * * @return This builder for chaining. */ public Builder clearEmail() { @@ -578,30 +527,26 @@ public Builder clearEmail() { return this; } /** - * - * *
      * E-mail address of the user.
      * 
* * optional string email = 1; - * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEmailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); email_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -611,12 +556,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.UserInfo) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.UserInfo) private static final com.google.cloud.bigquery.datatransfer.v1.UserInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.UserInfo(); } @@ -625,27 +570,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.UserInfo getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,4 +605,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.UserInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java similarity index 53% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java index 15c63c4cb7dc..b285397716d1 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java @@ -1,63 +1,39 @@ -/* - * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface UserInfoOrBuilder - extends +public interface UserInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.UserInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * E-mail address of the user.
    * 
* * optional string email = 1; - * * @return Whether the email field is set. */ boolean hasEmail(); /** - * - * *
    * E-mail address of the user.
    * 
* * optional string email = 1; - * * @return The email. */ java.lang.String getEmail(); /** - * - * *
    * E-mail address of the user.
    * 
* * optional string email = 1; - * * @return The bytes for email. */ - com.google.protobuf.ByteString getEmailBytes(); + com.google.protobuf.ByteString + getEmailBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto similarity index 100% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto similarity index 100% rename from java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto rename to owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java similarity index 99% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java similarity index 99% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/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/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java index 2a5783e05b3b..a124f81e9b90 100644 --- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.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/SyncUnenrollDataSources.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java index e03d39258ebb..478454352b79 100644 --- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.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/updatetransferconfig/AsyncUpdateTransferConfig.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java index b8724a257827..993be3a97da1 100644 --- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.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/updatetransferconfig/SyncUpdateTransferConfig.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java index 6b21373953f4..2f3a0c23ae07 100644 --- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.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/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java index 50a932c62dad..a9e5634587e3 100644 --- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.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/datatransferservicesettings/getdatasource/SyncGetDataSource.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java index 34a937568fad..003cf895fa8f 100644 --- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/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/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java similarity index 98% rename from java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java rename to owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java index bf27b0725076..170d5366e3f3 100644 --- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java +++ b/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/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. From c1d1346ff2d831b9409015e1a2396059a7267e59 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 14 Feb 2024 19:00:32 +0000 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../v1/DataTransferServiceClient.java | 0 .../v1/DataTransferServiceSettings.java | 1 - .../datatransfer/v1/gapic_metadata.json | 0 .../datatransfer/v1/package-info.java | 0 .../v1/stub/DataTransferServiceStub.java | 0 .../stub/DataTransferServiceStubSettings.java | 0 ...rpcDataTransferServiceCallableFactory.java | 0 .../v1/stub/GrpcDataTransferServiceStub.java | 1 - ...sonDataTransferServiceCallableFactory.java | 0 .../stub/HttpJsonDataTransferServiceStub.java | 0 .../reflect-config.json | 0 ...DataTransferServiceClientHttpJsonTest.java | 0 .../v1/DataTransferServiceClientTest.java | 0 .../v1/MockDataTransferService.java | 0 .../v1/MockDataTransferServiceImpl.java | 0 .../datatransfer/v1/MockLocations.java | 0 .../datatransfer/v1/MockLocationsImpl.java | 0 .../v1/DataTransferServiceGrpc.java | 2330 +++++++++++++++++ .../v1/CheckValidCredsRequest.java | 373 +-- .../v1/CheckValidCredsRequestOrBuilder.java | 59 + .../v1/CheckValidCredsResponse.java | 318 ++- .../v1/CheckValidCredsResponseOrBuilder.java | 39 + .../v1/CreateTransferConfigRequest.java | 761 ++++-- .../CreateTransferConfigRequestOrBuilder.java | 82 +- .../bigquery/datatransfer/v1/DataSource.java | 1891 ++++++++----- .../datatransfer/v1/DataSourceName.java | 2 +- .../datatransfer/v1/DataSourceOrBuilder.java | 213 +- .../datatransfer/v1/DataSourceParameter.java | 1487 +++++++---- .../v1/DataSourceParameterOrBuilder.java | 142 +- .../datatransfer/v1/DataTransferProto.java | 694 +++++ .../v1/DeleteTransferConfigRequest.java | 385 +-- .../DeleteTransferConfigRequestOrBuilder.java | 59 + .../v1/DeleteTransferRunRequest.java | 385 +-- .../v1/DeleteTransferRunRequestOrBuilder.java | 35 +- .../datatransfer/v1/EmailPreferences.java | 287 +- .../v1/EmailPreferencesOrBuilder.java | 39 + .../v1/EncryptionConfiguration.java | 372 +-- .../v1/EncryptionConfigurationOrBuilder.java | 26 +- .../v1/EnrollDataSourcesRequest.java | 465 ++-- .../v1/EnrollDataSourcesRequestOrBuilder.java | 45 +- .../datatransfer/v1/GetDataSourceRequest.java | 370 +-- .../v1/GetDataSourceRequestOrBuilder.java | 59 + .../v1/GetTransferConfigRequest.java | 385 +-- .../v1/GetTransferConfigRequestOrBuilder.java | 59 + .../v1/GetTransferRunRequest.java | 373 +-- .../v1/GetTransferRunRequestOrBuilder.java | 35 +- .../v1/ListDataSourcesRequest.java | 476 ++-- .../v1/ListDataSourcesRequestOrBuilder.java | 47 +- .../v1/ListDataSourcesResponse.java | 502 ++-- .../v1/ListDataSourcesResponseOrBuilder.java | 45 +- .../v1/ListTransferConfigsRequest.java | 598 +++-- .../ListTransferConfigsRequestOrBuilder.java | 65 +- .../v1/ListTransferConfigsResponse.java | 631 +++-- .../ListTransferConfigsResponseOrBuilder.java | 62 +- .../v1/ListTransferLogsRequest.java | 720 +++-- .../v1/ListTransferLogsRequestOrBuilder.java | 91 +- .../v1/ListTransferLogsResponse.java | 639 +++-- .../v1/ListTransferLogsResponseOrBuilder.java | 61 +- .../v1/ListTransferRunsRequest.java | 788 ++++-- .../v1/ListTransferRunsRequestOrBuilder.java | 79 +- .../v1/ListTransferRunsResponse.java | 604 +++-- .../v1/ListTransferRunsResponseOrBuilder.java | 62 +- .../datatransfer/v1/LocationName.java | 0 .../bigquery/datatransfer/v1/ProjectName.java | 0 .../bigquery/datatransfer/v1/RunName.java | 2 +- .../datatransfer/v1/ScheduleOptions.java | 452 ++-- .../v1/ScheduleOptionsOrBuilder.java | 37 +- .../v1/ScheduleTransferRunsRequest.java | 613 +++-- .../ScheduleTransferRunsRequestOrBuilder.java | 60 +- .../v1/ScheduleTransferRunsResponse.java | 448 ++-- ...ScheduleTransferRunsResponseOrBuilder.java | 36 +- .../v1/StartManualTransferRunsRequest.java | 1270 +++++---- ...artManualTransferRunsRequestOrBuilder.java | 61 +- .../v1/StartManualTransferRunsResponse.java | 465 ++-- ...rtManualTransferRunsResponseOrBuilder.java | 36 +- .../datatransfer/v1/TransferConfig.java | 1909 +++++++++----- .../datatransfer/v1/TransferConfigName.java | 2 +- .../v1/TransferConfigOrBuilder.java | 214 +- .../datatransfer/v1/TransferMessage.java | 578 ++-- .../v1/TransferMessageOrBuilder.java | 47 +- .../datatransfer/v1/TransferProto.java | 266 ++ .../bigquery/datatransfer/v1/TransferRun.java | 1666 +++++++----- .../datatransfer/v1/TransferRunOrBuilder.java | 187 +- .../datatransfer/v1/TransferState.java | 107 +- .../datatransfer/v1/TransferType.java | 87 +- .../v1/UnenrollDataSourcesRequest.java | 465 ++-- .../UnenrollDataSourcesRequestOrBuilder.java | 45 +- .../v1/UpdateTransferConfigRequest.java | 784 ++++-- .../UpdateTransferConfigRequestOrBuilder.java | 82 +- .../bigquery/datatransfer/v1/UserInfo.java | 325 ++- .../datatransfer/v1/UserInfoOrBuilder.java | 30 +- .../datatransfer/v1/datatransfer.proto | 0 .../bigquery/datatransfer/v1/transfer.proto | 0 .../checkvalidcreds/AsyncCheckValidCreds.java | 0 .../checkvalidcreds/SyncCheckValidCreds.java | 0 .../SyncCheckValidCredsDatasourcename.java | 0 .../SyncCheckValidCredsString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateTransferConfig.java | 0 .../SyncCreateTransferConfig.java | 0 ...nsferConfigLocationnameTransferconfig.java | 0 ...ansferConfigProjectnameTransferconfig.java | 0 ...ateTransferConfigStringTransferconfig.java | 0 .../AsyncDeleteTransferConfig.java | 0 .../SyncDeleteTransferConfig.java | 0 .../SyncDeleteTransferConfigString.java | 0 ...eleteTransferConfigTransferconfigname.java | 0 .../AsyncDeleteTransferRun.java | 0 .../SyncDeleteTransferRun.java | 0 .../SyncDeleteTransferRunRunname.java | 0 .../SyncDeleteTransferRunString.java | 0 .../AsyncEnrollDataSources.java | 0 .../SyncEnrollDataSources.java | 0 .../getdatasource/AsyncGetDataSource.java | 0 .../getdatasource/SyncGetDataSource.java | 0 .../SyncGetDataSourceDatasourcename.java | 0 .../SyncGetDataSourceString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../AsyncGetTransferConfig.java | 0 .../SyncGetTransferConfig.java | 0 .../SyncGetTransferConfigString.java | 0 ...ncGetTransferConfigTransferconfigname.java | 0 .../gettransferrun/AsyncGetTransferRun.java | 0 .../gettransferrun/SyncGetTransferRun.java | 0 .../SyncGetTransferRunRunname.java | 0 .../SyncGetTransferRunString.java | 0 .../listdatasources/AsyncListDataSources.java | 0 .../AsyncListDataSourcesPaged.java | 0 .../listdatasources/SyncListDataSources.java | 0 .../SyncListDataSourcesLocationname.java | 0 .../SyncListDataSourcesProjectname.java | 0 .../SyncListDataSourcesString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../AsyncListTransferConfigs.java | 0 .../AsyncListTransferConfigsPaged.java | 0 .../SyncListTransferConfigs.java | 0 .../SyncListTransferConfigsLocationname.java | 0 .../SyncListTransferConfigsProjectname.java | 0 .../SyncListTransferConfigsString.java | 0 .../AsyncListTransferLogs.java | 0 .../AsyncListTransferLogsPaged.java | 0 .../SyncListTransferLogs.java | 0 .../SyncListTransferLogsRunname.java | 0 .../SyncListTransferLogsString.java | 0 .../AsyncListTransferRuns.java | 0 .../AsyncListTransferRunsPaged.java | 0 .../SyncListTransferRuns.java | 0 .../SyncListTransferRunsString.java | 0 ...yncListTransferRunsTransferconfigname.java | 0 .../AsyncScheduleTransferRuns.java | 0 .../SyncScheduleTransferRuns.java | 0 ...eTransferRunsStringTimestampTimestamp.java | 0 ...sTransferconfignameTimestampTimestamp.java | 0 .../AsyncStartManualTransferRuns.java | 0 .../SyncStartManualTransferRuns.java | 0 .../AsyncUnenrollDataSources.java | 0 .../SyncUnenrollDataSources.java | 0 .../AsyncUpdateTransferConfig.java | 0 .../SyncUpdateTransferConfig.java | 0 ...TransferConfigTransferconfigFieldmask.java | 0 .../getdatasource/SyncGetDataSource.java | 0 .../getdatasource/SyncGetDataSource.java | 0 .../v1/DataTransferServiceGrpc.java | 1701 ------------ .../v1/CheckValidCredsRequestOrBuilder.java | 34 - .../v1/CheckValidCredsResponseOrBuilder.java | 20 - .../datatransfer/v1/DataSourceName.java | 313 --- .../datatransfer/v1/DataTransferProto.java | 616 ----- .../DeleteTransferConfigRequestOrBuilder.java | 34 - .../v1/EmailPreferencesOrBuilder.java | 20 - .../v1/GetDataSourceRequestOrBuilder.java | 34 - .../v1/GetTransferConfigRequestOrBuilder.java | 34 - .../bigquery/datatransfer/v1/RunName.java | 371 --- .../datatransfer/v1/TransferConfigName.java | 314 --- .../datatransfer/v1/TransferProto.java | 212 -- 179 files changed, 19068 insertions(+), 12151 deletions(-) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java (99%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java (99%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java (100%) create mode 100644 java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java (63%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java (62%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java (74%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java (80%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java (71%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java (76%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java (74%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java (82%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java (61%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java (61%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java (51%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java (66%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java (64%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java (61%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java (63%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java (61%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java (63%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java (51%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java (64%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java (72%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java (73%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java (68%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java (70%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java (62%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java (55%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java (65%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java (62%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java (62%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java (55%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java (69%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java (73%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java (63%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java (55%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java (76%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java (82%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java (69%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java (66%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java (72%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java (66%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java (66%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java (72%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java (81%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java (68%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java (66%) create mode 100644 java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java (73%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java (82%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java (69%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java (74%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java (82%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java (67%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java (53%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java (100%) rename {owl-bot-staging/java-bigquerydatatransfer/v1 => java-bigquerydatatransfer}/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java (100%) delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java delete mode 100644 owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java similarity index 99% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java index a8ae3a0d573f..9b5be8df0ba8 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java +++ b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java @@ -32,7 +32,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.bigquery.datatransfer.v1.stub.DataTransferServiceStubSettings; diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java similarity index 99% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java index 56eb21d8eb2a..f4dba8ae381e 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java +++ b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java @@ -64,7 +64,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceCallableFactory.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/HttpJsonDataTransferServiceStub.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.datatransfer.v1/reflect-config.json diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocations.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java rename to java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockLocationsImpl.java diff --git a/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java b/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java new file mode 100644 index 000000000000..1874ec722cbd --- /dev/null +++ b/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java @@ -0,0 +1,2330 @@ +/* + * 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; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * This API allows users to manage their data transfers into BigQuery.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataTransferServiceGrpc { + + private DataTransferServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = + "google.cloud.bigquery.datatransfer.v1.DataTransferService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, + com.google.cloud.bigquery.datatransfer.v1.DataSource> + getGetDataSourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataSource", + requestType = com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.DataSource.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, + com.google.cloud.bigquery.datatransfer.v1.DataSource> + getGetDataSourceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, + com.google.cloud.bigquery.datatransfer.v1.DataSource> + getGetDataSourceMethod; + if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { + DataTransferServiceGrpc.getGetDataSourceMethod = + getGetDataSourceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataSource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.DataSource + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("GetDataSource")) + .build(); + } + } + } + return getGetDataSourceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> + getListDataSourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataSources", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> + getListDataSourcesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> + getListDataSourcesMethod; + if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { + DataTransferServiceGrpc.getListDataSourcesMethod = + getListDataSourcesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataSources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("ListDataSources")) + .build(); + } + } + } + return getListDataSourcesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getCreateTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getCreateTransferConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getCreateTransferConfigMethod; + if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) + == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) + == null) { + DataTransferServiceGrpc.getCreateTransferConfigMethod = + getCreateTransferConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("CreateTransferConfig")) + .build(); + } + } + } + return getCreateTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getUpdateTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getUpdateTransferConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getUpdateTransferConfigMethod; + if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) + == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) + == null) { + DataTransferServiceGrpc.getUpdateTransferConfigMethod = + getUpdateTransferConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("UpdateTransferConfig")) + .build(); + } + } + } + return getUpdateTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, + com.google.protobuf.Empty> + getDeleteTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, + com.google.protobuf.Empty> + getDeleteTransferConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, + com.google.protobuf.Empty> + getDeleteTransferConfigMethod; + if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) + == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) + == null) { + DataTransferServiceGrpc.getDeleteTransferConfigMethod = + getDeleteTransferConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("DeleteTransferConfig")) + .build(); + } + } + } + return getDeleteTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getGetTransferConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTransferConfig", + requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getGetTransferConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getGetTransferConfigMethod; + if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) + == null) { + DataTransferServiceGrpc.getGetTransferConfigMethod = + getGetTransferConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("GetTransferConfig")) + .build(); + } + } + } + return getGetTransferConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> + getListTransferConfigsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTransferConfigs", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> + getListTransferConfigsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> + getListTransferConfigsMethod; + if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) + == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) + == null) { + DataTransferServiceGrpc.getListTransferConfigsMethod = + getListTransferConfigsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListTransferConfigs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("ListTransferConfigs")) + .build(); + } + } + } + return getListTransferConfigsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> + getScheduleTransferRunsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ScheduleTransferRuns", + requestType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> + getScheduleTransferRunsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> + getScheduleTransferRunsMethod; + if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) + == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) + == null) { + DataTransferServiceGrpc.getScheduleTransferRunsMethod = + getScheduleTransferRunsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ScheduleTransferRuns")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("ScheduleTransferRuns")) + .build(); + } + } + } + return getScheduleTransferRunsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> + getStartManualTransferRunsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartManualTransferRuns", + requestType = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, + responseType = + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> + getStartManualTransferRunsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> + getStartManualTransferRunsMethod; + if ((getStartManualTransferRunsMethod = + DataTransferServiceGrpc.getStartManualTransferRunsMethod) + == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getStartManualTransferRunsMethod = + DataTransferServiceGrpc.getStartManualTransferRunsMethod) + == null) { + DataTransferServiceGrpc.getStartManualTransferRunsMethod = + getStartManualTransferRunsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "StartManualTransferRuns")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1 + .StartManualTransferRunsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1 + .StartManualTransferRunsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier( + "StartManualTransferRuns")) + .build(); + } + } + } + return getStartManualTransferRunsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferRun> + getGetTransferRunMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTransferRun", + requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferRun> + getGetTransferRunMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferRun> + getGetTransferRunMethod; + if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { + DataTransferServiceGrpc.getGetTransferRunMethod = + getGetTransferRunMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferRun")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.TransferRun + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("GetTransferRun")) + .build(); + } + } + } + return getGetTransferRunMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, + com.google.protobuf.Empty> + getDeleteTransferRunMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTransferRun", + requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, + com.google.protobuf.Empty> + getDeleteTransferRunMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, + com.google.protobuf.Empty> + getDeleteTransferRunMethod; + if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) + == null) { + DataTransferServiceGrpc.getDeleteTransferRunMethod = + getDeleteTransferRunMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransferRun")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("DeleteTransferRun")) + .build(); + } + } + } + return getDeleteTransferRunMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> + getListTransferRunsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTransferRuns", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> + getListTransferRunsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> + getListTransferRunsMethod; + if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) + == null) { + DataTransferServiceGrpc.getListTransferRunsMethod = + getListTransferRunsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferRuns")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("ListTransferRuns")) + .build(); + } + } + } + return getListTransferRunsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> + getListTransferLogsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTransferLogs", + requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> + getListTransferLogsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> + getListTransferLogsMethod; + if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) + == null) { + DataTransferServiceGrpc.getListTransferLogsMethod = + getListTransferLogsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferLogs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("ListTransferLogs")) + .build(); + } + } + } + return getListTransferLogsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> + getCheckValidCredsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CheckValidCreds", + requestType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, + responseType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> + getCheckValidCredsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> + getCheckValidCredsMethod; + if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { + DataTransferServiceGrpc.getCheckValidCredsMethod = + getCheckValidCredsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckValidCreds")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("CheckValidCreds")) + .build(); + } + } + } + return getCheckValidCredsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, + com.google.protobuf.Empty> + getEnrollDataSourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "EnrollDataSources", + requestType = com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, + com.google.protobuf.Empty> + getEnrollDataSourcesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, + com.google.protobuf.Empty> + getEnrollDataSourcesMethod; + if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) + == null) { + DataTransferServiceGrpc.getEnrollDataSourcesMethod = + getEnrollDataSourcesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "EnrollDataSources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("EnrollDataSources")) + .build(); + } + } + } + return getEnrollDataSourcesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, + com.google.protobuf.Empty> + getUnenrollDataSourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UnenrollDataSources", + requestType = com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, + com.google.protobuf.Empty> + getUnenrollDataSourcesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, + com.google.protobuf.Empty> + getUnenrollDataSourcesMethod; + if ((getUnenrollDataSourcesMethod = DataTransferServiceGrpc.getUnenrollDataSourcesMethod) + == null) { + synchronized (DataTransferServiceGrpc.class) { + if ((getUnenrollDataSourcesMethod = DataTransferServiceGrpc.getUnenrollDataSourcesMethod) + == null) { + DataTransferServiceGrpc.getUnenrollDataSourcesMethod = + getUnenrollDataSourcesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UnenrollDataSources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataTransferServiceMethodDescriptorSupplier("UnenrollDataSources")) + .build(); + } + } + } + return getUnenrollDataSourcesMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static DataTransferServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTransferServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceStub(channel, callOptions); + } + }; + return DataTransferServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataTransferServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTransferServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceBlockingStub(channel, callOptions); + } + }; + return DataTransferServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static DataTransferServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTransferServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceFutureStub(channel, callOptions); + } + }; + return DataTransferServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + default void getDataSource( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataSourceMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + default void listDataSources( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDataSourcesMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + default void createTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTransferConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + default void updateTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTransferConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + default void deleteTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTransferConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns information about a data transfer config.
+     * 
+ */ + default void getTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetTransferConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + default void listTransferConfigs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTransferConfigsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + default void scheduleTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getScheduleTransferRunsMethod(), responseObserver); + } + + /** + * + * + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + default void startManualTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getStartManualTransferRunsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + default void getTransferRun( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetTransferRunMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes the specified transfer run.
+     * 
+ */ + default void deleteTransferRun( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTransferRunMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + default void listTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTransferRunsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + default void listTransferLogs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTransferLogsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + default void checkValidCreds( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCheckValidCredsMethod(), responseObserver); + } + + /** + * + * + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + default void enrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getEnrollDataSourcesMethod(), responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUnenrollDataSourcesMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service DataTransferService. + * + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public abstract static class DataTransferServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return DataTransferServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service DataTransferService. + * + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public static final class DataTransferServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private DataTransferServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTransferServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + public void getDataSource( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + public void listDataSources( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + public void createTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + public void updateTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + public void deleteTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns information about a data transfer config.
+     * 
+ */ + public void getTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + public void listTransferConfigs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + public void scheduleTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + public void startManualTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + public void getTransferRun( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes the specified transfer run.
+     * 
+ */ + public void deleteTransferRun( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + public void listTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + public void listTransferLogs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + public void checkValidCreds( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + public void enrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getEnrollDataSourcesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUnenrollDataSourcesMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service DataTransferService. + * + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public static final class DataTransferServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataTransferServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTransferServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSource( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataSourceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse listDataSources( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataSourcesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig createTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTransferConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig updateTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTransferConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + public com.google.protobuf.Empty deleteTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTransferConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns information about a data transfer config.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTransferConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + listTransferConfigs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTransferConfigsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + scheduleTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getScheduleTransferRunsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + startManualTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartManualTransferRunsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRun( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTransferRunMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes the specified transfer run.
+     * 
+ */ + public com.google.protobuf.Empty deleteTransferRun( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTransferRunMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse listTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTransferRunsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse listTransferLogs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTransferLogsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse checkValidCreds( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCheckValidCredsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + public com.google.protobuf.Empty enrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), 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.protobuf.Empty unenrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUnenrollDataSourcesMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service DataTransferService. + * + *
+   * This API allows users to manage their data transfers into BigQuery.
+   * 
+ */ + public static final class DataTransferServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataTransferServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTransferServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTransferServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Retrieves a supported data source and returns its settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.DataSource> + getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists supported data sources and returns their settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> + listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new data transfer configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + createTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a data transfer configuration.
+     * All fields must be set, even if they are not updated.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + updateTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a data transfer configuration, including any associated transfer
+     * runs and logs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns information about a data transfer config.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig> + getTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns information about all transfer configs owned by a project in the
+     * specified location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> + listTransferConfigs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates transfer runs for a time range [start_time, end_time].
+     * For each date - or whatever granularity the data source supports - in the
+     * range, one transfer run is created.
+     * Note that runs are created per UTC time in the time range.
+     * DEPRECATED: use StartManualTransferRuns instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> + scheduleTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Start manual transfer runs to be executed now with schedule_time equal to
+     * current time. The transfer runs can be created for a time range where the
+     * run_time is between start_time (inclusive) and end_time (exclusive), or for
+     * a specific run_time.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> + startManualTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns information about the particular transfer run.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.TransferRun> + getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes the specified transfer run.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTransferRun( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns information about running and completed transfer runs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> + listTransferRuns( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns log messages for the transfer run.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> + listTransferLogs( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns true if valid credentials exist for the given data source and
+     * requesting user.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> + checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Enroll data sources in a user project. This allows users to create transfer
+     * configurations for these data sources. They will also appear in the
+     * ListDataSources RPC and as such, will appear in the
+     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
+     * can be found in the public guide for
+     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
+     * [Data Transfer
+     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + enrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { + 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 + unenrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUnenrollDataSourcesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_DATA_SOURCE = 0; + private static final int METHODID_LIST_DATA_SOURCES = 1; + private static final int METHODID_CREATE_TRANSFER_CONFIG = 2; + private static final int METHODID_UPDATE_TRANSFER_CONFIG = 3; + private static final int METHODID_DELETE_TRANSFER_CONFIG = 4; + private static final int METHODID_GET_TRANSFER_CONFIG = 5; + private static final int METHODID_LIST_TRANSFER_CONFIGS = 6; + private static final int METHODID_SCHEDULE_TRANSFER_RUNS = 7; + private static final int METHODID_START_MANUAL_TRANSFER_RUNS = 8; + private static final int METHODID_GET_TRANSFER_RUN = 9; + private static final int METHODID_DELETE_TRANSFER_RUN = 10; + private static final int METHODID_LIST_TRANSFER_RUNS = 11; + private static final int METHODID_LIST_TRANSFER_LOGS = 12; + private static final int METHODID_CHECK_VALID_CREDS = 13; + private static final int METHODID_ENROLL_DATA_SOURCES = 14; + private static final int METHODID_UNENROLL_DATA_SOURCES = 15; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_DATA_SOURCE: + serviceImpl.getDataSource( + (com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_DATA_SOURCES: + serviceImpl.listDataSources( + (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse>) + responseObserver); + break; + case METHODID_CREATE_TRANSFER_CONFIG: + serviceImpl.createTransferConfig( + (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>) + responseObserver); + break; + case METHODID_UPDATE_TRANSFER_CONFIG: + serviceImpl.updateTransferConfig( + (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>) + responseObserver); + break; + case METHODID_DELETE_TRANSFER_CONFIG: + serviceImpl.deleteTransferConfig( + (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TRANSFER_CONFIG: + serviceImpl.getTransferConfig( + (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>) + responseObserver); + break; + case METHODID_LIST_TRANSFER_CONFIGS: + serviceImpl.listTransferConfigs( + (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse>) + responseObserver); + break; + case METHODID_SCHEDULE_TRANSFER_RUNS: + serviceImpl.scheduleTransferRuns( + (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse>) + responseObserver); + break; + case METHODID_START_MANUAL_TRANSFER_RUNS: + serviceImpl.startManualTransferRuns( + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse>) + responseObserver); + break; + case METHODID_GET_TRANSFER_RUN: + serviceImpl.getTransferRun( + (com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TRANSFER_RUN: + serviceImpl.deleteTransferRun( + (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TRANSFER_RUNS: + serviceImpl.listTransferRuns( + (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse>) + responseObserver); + break; + case METHODID_LIST_TRANSFER_LOGS: + serviceImpl.listTransferLogs( + (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse>) + responseObserver); + break; + case METHODID_CHECK_VALID_CREDS: + serviceImpl.checkValidCreds( + (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse>) + responseObserver); + break; + case METHODID_ENROLL_DATA_SOURCES: + serviceImpl.enrollDataSources( + (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UNENROLL_DATA_SOURCES: + serviceImpl.unenrollDataSources( + (com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetDataSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, + com.google.cloud.bigquery.datatransfer.v1.DataSource>( + service, METHODID_GET_DATA_SOURCE))) + .addMethod( + getListDataSourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse>( + service, METHODID_LIST_DATA_SOURCES))) + .addMethod( + getCreateTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( + service, METHODID_CREATE_TRANSFER_CONFIG))) + .addMethod( + getUpdateTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( + service, METHODID_UPDATE_TRANSFER_CONFIG))) + .addMethod( + getDeleteTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_TRANSFER_CONFIG))) + .addMethod( + getGetTransferConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( + service, METHODID_GET_TRANSFER_CONFIG))) + .addMethod( + getListTransferConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse>( + service, METHODID_LIST_TRANSFER_CONFIGS))) + .addMethod( + getScheduleTransferRunsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse>( + service, METHODID_SCHEDULE_TRANSFER_RUNS))) + .addMethod( + getStartManualTransferRunsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse>( + service, METHODID_START_MANUAL_TRANSFER_RUNS))) + .addMethod( + getGetTransferRunMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, + com.google.cloud.bigquery.datatransfer.v1.TransferRun>( + service, METHODID_GET_TRANSFER_RUN))) + .addMethod( + getDeleteTransferRunMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_TRANSFER_RUN))) + .addMethod( + getListTransferRunsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse>( + service, METHODID_LIST_TRANSFER_RUNS))) + .addMethod( + getListTransferLogsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse>( + service, METHODID_LIST_TRANSFER_LOGS))) + .addMethod( + getCheckValidCredsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse>( + service, METHODID_CHECK_VALID_CREDS))) + .addMethod( + getEnrollDataSourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, + com.google.protobuf.Empty>(service, METHODID_ENROLL_DATA_SOURCES))) + .addMethod( + getUnenrollDataSourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, + com.google.protobuf.Empty>(service, METHODID_UNENROLL_DATA_SOURCES))) + .build(); + } + + private abstract static class DataTransferServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataTransferServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataTransferService"); + } + } + + private static final class DataTransferServiceFileDescriptorSupplier + extends DataTransferServiceBaseDescriptorSupplier { + DataTransferServiceFileDescriptorSupplier() {} + } + + private static final class DataTransferServiceMethodDescriptorSupplier + extends DataTransferServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + DataTransferServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DataTransferServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataTransferServiceFileDescriptorSupplier()) + .addMethod(getGetDataSourceMethod()) + .addMethod(getListDataSourcesMethod()) + .addMethod(getCreateTransferConfigMethod()) + .addMethod(getUpdateTransferConfigMethod()) + .addMethod(getDeleteTransferConfigMethod()) + .addMethod(getGetTransferConfigMethod()) + .addMethod(getListTransferConfigsMethod()) + .addMethod(getScheduleTransferRunsMethod()) + .addMethod(getStartManualTransferRunsMethod()) + .addMethod(getGetTransferRunMethod()) + .addMethod(getDeleteTransferRunMethod()) + .addMethod(getListTransferRunsMethod()) + .addMethod(getListTransferLogsMethod()) + .addMethod(getCheckValidCredsMethod()) + .addMethod(getEnrollDataSourcesMethod()) + .addMethod(getUnenrollDataSourcesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java similarity index 63% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java index 8163e33dbf00..bcc3fcac652e 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,6 +20,8 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to determine whether the user has valid credentials. This method
  * is used to limit the number of OAuth popups in the user interface. The
@@ -16,50 +33,58 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest}
  */
-public final class CheckValidCredsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CheckValidCredsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)
     CheckValidCredsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CheckValidCredsRequest.newBuilder() to construct.
   private CheckValidCredsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CheckValidCredsRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CheckValidCredsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_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_CheckValidCredsRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class,
+            com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The data source in the form:
    * `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,31 +93,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The data source in the form:
    * `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -101,6 +128,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +140,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -137,15 +164,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other = (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other = + (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -165,98 +192,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest 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.CheckValidCredsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsRequest 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.CheckValidCredsRequest 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.CheckValidCredsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest 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.CheckValidCredsRequest 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.CheckValidCredsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.CheckValidCredsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to determine whether the user has valid credentials. This method
    * is used to limit the number of OAuth popups in the user interface. The
@@ -268,33 +301,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)
       com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_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_CheckValidCredsRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class,
+              com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -304,13 +336,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance();
     }
 
@@ -325,13 +358,17 @@ public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest build()
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result =
+          new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result) {
+    private void buildPartial0(
+        com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -342,46 +379,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CheckValidC
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest)other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest other) {
+      if (other
+          == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -413,17 +454,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -433,24 +476,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -459,22 +507,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -482,32 +533,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -517,28 +579,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The data source in the form:
      * `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -548,41 +616,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckValidCredsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckValidCredsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +664,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java new file mode 100644 index 000000000000..8014d9bd7509 --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java @@ -0,0 +1,59 @@ +/* + * 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; + +public interface CheckValidCredsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The data source in the form:
+   * `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The data source in the form:
+   * `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java similarity index 62% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java index 13a14fce36b2..ff5b9d63dca2 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,52 +20,58 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A response indicating whether the credentials exist and are valid.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse} */ -public final class CheckValidCredsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CheckValidCredsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) CheckValidCredsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CheckValidCredsResponse.newBuilder() to construct. private CheckValidCredsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CheckValidCredsResponse() { - } + + private CheckValidCredsResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CheckValidCredsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_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_CheckValidCredsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); } public static final int HAS_VALID_CREDS_FIELD_NUMBER = 1; private boolean hasValidCreds_ = false; /** + * + * *
    * If set to `true`, the credentials exist and are valid.
    * 
* * bool has_valid_creds = 1; + * * @return The hasValidCreds. */ @java.lang.Override @@ -59,6 +80,7 @@ public boolean getHasValidCreds() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -70,8 +92,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (hasValidCreds_ != false) { output.writeBool(1, hasValidCreds_); } @@ -85,8 +106,7 @@ public int getSerializedSize() { size = 0; if (hasValidCreds_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, hasValidCreds_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, hasValidCreds_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -96,15 +116,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other = (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other = + (com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) obj; - if (getHasValidCreds() - != other.getHasValidCreds()) return false; + if (getHasValidCreds() != other.getHasValidCreds()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -117,139 +137,145 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + HAS_VALID_CREDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHasValidCreds()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasValidCreds()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse 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.CheckValidCredsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CheckValidCredsResponse 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.CheckValidCredsResponse 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.CheckValidCredsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse 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.CheckValidCredsResponse + 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.CheckValidCredsResponse 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.CheckValidCredsResponse + 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.CheckValidCredsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.CheckValidCredsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response indicating whether the credentials exist and are valid.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_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_CheckValidCredsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -259,13 +285,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance(); } @@ -280,13 +307,17 @@ public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result = + new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.hasValidCreds_ = hasValidCreds_; @@ -297,46 +328,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CheckValidC public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance()) + return this; if (other.getHasValidCreds() != false) { setHasValidCreds(other.getHasValidCreds()); } @@ -366,17 +401,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - hasValidCreds_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + hasValidCreds_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -386,15 +423,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean hasValidCreds_ ; + private boolean hasValidCreds_; /** + * + * *
      * If set to `true`, the credentials exist and are valid.
      * 
* * bool has_valid_creds = 1; + * * @return The hasValidCreds. */ @java.lang.Override @@ -402,11 +443,14 @@ public boolean getHasValidCreds() { return hasValidCreds_; } /** + * + * *
      * If set to `true`, the credentials exist and are valid.
      * 
* * bool has_valid_creds = 1; + * * @param value The hasValidCreds to set. * @return This builder for chaining. */ @@ -418,11 +462,14 @@ public Builder setHasValidCreds(boolean value) { return this; } /** + * + * *
      * If set to `true`, the credentials exist and are valid.
      * 
* * bool has_valid_creds = 1; + * * @return This builder for chaining. */ public Builder clearHasValidCreds() { @@ -431,9 +478,9 @@ public Builder clearHasValidCreds() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -443,41 +490,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckValidCredsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckValidCredsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -489,9 +538,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java new file mode 100644 index 000000000000..57d6001298e3 --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java @@ -0,0 +1,39 @@ +/* + * 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; + +public interface CheckValidCredsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * If set to `true`, the credentials exist and are valid.
+   * 
+ * + * bool has_valid_creds = 1; + * + * @return The hasValidCreds. + */ + boolean getHasValidCreds(); +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java similarity index 74% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java index 030325827102..ed6c16401689 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,6 +20,8 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to create a data transfer configuration. If new credentials are
  * needed for this transfer configuration, authorization info must be provided.
@@ -16,15 +33,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest}
  */
-public final class CreateTransferConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)
     CreateTransferConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateTransferConfigRequest.newBuilder() to construct.
   private CreateTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateTransferConfigRequest() {
     parent_ = "";
     authorizationCode_ = "";
@@ -34,29 +52,33 @@ private CreateTransferConfigRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTransferConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_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_CreateTransferConfigRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class,
+            com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -65,7 +87,10 @@ protected java.lang.Object newInstance(
    * match - the request will fail.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -74,14 +99,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -90,17 +116,18 @@ public java.lang.String getParent() {
    * match - the request will fail.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -111,11 +138,16 @@ public java.lang.String getParent() { public static final int TRANSFER_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_; /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferConfig field is set. */ @java.lang.Override @@ -123,33 +155,50 @@ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferConfig. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { - return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { - return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder + getTransferConfigOrBuilder() { + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } public static final int AUTHORIZATION_CODE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object authorizationCode_ = ""; /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -168,6 +217,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran
    * 
* * string authorization_code = 3; + * * @return The authorizationCode. */ @java.lang.Override @@ -176,14 +226,15 @@ public java.lang.String getAuthorizationCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; } } /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -202,16 +253,15 @@ public java.lang.String getAuthorizationCode() {
    * 
* * string authorization_code = 3; + * * @return The bytes for authorizationCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -220,9 +270,12 @@ public java.lang.String getAuthorizationCode() { } public static final int VERSION_INFO_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object versionInfo_ = ""; /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -241,6 +294,7 @@ public java.lang.String getAuthorizationCode() {
    * 
* * string version_info = 5; + * * @return The versionInfo. */ @java.lang.Override @@ -249,14 +303,15 @@ public java.lang.String getVersionInfo() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; } } /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -275,16 +330,15 @@ public java.lang.String getVersionInfo() {
    * 
* * string version_info = 5; + * * @return The bytes for versionInfo. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionInfoBytes() { + public com.google.protobuf.ByteString getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -293,9 +347,12 @@ public java.lang.String getVersionInfo() { } public static final int SERVICE_ACCOUNT_NAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object serviceAccountName_ = ""; /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -309,6 +366,7 @@ public java.lang.String getVersionInfo() {
    * 
* * string service_account_name = 6; + * * @return The serviceAccountName. */ @java.lang.Override @@ -317,14 +375,15 @@ public java.lang.String getServiceAccountName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; } } /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -338,16 +397,15 @@ public java.lang.String getServiceAccountName() {
    * 
* * string service_account_name = 6; + * * @return The bytes for serviceAccountName. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountNameBytes() { + public com.google.protobuf.ByteString getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -356,6 +414,7 @@ public java.lang.String getServiceAccountName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,8 +426,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -397,8 +455,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTransferConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransferConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizationCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authorizationCode_); @@ -417,26 +474,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other = + (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTransferConfig() != other.hasTransferConfig()) return false; if (hasTransferConfig()) { - if (!getTransferConfig() - .equals(other.getTransferConfig())) return false; - } - if (!getAuthorizationCode() - .equals(other.getAuthorizationCode())) return false; - if (!getVersionInfo() - .equals(other.getVersionInfo())) return false; - if (!getServiceAccountName() - .equals(other.getServiceAccountName())) return false; + if (!getTransferConfig().equals(other.getTransferConfig())) return false; + } + if (!getAuthorizationCode().equals(other.getAuthorizationCode())) return false; + if (!getVersionInfo().equals(other.getVersionInfo())) return false; + if (!getServiceAccountName().equals(other.getServiceAccountName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -466,98 +519,105 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest 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.CreateTransferConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateTransferConfigRequest 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.CreateTransferConfigRequest 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.CreateTransferConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest 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.CreateTransferConfigRequest + 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.CreateTransferConfigRequest 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.CreateTransferConfigRequest + 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.CreateTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.CreateTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to create a data transfer configuration. If new credentials are
    * needed for this transfer configuration, authorization info must be provided.
@@ -569,39 +629,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)
       com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_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_CreateTransferConfigRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class,
+              com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.newBuilder()
+    // Construct using
+    // com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getTransferConfigFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -619,14 +682,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -640,22 +705,25 @@ public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest bui
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result =
+          new com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result) {
+    private void buildPartial0(
+        com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.transferConfig_ = transferConfigBuilder_ == null
-            ? transferConfig_
-            : transferConfigBuilder_.build();
+        result.transferConfig_ =
+            transferConfigBuilder_ == null ? transferConfig_ : transferConfigBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
@@ -674,46 +742,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.CreateTrans
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest)other);
+        return mergeFrom(
+            (com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest other) {
+      if (other
+          == com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest
+              .getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -763,39 +836,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTransferConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              authorizationCode_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 42: {
-              versionInfo_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 42
-            case 50: {
-              serviceAccountName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTransferConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                authorizationCode_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 42:
+              {
+                versionInfo_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 42
+            case 50:
+              {
+                serviceAccountName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -805,10 +882,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -817,14 +897,16 @@ public Builder mergeFrom(
      * match - the request will fail.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -833,6 +915,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -841,16 +925,17 @@ public java.lang.String getParent() {
      * match - the request will fail.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -858,6 +943,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -866,19 +953,25 @@ public java.lang.String getParent() {
      * match - the request will fail.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -887,7 +980,10 @@ public Builder setParent(
      * match - the request will fail.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -897,6 +993,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The BigQuery project id where the transfer configuration should
      * be created. Must be in the format
@@ -905,13 +1003,17 @@ public Builder clearParent() {
      * match - the request will fail.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -921,41 +1023,61 @@ public Builder setParentBytes( private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> transferConfigBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + transferConfigBuilder_; /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferConfig field is set. */ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferConfig. */ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { if (transferConfigBuilder_ == null) { - return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } else { return transferConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder setTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -969,11 +1091,15 @@ public Builder setTransferConfig(com.google.cloud.bigquery.datatransfer.v1.Trans return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTransferConfig( com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { @@ -987,17 +1113,23 @@ public Builder setTransferConfig( return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder mergeTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - transferConfig_ != null && - transferConfig_ != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && transferConfig_ != null + && transferConfig_ + != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { getTransferConfigBuilder().mergeFrom(value); } else { transferConfig_ = value; @@ -1012,11 +1144,15 @@ public Builder mergeTransferConfig(com.google.cloud.bigquery.datatransfer.v1.Tra return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTransferConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1029,48 +1165,66 @@ public Builder clearTransferConfig() { return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder getTransferConfigBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder + getTransferConfigBuilder() { bitField0_ |= 0x00000002; onChanged(); return getTransferConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder + getTransferConfigOrBuilder() { if (transferConfigBuilder_ != null) { return transferConfigBuilder_.getMessageOrBuilder(); } else { - return transferConfig_ == null ? - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> getTransferConfigFieldBuilder() { if (transferConfigBuilder_ == null) { - transferConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( - getTransferConfig(), - getParentForChildren(), - isClean()); + transferConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( + getTransferConfig(), getParentForChildren(), isClean()); transferConfig_ = null; } return transferConfigBuilder_; @@ -1078,6 +1232,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran private java.lang.Object authorizationCode_ = ""; /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1096,13 +1252,13 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran
      * 
* * string authorization_code = 3; + * * @return The authorizationCode. */ public java.lang.String getAuthorizationCode() { java.lang.Object ref = authorizationCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; @@ -1111,6 +1267,8 @@ public java.lang.String getAuthorizationCode() { } } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1129,15 +1287,14 @@ public java.lang.String getAuthorizationCode() {
      * 
* * string authorization_code = 3; + * * @return The bytes for authorizationCode. */ - public com.google.protobuf.ByteString - getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -1145,6 +1302,8 @@ public java.lang.String getAuthorizationCode() { } } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1163,18 +1322,22 @@ public java.lang.String getAuthorizationCode() {
      * 
* * string authorization_code = 3; + * * @param value The authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAuthorizationCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } authorizationCode_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1193,6 +1356,7 @@ public Builder setAuthorizationCode(
      * 
* * string authorization_code = 3; + * * @return This builder for chaining. */ public Builder clearAuthorizationCode() { @@ -1202,6 +1366,8 @@ public Builder clearAuthorizationCode() { return this; } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1220,12 +1386,14 @@ public Builder clearAuthorizationCode() {
      * 
* * string authorization_code = 3; + * * @param value The bytes for authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); authorizationCode_ = value; bitField0_ |= 0x00000004; @@ -1235,6 +1403,8 @@ public Builder setAuthorizationCodeBytes( private java.lang.Object versionInfo_ = ""; /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1253,13 +1423,13 @@ public Builder setAuthorizationCodeBytes(
      * 
* * string version_info = 5; + * * @return The versionInfo. */ public java.lang.String getVersionInfo() { java.lang.Object ref = versionInfo_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; @@ -1268,6 +1438,8 @@ public java.lang.String getVersionInfo() { } } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1286,15 +1458,14 @@ public java.lang.String getVersionInfo() {
      * 
* * string version_info = 5; + * * @return The bytes for versionInfo. */ - public com.google.protobuf.ByteString - getVersionInfoBytes() { + public com.google.protobuf.ByteString getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -1302,6 +1473,8 @@ public java.lang.String getVersionInfo() { } } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1320,18 +1493,22 @@ public java.lang.String getVersionInfo() {
      * 
* * string version_info = 5; + * * @param value The versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfo( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionInfo(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } versionInfo_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1350,6 +1527,7 @@ public Builder setVersionInfo(
      * 
* * string version_info = 5; + * * @return This builder for chaining. */ public Builder clearVersionInfo() { @@ -1359,6 +1537,8 @@ public Builder clearVersionInfo() { return this; } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1377,12 +1557,14 @@ public Builder clearVersionInfo() {
      * 
* * string version_info = 5; + * * @param value The bytes for versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfoBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); versionInfo_ = value; bitField0_ |= 0x00000008; @@ -1392,6 +1574,8 @@ public Builder setVersionInfoBytes( private java.lang.Object serviceAccountName_ = ""; /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1405,13 +1589,13 @@ public Builder setVersionInfoBytes(
      * 
* * string service_account_name = 6; + * * @return The serviceAccountName. */ public java.lang.String getServiceAccountName() { java.lang.Object ref = serviceAccountName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; @@ -1420,6 +1604,8 @@ public java.lang.String getServiceAccountName() { } } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1433,15 +1619,14 @@ public java.lang.String getServiceAccountName() {
      * 
* * string service_account_name = 6; + * * @return The bytes for serviceAccountName. */ - public com.google.protobuf.ByteString - getServiceAccountNameBytes() { + public com.google.protobuf.ByteString getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -1449,6 +1634,8 @@ public java.lang.String getServiceAccountName() { } } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1462,18 +1649,22 @@ public java.lang.String getServiceAccountName() {
      * 
* * string service_account_name = 6; + * * @param value The serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1487,6 +1678,7 @@ public Builder setServiceAccountName(
      * 
* * string service_account_name = 6; + * * @return This builder for chaining. */ public Builder clearServiceAccountName() { @@ -1496,6 +1688,8 @@ public Builder clearServiceAccountName() { return this; } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1509,21 +1703,23 @@ public Builder clearServiceAccountName() {
      * 
* * string service_account_name = 6; + * * @param value The bytes for serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1533,41 +1729,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1579,9 +1777,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java similarity index 80% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java index fbf20676df93..8fd142729881 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java @@ -1,14 +1,32 @@ +/* + * 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; -public interface CreateTransferConfigRequestOrBuilder extends +public interface CreateTransferConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -17,11 +35,16 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * match - the request will fail.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The BigQuery project id where the transfer configuration should
    * be created. Must be in the format
@@ -30,40 +53,58 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * match - the request will fail.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferConfig field is set. */ boolean hasTransferConfig(); /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferConfig. */ com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig(); /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder(); /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -82,10 +123,13 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * 
* * string authorization_code = 3; + * * @return The authorizationCode. */ java.lang.String getAuthorizationCode(); /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -104,12 +148,14 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * 
* * string authorization_code = 3; + * * @return The bytes for authorizationCode. */ - com.google.protobuf.ByteString - getAuthorizationCodeBytes(); + com.google.protobuf.ByteString getAuthorizationCodeBytes(); /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -128,10 +174,13 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * 
* * string version_info = 5; + * * @return The versionInfo. */ java.lang.String getVersionInfo(); /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -150,12 +199,14 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * 
* * string version_info = 5; + * * @return The bytes for versionInfo. */ - com.google.protobuf.ByteString - getVersionInfoBytes(); + com.google.protobuf.ByteString getVersionInfoBytes(); /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -169,10 +220,13 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * 
* * string service_account_name = 6; + * * @return The serviceAccountName. */ java.lang.String getServiceAccountName(); /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -186,8 +240,8 @@ public interface CreateTransferConfigRequestOrBuilder extends
    * 
* * string service_account_name = 6; + * * @return The bytes for serviceAccountName. */ - com.google.protobuf.ByteString - getServiceAccountNameBytes(); + com.google.protobuf.ByteString getServiceAccountNameBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java similarity index 71% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java index bff5273fb450..f8d9a46fcd9e 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,29 +20,31 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Defines the properties and custom parameters for a data source.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSource} */ -public final class DataSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DataSource) DataSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataSource.newBuilder() to construct. private DataSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataSource() { name_ = ""; dataSourceId_ = ""; displayName_ = ""; description_ = ""; clientId_ = ""; - scopes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); transferType_ = 0; defaultSchedule_ = ""; parameters_ = java.util.Collections.emptyList(); @@ -38,34 +55,38 @@ private DataSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataSource(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_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_DataSource_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSource.class, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSource.class, + com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); } /** + * + * *
    * The type of authorization needed for this data source.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType} */ - public enum AuthorizationType - implements com.google.protobuf.ProtocolMessageEnum { + public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Type unspecified.
      * 
@@ -74,6 +95,8 @@ public enum AuthorizationType */ AUTHORIZATION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Use OAuth 2 authorization codes that can be exchanged
      * for a refresh token on the backend.
@@ -83,6 +106,8 @@ public enum AuthorizationType
      */
     AUTHORIZATION_CODE(1),
     /**
+     *
+     *
      * 
      * Return an authorization code for a given Google+ page that can then be
      * exchanged for a refresh token on the backend.
@@ -92,6 +117,8 @@ public enum AuthorizationType
      */
     GOOGLE_PLUS_AUTHORIZATION_CODE(2),
     /**
+     *
+     *
      * 
      * Use First Party OAuth.
      * 
@@ -103,6 +130,8 @@ public enum AuthorizationType ; /** + * + * *
      * Type unspecified.
      * 
@@ -111,6 +140,8 @@ public enum AuthorizationType */ public static final int AUTHORIZATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Use OAuth 2 authorization codes that can be exchanged
      * for a refresh token on the backend.
@@ -120,6 +151,8 @@ public enum AuthorizationType
      */
     public static final int AUTHORIZATION_CODE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Return an authorization code for a given Google+ page that can then be
      * exchanged for a refresh token on the backend.
@@ -129,6 +162,8 @@ public enum AuthorizationType
      */
     public static final int GOOGLE_PLUS_AUTHORIZATION_CODE_VALUE = 2;
     /**
+     *
+     *
      * 
      * Use First Party OAuth.
      * 
@@ -137,7 +172,6 @@ public enum AuthorizationType */ public static final int FIRST_PARTY_OAUTH_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -162,11 +196,16 @@ public static AuthorizationType valueOf(int value) { */ public static AuthorizationType forNumber(int value) { switch (value) { - case 0: return AUTHORIZATION_TYPE_UNSPECIFIED; - case 1: return AUTHORIZATION_CODE; - case 2: return GOOGLE_PLUS_AUTHORIZATION_CODE; - case 3: return FIRST_PARTY_OAUTH; - default: return null; + case 0: + return AUTHORIZATION_TYPE_UNSPECIFIED; + case 1: + return AUTHORIZATION_CODE; + case 2: + return GOOGLE_PLUS_AUTHORIZATION_CODE; + case 3: + return FIRST_PARTY_OAUTH; + default: + return null; } } @@ -174,29 +213,31 @@ public static AuthorizationType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - AuthorizationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AuthorizationType findValueByNumber(int number) { - return AuthorizationType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AuthorizationType findValueByNumber(int number) { + return AuthorizationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor() + .getEnumTypes() + .get(0); } private static final AuthorizationType[] VALUES = values(); @@ -204,8 +245,7 @@ public AuthorizationType findValueByNumber(int number) { public static AuthorizationType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -223,15 +263,18 @@ private AuthorizationType(int value) { } /** + * + * *
    * Represents how the data source supports data auto refresh.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType} */ - public enum DataRefreshType - implements com.google.protobuf.ProtocolMessageEnum { + public enum DataRefreshType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The data source won't support data auto refresh, which is default value.
      * 
@@ -240,6 +283,8 @@ public enum DataRefreshType */ DATA_REFRESH_TYPE_UNSPECIFIED(0), /** + * + * *
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Does not allow custom values to be set for each
@@ -250,6 +295,8 @@ public enum DataRefreshType
      */
     SLIDING_WINDOW(1),
     /**
+     *
+     *
      * 
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Allows custom values to be set for each transfer
@@ -263,6 +310,8 @@ public enum DataRefreshType
     ;
 
     /**
+     *
+     *
      * 
      * The data source won't support data auto refresh, which is default value.
      * 
@@ -271,6 +320,8 @@ public enum DataRefreshType */ public static final int DATA_REFRESH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Does not allow custom values to be set for each
@@ -281,6 +332,8 @@ public enum DataRefreshType
      */
     public static final int SLIDING_WINDOW_VALUE = 1;
     /**
+     *
+     *
      * 
      * The data source supports data auto refresh, and runs will be scheduled
      * for the past few days. Allows custom values to be set for each transfer
@@ -291,7 +344,6 @@ public enum DataRefreshType
      */
     public static final int CUSTOM_SLIDING_WINDOW_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -316,40 +368,45 @@ public static DataRefreshType valueOf(int value) {
      */
     public static DataRefreshType forNumber(int value) {
       switch (value) {
-        case 0: return DATA_REFRESH_TYPE_UNSPECIFIED;
-        case 1: return SLIDING_WINDOW;
-        case 2: return CUSTOM_SLIDING_WINDOW;
-        default: return null;
+        case 0:
+          return DATA_REFRESH_TYPE_UNSPECIFIED;
+        case 1:
+          return SLIDING_WINDOW;
+        case 2:
+          return CUSTOM_SLIDING_WINDOW;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        DataRefreshType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public DataRefreshType findValueByNumber(int number) {
-              return DataRefreshType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public DataRefreshType findValueByNumber(int number) {
+                return DataRefreshType.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor().getEnumTypes().get(1);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataSource.getDescriptor()
+          .getEnumTypes()
+          .get(1);
     }
 
     private static final DataRefreshType[] VALUES = values();
@@ -357,8 +414,7 @@ public DataRefreshType findValueByNumber(int number) {
     public static DataRefreshType valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -377,14 +433,18 @@ private DataRefreshType(int value) {
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -393,29 +453,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -424,14 +484,18 @@ public java.lang.String getName() { } public static final int DATA_SOURCE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object dataSourceId_ = ""; /** + * + * *
    * Data source id.
    * 
* * string data_source_id = 2; + * * @return The dataSourceId. */ @java.lang.Override @@ -440,29 +504,29 @@ public java.lang.String getDataSourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; } } /** + * + * *
    * Data source id.
    * 
* * string data_source_id = 2; + * * @return The bytes for dataSourceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataSourceIdBytes() { + public com.google.protobuf.ByteString getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -471,14 +535,18 @@ public java.lang.String getDataSourceId() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * User friendly data source name.
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -487,29 +555,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * User friendly data source name.
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -518,14 +586,18 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * User friendly data source description string.
    * 
* * string description = 4; + * * @return The description. */ @java.lang.Override @@ -534,29 +606,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * User friendly data source description string.
    * 
* * string description = 4; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -565,14 +637,18 @@ public java.lang.String getDescription() { } public static final int CLIENT_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object clientId_ = ""; /** + * + * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; + * * @return The clientId. */ @java.lang.Override @@ -581,29 +657,29 @@ public java.lang.String getClientId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientId_ = s; return s; } } /** + * + * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; + * * @return The bytes for clientId. */ @java.lang.Override - public com.google.protobuf.ByteString - getClientIdBytes() { + public com.google.protobuf.ByteString getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clientId_ = b; return b; } else { @@ -612,10 +688,13 @@ public java.lang.String getClientId() { } public static final int SCOPES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -623,13 +702,15 @@ public java.lang.String getClientId() {
    * 
* * repeated string scopes = 6; + * * @return A list containing the scopes. */ - public com.google.protobuf.ProtocolStringList - getScopesList() { + public com.google.protobuf.ProtocolStringList getScopesList() { return scopes_; } /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -637,12 +718,15 @@ public java.lang.String getClientId() {
    * 
* * repeated string scopes = 6; + * * @return The count of scopes. */ public int getScopesCount() { return scopes_.size(); } /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -650,6 +734,7 @@ public int getScopesCount() {
    * 
* * repeated string scopes = 6; + * * @param index The index of the element to return. * @return The scopes at the given index. */ @@ -657,6 +742,8 @@ public java.lang.String getScopes(int index) { return scopes_.get(index); } /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -664,70 +751,94 @@ public java.lang.String getScopes(int index) {
    * 
* * repeated string scopes = 6; + * * @param index The index of the value to return. * @return The bytes of the scopes at the given index. */ - public com.google.protobuf.ByteString - getScopesBytes(int index) { + public com.google.protobuf.ByteString getScopesBytes(int index) { return scopes_.getByteString(index); } public static final int TRANSFER_TYPE_FIELD_NUMBER = 7; private int transferType_ = 0; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The enum numeric value on the wire for transferType. */ - @java.lang.Override @java.lang.Deprecated public int getTransferTypeValue() { + @java.lang.Override + @java.lang.Deprecated + public int getTransferTypeValue() { return transferType_; } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The transferType. */ - @java.lang.Override @java.lang.Deprecated public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { - com.google.cloud.bigquery.datatransfer.v1.TransferType result = com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED : result; + @java.lang.Override + @java.lang.Deprecated + public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { + com.google.cloud.bigquery.datatransfer.v1.TransferType result = + com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED + : result; } public static final int SUPPORTS_MULTIPLE_TRANSFERS_FIELD_NUMBER = 8; private boolean supportsMultipleTransfers_ = false; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * 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=398 + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is + * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return The supportsMultipleTransfers. */ @java.lang.Override - @java.lang.Deprecated public boolean getSupportsMultipleTransfers() { + @java.lang.Deprecated + public boolean getSupportsMultipleTransfers() { return supportsMultipleTransfers_; } public static final int UPDATE_DEADLINE_SECONDS_FIELD_NUMBER = 9; private int updateDeadlineSeconds_ = 0; /** + * + * *
    * The number of seconds to wait for an update from the data source
    * before the Data Transfer Service marks the transfer as FAILED.
    * 
* * int32 update_deadline_seconds = 9; + * * @return The updateDeadlineSeconds. */ @java.lang.Override @@ -736,9 +847,12 @@ public int getUpdateDeadlineSeconds() { } public static final int DEFAULT_SCHEDULE_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object defaultSchedule_ = ""; /** + * + * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -748,6 +862,7 @@ public int getUpdateDeadlineSeconds() {
    * 
* * string default_schedule = 10; + * * @return The defaultSchedule. */ @java.lang.Override @@ -756,14 +871,15 @@ public java.lang.String getDefaultSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSchedule_ = s; return s; } } /** + * + * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -773,16 +889,15 @@ public java.lang.String getDefaultSchedule() {
    * 
* * string default_schedule = 10; + * * @return The bytes for defaultSchedule. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultScheduleBytes() { + public com.google.protobuf.ByteString getDefaultScheduleBytes() { java.lang.Object ref = defaultSchedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultSchedule_ = b; return b; } else { @@ -793,6 +908,8 @@ public java.lang.String getDefaultSchedule() { public static final int SUPPORTS_CUSTOM_SCHEDULE_FIELD_NUMBER = 11; private boolean supportsCustomSchedule_ = false; /** + * + * *
    * Specifies whether the data source supports a user defined schedule, or
    * operates on the default schedule.
@@ -800,6 +917,7 @@ public java.lang.String getDefaultSchedule() {
    * 
* * bool supports_custom_schedule = 11; + * * @return The supportsCustomSchedule. */ @java.lang.Override @@ -808,75 +926,97 @@ public boolean getSupportsCustomSchedule() { } public static final int PARAMETERS_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private java.util.List parameters_; /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ @java.lang.Override - public java.util.List getParametersList() { + public java.util.List + getParametersList() { return parameters_; } /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> getParametersOrBuilderList() { return parameters_; } /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ @java.lang.Override public int getParametersCount() { return parameters_.size(); } /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParameters(int index) { return parameters_.get(index); } /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParametersOrBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder + getParametersOrBuilder(int index) { return parameters_.get(index); } public static final int HELP_URL_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private volatile java.lang.Object helpUrl_ = ""; /** + * + * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; + * * @return The helpUrl. */ @java.lang.Override @@ -885,29 +1025,29 @@ public java.lang.String getHelpUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpUrl_ = s; return s; } } /** + * + * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; + * * @return The bytes for helpUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getHelpUrlBytes() { + public com.google.protobuf.ByteString getHelpUrlBytes() { java.lang.Object ref = helpUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); helpUrl_ = b; return b; } else { @@ -918,32 +1058,51 @@ public java.lang.String getHelpUrl() { public static final int AUTHORIZATION_TYPE_FIELD_NUMBER = 14; private int authorizationType_ = 0; /** + * + * *
    * Indicates the type of authorization.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @return The enum numeric value on the wire for authorizationType. */ - @java.lang.Override public int getAuthorizationTypeValue() { + @java.lang.Override + public int getAuthorizationTypeValue() { return authorizationType_; } /** + * + * *
    * Indicates the type of authorization.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @return The authorizationType. */ - @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType getAuthorizationType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber(authorizationType_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType + getAuthorizationType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = + com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber( + authorizationType_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED + : result; } public static final int DATA_REFRESH_TYPE_FIELD_NUMBER = 15; private int dataRefreshType_ = 0; /** + * + * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -951,13 +1110,18 @@ public java.lang.String getHelpUrl() {
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @return The enum numeric value on the wire for dataRefreshType. */ - @java.lang.Override public int getDataRefreshTypeValue() { + @java.lang.Override + public int getDataRefreshTypeValue() { return dataRefreshType_; } /** + * + * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -965,23 +1129,33 @@ public java.lang.String getHelpUrl() {
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @return The dataRefreshType. */ - @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber(dataRefreshType_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = + com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber( + dataRefreshType_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED + : result; } public static final int DEFAULT_DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER = 16; private int defaultDataRefreshWindowDays_ = 0; /** + * + * *
    * Default data refresh window on days.
    * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
    * 
* * int32 default_data_refresh_window_days = 16; + * * @return The defaultDataRefreshWindowDays. */ @java.lang.Override @@ -992,12 +1166,15 @@ public int getDefaultDataRefreshWindowDays() { public static final int MANUAL_RUNS_DISABLED_FIELD_NUMBER = 17; private boolean manualRunsDisabled_ = false; /** + * + * *
    * Disables backfilling and manual run scheduling
    * for the data source.
    * 
* * bool manual_runs_disabled = 17; + * * @return The manualRunsDisabled. */ @java.lang.Override @@ -1008,11 +1185,14 @@ public boolean getManualRunsDisabled() { public static final int MINIMUM_SCHEDULE_INTERVAL_FIELD_NUMBER = 18; private com.google.protobuf.Duration minimumScheduleInterval_; /** + * + * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; + * * @return Whether the minimumScheduleInterval field is set. */ @java.lang.Override @@ -1020,18 +1200,25 @@ public boolean hasMinimumScheduleInterval() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; + * * @return The minimumScheduleInterval. */ @java.lang.Override public com.google.protobuf.Duration getMinimumScheduleInterval() { - return minimumScheduleInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; + return minimumScheduleInterval_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minimumScheduleInterval_; } /** + * + * *
    * The minimum interval for scheduler to schedule runs.
    * 
@@ -1040,10 +1227,13 @@ public com.google.protobuf.Duration getMinimumScheduleInterval() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getMinimumScheduleIntervalOrBuilder() { - return minimumScheduleInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; + return minimumScheduleInterval_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minimumScheduleInterval_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1055,8 +1245,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -1075,7 +1264,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < scopes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, scopes_.getRaw(i)); } - if (transferType_ != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED.getNumber()) { + if (transferType_ + != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(7, transferType_); } if (supportsMultipleTransfers_ != false) { @@ -1096,10 +1287,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, helpUrl_); } - if (authorizationType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED.getNumber()) { + if (authorizationType_ + != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType + .AUTHORIZATION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(14, authorizationType_); } - if (dataRefreshType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.DATA_REFRESH_TYPE_UNSPECIFIED.getNumber()) { + if (dataRefreshType_ + != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType + .DATA_REFRESH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(15, dataRefreshType_); } if (defaultDataRefreshWindowDays_ != 0) { @@ -1143,51 +1340,52 @@ public int getSerializedSize() { size += dataSize; size += 1 * getScopesList().size(); } - if (transferType_ != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, transferType_); + if (transferType_ + != com.google.cloud.bigquery.datatransfer.v1.TransferType.TRANSFER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, transferType_); } if (supportsMultipleTransfers_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(8, supportsMultipleTransfers_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, supportsMultipleTransfers_); } if (updateDeadlineSeconds_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, updateDeadlineSeconds_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, updateDeadlineSeconds_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSchedule_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, defaultSchedule_); } if (supportsCustomSchedule_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(11, supportsCustomSchedule_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, supportsCustomSchedule_); } for (int i = 0; i < parameters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, parameters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, parameters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, helpUrl_); } - if (authorizationType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(14, authorizationType_); + if (authorizationType_ + != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType + .AUTHORIZATION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, authorizationType_); } - if (dataRefreshType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.DATA_REFRESH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(15, dataRefreshType_); + if (dataRefreshType_ + != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType + .DATA_REFRESH_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, dataRefreshType_); } if (defaultDataRefreshWindowDays_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(16, defaultDataRefreshWindowDays_); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size(16, defaultDataRefreshWindowDays_); } if (manualRunsDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(17, manualRunsDisabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(17, manualRunsDisabled_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, getMinimumScheduleInterval()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 18, getMinimumScheduleInterval()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1197,48 +1395,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DataSource)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DataSource other = (com.google.cloud.bigquery.datatransfer.v1.DataSource) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getDataSourceId() - .equals(other.getDataSourceId())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getClientId() - .equals(other.getClientId())) return false; - if (!getScopesList() - .equals(other.getScopesList())) return false; + com.google.cloud.bigquery.datatransfer.v1.DataSource other = + (com.google.cloud.bigquery.datatransfer.v1.DataSource) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDataSourceId().equals(other.getDataSourceId())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getClientId().equals(other.getClientId())) return false; + if (!getScopesList().equals(other.getScopesList())) return false; if (transferType_ != other.transferType_) return false; - if (getSupportsMultipleTransfers() - != other.getSupportsMultipleTransfers()) return false; - if (getUpdateDeadlineSeconds() - != other.getUpdateDeadlineSeconds()) return false; - if (!getDefaultSchedule() - .equals(other.getDefaultSchedule())) return false; - if (getSupportsCustomSchedule() - != other.getSupportsCustomSchedule()) return false; - if (!getParametersList() - .equals(other.getParametersList())) return false; - if (!getHelpUrl() - .equals(other.getHelpUrl())) return false; + if (getSupportsMultipleTransfers() != other.getSupportsMultipleTransfers()) return false; + if (getUpdateDeadlineSeconds() != other.getUpdateDeadlineSeconds()) return false; + if (!getDefaultSchedule().equals(other.getDefaultSchedule())) return false; + if (getSupportsCustomSchedule() != other.getSupportsCustomSchedule()) return false; + if (!getParametersList().equals(other.getParametersList())) return false; + if (!getHelpUrl().equals(other.getHelpUrl())) return false; if (authorizationType_ != other.authorizationType_) return false; if (dataRefreshType_ != other.dataRefreshType_) return false; - if (getDefaultDataRefreshWindowDays() - != other.getDefaultDataRefreshWindowDays()) return false; - if (getManualRunsDisabled() - != other.getManualRunsDisabled()) return false; + if (getDefaultDataRefreshWindowDays() != other.getDefaultDataRefreshWindowDays()) return false; + if (getManualRunsDisabled() != other.getManualRunsDisabled()) return false; if (hasMinimumScheduleInterval() != other.hasMinimumScheduleInterval()) return false; if (hasMinimumScheduleInterval()) { - if (!getMinimumScheduleInterval() - .equals(other.getMinimumScheduleInterval())) return false; + if (!getMinimumScheduleInterval().equals(other.getMinimumScheduleInterval())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1268,15 +1452,13 @@ public int hashCode() { hash = (37 * hash) + TRANSFER_TYPE_FIELD_NUMBER; hash = (53 * hash) + transferType_; hash = (37 * hash) + SUPPORTS_MULTIPLE_TRANSFERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSupportsMultipleTransfers()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSupportsMultipleTransfers()); hash = (37 * hash) + UPDATE_DEADLINE_SECONDS_FIELD_NUMBER; hash = (53 * hash) + getUpdateDeadlineSeconds(); hash = (37 * hash) + DEFAULT_SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getDefaultSchedule().hashCode(); hash = (37 * hash) + SUPPORTS_CUSTOM_SCHEDULE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSupportsCustomSchedule()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSupportsCustomSchedule()); if (getParametersCount() > 0) { hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + getParametersList().hashCode(); @@ -1290,8 +1472,7 @@ public int hashCode() { hash = (37 * hash) + DEFAULT_DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER; hash = (53 * hash) + getDefaultDataRefreshWindowDays(); hash = (37 * hash) + MANUAL_RUNS_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getManualRunsDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getManualRunsDisabled()); if (hasMinimumScheduleInterval()) { hash = (37 * hash) + MINIMUM_SCHEDULE_INTERVAL_FIELD_NUMBER; hash = (53 * hash) + getMinimumScheduleInterval().hashCode(); @@ -1302,119 +1483,126 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSource 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.DataSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSource 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.DataSource 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.DataSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSource 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.DataSource 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.DataSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.DataSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DataSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines the properties and custom parameters for a data source.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DataSource) com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_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_DataSource_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSource.class, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSource.class, + com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.DataSource.newBuilder() @@ -1422,18 +1610,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getParametersFieldBuilder(); getMinimumScheduleIntervalFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1443,8 +1631,7 @@ public Builder clear() { displayName_ = ""; description_ = ""; clientId_ = ""; - scopes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); transferType_ = 0; supportsMultipleTransfers_ = false; updateDeadlineSeconds_ = 0; @@ -1471,9 +1658,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; } @java.lang.Override @@ -1492,14 +1679,18 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSource buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.DataSource result = new com.google.cloud.bigquery.datatransfer.v1.DataSource(this); + com.google.cloud.bigquery.datatransfer.v1.DataSource result = + new com.google.cloud.bigquery.datatransfer.v1.DataSource(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.DataSource result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.DataSource result) { if (parametersBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); @@ -1564,9 +1755,10 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSource } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00020000) != 0)) { - result.minimumScheduleInterval_ = minimumScheduleIntervalBuilder_ == null - ? minimumScheduleInterval_ - : minimumScheduleIntervalBuilder_.build(); + result.minimumScheduleInterval_ = + minimumScheduleIntervalBuilder_ == null + ? minimumScheduleInterval_ + : minimumScheduleIntervalBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1576,38 +1768,39 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSource public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DataSource) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSource)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSource) other); } else { super.mergeFrom(other); return this; @@ -1615,7 +1808,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSource other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1686,9 +1880,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSource ot parametersBuilder_ = null; parameters_ = other.parameters_; bitField0_ = (bitField0_ & ~0x00000800); - parametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getParametersFieldBuilder() : null; + parametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getParametersFieldBuilder() + : null; } else { parametersBuilder_.addAllMessages(other.parameters_); } @@ -1740,113 +1935,131 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - dataSourceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - clientId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureScopesIsMutable(); - scopes_.add(s); - break; - } // case 50 - case 56: { - transferType_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 64: { - supportsMultipleTransfers_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 72: { - updateDeadlineSeconds_ = input.readInt32(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 82: { - defaultSchedule_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 88: { - supportsCustomSchedule_ = input.readBool(); - bitField0_ |= 0x00000400; - break; - } // case 88 - case 98: { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), - extensionRegistry); - if (parametersBuilder_ == null) { - ensureParametersIsMutable(); - parameters_.add(m); - } else { - parametersBuilder_.addMessage(m); - } - break; - } // case 98 - case 106: { - helpUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 112: { - authorizationType_ = input.readEnum(); - bitField0_ |= 0x00002000; - break; - } // case 112 - case 120: { - dataRefreshType_ = input.readEnum(); - bitField0_ |= 0x00004000; - break; - } // case 120 - case 128: { - defaultDataRefreshWindowDays_ = input.readInt32(); - bitField0_ |= 0x00008000; - break; - } // case 128 - case 136: { - manualRunsDisabled_ = input.readBool(); - bitField0_ |= 0x00010000; - break; - } // case 136 - case 146: { - input.readMessage( - getMinimumScheduleIntervalFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00020000; - break; - } // case 146 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + dataSourceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + clientId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureScopesIsMutable(); + scopes_.add(s); + break; + } // case 50 + case 56: + { + transferType_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: + { + supportsMultipleTransfers_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: + { + updateDeadlineSeconds_ = input.readInt32(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 82: + { + defaultSchedule_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 88: + { + supportsCustomSchedule_ = input.readBool(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 98: + { + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), + extensionRegistry); + if (parametersBuilder_ == null) { + ensureParametersIsMutable(); + parameters_.add(m); + } else { + parametersBuilder_.addMessage(m); + } + break; + } // case 98 + case 106: + { + helpUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 112: + { + authorizationType_ = input.readEnum(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 120: + { + dataRefreshType_ = input.readEnum(); + bitField0_ |= 0x00004000; + break; + } // case 120 + case 128: + { + defaultDataRefreshWindowDays_ = input.readInt32(); + bitField0_ |= 0x00008000; + break; + } // case 128 + case 136: + { + manualRunsDisabled_ = input.readBool(); + bitField0_ |= 0x00010000; + break; + } // case 136 + case 146: + { + input.readMessage( + getMinimumScheduleIntervalFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00020000; + break; + } // case 146 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1856,22 +2069,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1880,20 +2096,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1901,28 +2118,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1932,17 +2156,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Data source resource name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1952,18 +2180,20 @@ public Builder setNameBytes( private java.lang.Object dataSourceId_ = ""; /** + * + * *
      * Data source id.
      * 
* * string data_source_id = 2; + * * @return The dataSourceId. */ public java.lang.String getDataSourceId() { java.lang.Object ref = dataSourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; @@ -1972,20 +2202,21 @@ public java.lang.String getDataSourceId() { } } /** + * + * *
      * Data source id.
      * 
* * string data_source_id = 2; + * * @return The bytes for dataSourceId. */ - public com.google.protobuf.ByteString - getDataSourceIdBytes() { + public com.google.protobuf.ByteString getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -1993,28 +2224,35 @@ public java.lang.String getDataSourceId() { } } /** + * + * *
      * Data source id.
      * 
* * string data_source_id = 2; + * * @param value The dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSourceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataSourceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Data source id.
      * 
* * string data_source_id = 2; + * * @return This builder for chaining. */ public Builder clearDataSourceId() { @@ -2024,17 +2262,21 @@ public Builder clearDataSourceId() { return this; } /** + * + * *
      * Data source id.
      * 
* * string data_source_id = 2; + * * @param value The bytes for dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataSourceId_ = value; bitField0_ |= 0x00000002; @@ -2044,18 +2286,20 @@ public Builder setDataSourceIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * User friendly data source name.
      * 
* * string display_name = 3; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2064,20 +2308,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User friendly data source name.
      * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -2085,28 +2330,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User friendly data source name.
      * 
* * string display_name = 3; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * User friendly data source name.
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2116,17 +2368,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * User friendly data source name.
      * 
* * string display_name = 3; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -2136,18 +2392,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * User friendly data source description string.
      * 
* * string description = 4; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2156,20 +2414,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User friendly data source description string.
      * 
* * string description = 4; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2177,28 +2436,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User friendly data source description string.
      * 
* * string description = 4; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * User friendly data source description string.
      * 
* * string description = 4; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2208,17 +2474,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * User friendly data source description string.
      * 
* * string description = 4; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000008; @@ -2228,18 +2498,20 @@ public Builder setDescriptionBytes( private java.lang.Object clientId_ = ""; /** + * + * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; + * * @return The clientId. */ public java.lang.String getClientId() { java.lang.Object ref = clientId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientId_ = s; return s; @@ -2248,20 +2520,21 @@ public java.lang.String getClientId() { } } /** + * + * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; + * * @return The bytes for clientId. */ - public com.google.protobuf.ByteString - getClientIdBytes() { + public com.google.protobuf.ByteString getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clientId_ = b; return b; } else { @@ -2269,28 +2542,35 @@ public java.lang.String getClientId() { } } /** + * + * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; + * * @param value The clientId to set. * @return This builder for chaining. */ - public Builder setClientId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClientId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clientId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; + * * @return This builder for chaining. */ public Builder clearClientId() { @@ -2300,17 +2580,21 @@ public Builder clearClientId() { return this; } /** + * + * *
      * Data source client id which should be used to receive refresh token.
      * 
* * string client_id = 5; + * * @param value The bytes for clientId to set. * @return This builder for chaining. */ - public Builder setClientIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClientIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clientId_ = value; bitField0_ |= 0x00000010; @@ -2320,6 +2604,7 @@ public Builder setClientIdBytes( private com.google.protobuf.LazyStringArrayList scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureScopesIsMutable() { if (!scopes_.isModifiable()) { scopes_ = new com.google.protobuf.LazyStringArrayList(scopes_); @@ -2327,6 +2612,8 @@ private void ensureScopesIsMutable() { bitField0_ |= 0x00000020; } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2334,14 +2621,16 @@ private void ensureScopesIsMutable() {
      * 
* * repeated string scopes = 6; + * * @return A list containing the scopes. */ - public com.google.protobuf.ProtocolStringList - getScopesList() { + public com.google.protobuf.ProtocolStringList getScopesList() { scopes_.makeImmutable(); return scopes_; } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2349,12 +2638,15 @@ private void ensureScopesIsMutable() {
      * 
* * repeated string scopes = 6; + * * @return The count of scopes. */ public int getScopesCount() { return scopes_.size(); } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2362,6 +2654,7 @@ public int getScopesCount() {
      * 
* * repeated string scopes = 6; + * * @param index The index of the element to return. * @return The scopes at the given index. */ @@ -2369,6 +2662,8 @@ public java.lang.String getScopes(int index) { return scopes_.get(index); } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2376,14 +2671,16 @@ public java.lang.String getScopes(int index) {
      * 
* * repeated string scopes = 6; + * * @param index The index of the value to return. * @return The bytes of the scopes at the given index. */ - public com.google.protobuf.ByteString - getScopesBytes(int index) { + public com.google.protobuf.ByteString getScopesBytes(int index) { return scopes_.getByteString(index); } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2391,13 +2688,15 @@ public java.lang.String getScopes(int index) {
      * 
* * repeated string scopes = 6; + * * @param index The index to set the value at. * @param value The scopes to set. * @return This builder for chaining. */ - public Builder setScopes( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setScopes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureScopesIsMutable(); scopes_.set(index, value); bitField0_ |= 0x00000020; @@ -2405,6 +2704,8 @@ public Builder setScopes( return this; } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2412,12 +2713,14 @@ public Builder setScopes(
      * 
* * repeated string scopes = 6; + * * @param value The scopes to add. * @return This builder for chaining. */ - public Builder addScopes( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addScopes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureScopesIsMutable(); scopes_.add(value); bitField0_ |= 0x00000020; @@ -2425,6 +2728,8 @@ public Builder addScopes( return this; } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2432,19 +2737,20 @@ public Builder addScopes(
      * 
* * repeated string scopes = 6; + * * @param values The scopes to add. * @return This builder for chaining. */ - public Builder addAllScopes( - java.lang.Iterable values) { + public Builder addAllScopes(java.lang.Iterable values) { ensureScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, scopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, scopes_); bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2452,16 +2758,19 @@ public Builder addAllScopes(
      * 
* * repeated string scopes = 6; + * * @return This builder for chaining. */ public Builder clearScopes() { - scopes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020);; + scopes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; onChanged(); return this; } /** + * + * *
      * Api auth scopes for which refresh token needs to be obtained. These are
      * scopes needed by a data source to prepare data and ingest them into
@@ -2469,12 +2778,14 @@ public Builder clearScopes() {
      * 
* * repeated string scopes = 6; + * * @param value The bytes of the scopes to add. * @return This builder for chaining. */ - public Builder addScopesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addScopesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureScopesIsMutable(); scopes_.add(value); @@ -2485,62 +2796,90 @@ public Builder addScopesBytes( private int transferType_ = 0; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The enum numeric value on the wire for transferType. */ - @java.lang.Override @java.lang.Deprecated public int getTransferTypeValue() { + @java.lang.Override + @java.lang.Deprecated + public int getTransferTypeValue() { return transferType_; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * 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. */ - @java.lang.Deprecated public Builder setTransferTypeValue(int value) { + @java.lang.Deprecated + public Builder setTransferTypeValue(int value) { transferType_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The transferType. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { - com.google.cloud.bigquery.datatransfer.v1.TransferType result = com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED : result; + @java.lang.Deprecated + public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() { + com.google.cloud.bigquery.datatransfer.v1.TransferType result = + com.google.cloud.bigquery.datatransfer.v1.TransferType.forNumber(transferType_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferType.UNRECOGNIZED + : result; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @param value The transferType to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setTransferType(com.google.cloud.bigquery.datatransfer.v1.TransferType value) { + @java.lang.Deprecated + public Builder setTransferType(com.google.cloud.bigquery.datatransfer.v1.TransferType value) { if (value == null) { throw new NullPointerException(); } @@ -2550,49 +2889,63 @@ public Builder addScopesBytes( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearTransferType() { + @java.lang.Deprecated + public Builder clearTransferType() { bitField0_ = (bitField0_ & ~0x00000040); transferType_ = 0; onChanged(); return this; } - private boolean supportsMultipleTransfers_ ; + private boolean supportsMultipleTransfers_; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * 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=398 + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is + * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return The supportsMultipleTransfers. */ @java.lang.Override - @java.lang.Deprecated public boolean getSupportsMultipleTransfers() { + @java.lang.Deprecated + public boolean getSupportsMultipleTransfers() { return supportsMultipleTransfers_; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * 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=398 + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is + * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @param value The supportsMultipleTransfers to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setSupportsMultipleTransfers(boolean value) { + @java.lang.Deprecated + public Builder setSupportsMultipleTransfers(boolean value) { supportsMultipleTransfers_ = value; bitField0_ |= 0x00000080; @@ -2600,30 +2953,37 @@ public Builder addScopesBytes( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * 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=398 + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is + * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearSupportsMultipleTransfers() { + @java.lang.Deprecated + public Builder clearSupportsMultipleTransfers() { bitField0_ = (bitField0_ & ~0x00000080); supportsMultipleTransfers_ = false; onChanged(); return this; } - private int updateDeadlineSeconds_ ; + private int updateDeadlineSeconds_; /** + * + * *
      * The number of seconds to wait for an update from the data source
      * before the Data Transfer Service marks the transfer as FAILED.
      * 
* * int32 update_deadline_seconds = 9; + * * @return The updateDeadlineSeconds. */ @java.lang.Override @@ -2631,12 +2991,15 @@ public int getUpdateDeadlineSeconds() { return updateDeadlineSeconds_; } /** + * + * *
      * The number of seconds to wait for an update from the data source
      * before the Data Transfer Service marks the transfer as FAILED.
      * 
* * int32 update_deadline_seconds = 9; + * * @param value The updateDeadlineSeconds to set. * @return This builder for chaining. */ @@ -2648,12 +3011,15 @@ public Builder setUpdateDeadlineSeconds(int value) { return this; } /** + * + * *
      * The number of seconds to wait for an update from the data source
      * before the Data Transfer Service marks the transfer as FAILED.
      * 
* * int32 update_deadline_seconds = 9; + * * @return This builder for chaining. */ public Builder clearUpdateDeadlineSeconds() { @@ -2665,6 +3031,8 @@ public Builder clearUpdateDeadlineSeconds() { private java.lang.Object defaultSchedule_ = ""; /** + * + * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -2674,13 +3042,13 @@ public Builder clearUpdateDeadlineSeconds() {
      * 
* * string default_schedule = 10; + * * @return The defaultSchedule. */ public java.lang.String getDefaultSchedule() { java.lang.Object ref = defaultSchedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSchedule_ = s; return s; @@ -2689,6 +3057,8 @@ public java.lang.String getDefaultSchedule() { } } /** + * + * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -2698,15 +3068,14 @@ public java.lang.String getDefaultSchedule() {
      * 
* * string default_schedule = 10; + * * @return The bytes for defaultSchedule. */ - public com.google.protobuf.ByteString - getDefaultScheduleBytes() { + public com.google.protobuf.ByteString getDefaultScheduleBytes() { java.lang.Object ref = defaultSchedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultSchedule_ = b; return b; } else { @@ -2714,6 +3083,8 @@ public java.lang.String getDefaultSchedule() { } } /** + * + * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -2723,18 +3094,22 @@ public java.lang.String getDefaultSchedule() {
      * 
* * string default_schedule = 10; + * * @param value The defaultSchedule to set. * @return This builder for chaining. */ - public Builder setDefaultSchedule( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultSchedule(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } defaultSchedule_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -2744,6 +3119,7 @@ public Builder setDefaultSchedule(
      * 
* * string default_schedule = 10; + * * @return This builder for chaining. */ public Builder clearDefaultSchedule() { @@ -2753,6 +3129,8 @@ public Builder clearDefaultSchedule() { return this; } /** + * + * *
      * Default data transfer schedule.
      * Examples of valid schedules include:
@@ -2762,12 +3140,14 @@ public Builder clearDefaultSchedule() {
      * 
* * string default_schedule = 10; + * * @param value The bytes for defaultSchedule to set. * @return This builder for chaining. */ - public Builder setDefaultScheduleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultScheduleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); defaultSchedule_ = value; bitField0_ |= 0x00000200; @@ -2775,8 +3155,10 @@ public Builder setDefaultScheduleBytes( return this; } - private boolean supportsCustomSchedule_ ; + private boolean supportsCustomSchedule_; /** + * + * *
      * Specifies whether the data source supports a user defined schedule, or
      * operates on the default schedule.
@@ -2784,6 +3166,7 @@ public Builder setDefaultScheduleBytes(
      * 
* * bool supports_custom_schedule = 11; + * * @return The supportsCustomSchedule. */ @java.lang.Override @@ -2791,6 +3174,8 @@ public boolean getSupportsCustomSchedule() { return supportsCustomSchedule_; } /** + * + * *
      * Specifies whether the data source supports a user defined schedule, or
      * operates on the default schedule.
@@ -2798,6 +3183,7 @@ public boolean getSupportsCustomSchedule() {
      * 
* * bool supports_custom_schedule = 11; + * * @param value The supportsCustomSchedule to set. * @return This builder for chaining. */ @@ -2809,6 +3195,8 @@ public Builder setSupportsCustomSchedule(boolean value) { return this; } /** + * + * *
      * Specifies whether the data source supports a user defined schedule, or
      * operates on the default schedule.
@@ -2816,6 +3204,7 @@ public Builder setSupportsCustomSchedule(boolean value) {
      * 
* * bool supports_custom_schedule = 11; + * * @return This builder for chaining. */ public Builder clearSupportsCustomSchedule() { @@ -2825,26 +3214,36 @@ public Builder clearSupportsCustomSchedule() { return this; } - private java.util.List parameters_ = - java.util.Collections.emptyList(); + private java.util.List + parameters_ = java.util.Collections.emptyList(); + private void ensureParametersIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { - parameters_ = new java.util.ArrayList(parameters_); + parameters_ = + new java.util.ArrayList( + parameters_); bitField0_ |= 0x00000800; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> parametersBuilder_; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + parametersBuilder_; /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public java.util.List getParametersList() { + public java.util.List + getParametersList() { if (parametersBuilder_ == null) { return java.util.Collections.unmodifiableList(parameters_); } else { @@ -2852,11 +3251,14 @@ public java.util.List * Data source parameters. *
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public int getParametersCount() { if (parametersBuilder_ == null) { @@ -2866,11 +3268,14 @@ public int getParametersCount() { } } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParameters(int index) { if (parametersBuilder_ == null) { @@ -2880,11 +3285,14 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParamete } } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder setParameters( int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { @@ -2901,14 +3309,18 @@ public Builder setParameters( return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder setParameters( - int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.set(index, builderForValue.build()); @@ -2919,13 +3331,17 @@ public Builder setParameters( return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public Builder addParameters(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { + public Builder addParameters( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { if (parametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2939,11 +3355,14 @@ public Builder addParameters(com.google.cloud.bigquery.datatransfer.v1.DataSourc return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder addParameters( int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter value) { @@ -2960,11 +3379,14 @@ public Builder addParameters( return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder addParameters( com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { @@ -2978,14 +3400,18 @@ public Builder addParameters( return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder addParameters( - int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.add(index, builderForValue.build()); @@ -2996,18 +3422,21 @@ public Builder addParameters( return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder addAllParameters( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, parameters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameters_); onChanged(); } else { parametersBuilder_.addAllMessages(values); @@ -3015,11 +3444,14 @@ public Builder addAllParameters( return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder clearParameters() { if (parametersBuilder_ == null) { @@ -3032,11 +3464,14 @@ public Builder clearParameters() { return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ public Builder removeParameters(int index) { if (parametersBuilder_ == null) { @@ -3049,39 +3484,50 @@ public Builder removeParameters(int index) { return this; } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder getParametersBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder + getParametersBuilder(int index) { return getParametersFieldBuilder().getBuilder(index); } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParametersOrBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder + getParametersOrBuilder(int index) { if (parametersBuilder_ == null) { - return parameters_.get(index); } else { + return parameters_.get(index); + } else { return parametersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public java.util.List - getParametersOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + getParametersOrBuilderList() { if (parametersBuilder_ != null) { return parametersBuilder_.getMessageOrBuilderList(); } else { @@ -3089,49 +3535,65 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder ge } } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addParametersBuilder() { - return getParametersFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder + addParametersBuilder() { + return getParametersFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addParametersBuilder( - int index) { - return getParametersFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder + addParametersBuilder(int index) { + return getParametersFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** + * + * *
      * Data source parameters.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - public java.util.List - getParametersBuilderList() { + public java.util.List + getParametersBuilderList() { return getParametersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> getParametersFieldBuilder() { if (parametersBuilder_ == null) { - parametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( - parameters_, - ((bitField0_ & 0x00000800) != 0), - getParentForChildren(), - isClean()); + parametersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( + parameters_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); parameters_ = null; } return parametersBuilder_; @@ -3139,18 +3601,20 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder add private java.lang.Object helpUrl_ = ""; /** + * + * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; + * * @return The helpUrl. */ public java.lang.String getHelpUrl() { java.lang.Object ref = helpUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpUrl_ = s; return s; @@ -3159,20 +3623,21 @@ public java.lang.String getHelpUrl() { } } /** + * + * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; + * * @return The bytes for helpUrl. */ - public com.google.protobuf.ByteString - getHelpUrlBytes() { + public com.google.protobuf.ByteString getHelpUrlBytes() { java.lang.Object ref = helpUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); helpUrl_ = b; return b; } else { @@ -3180,28 +3645,35 @@ public java.lang.String getHelpUrl() { } } /** + * + * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; + * * @param value The helpUrl to set. * @return This builder for chaining. */ - public Builder setHelpUrl( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHelpUrl(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } helpUrl_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; + * * @return This builder for chaining. */ public Builder clearHelpUrl() { @@ -3211,17 +3683,21 @@ public Builder clearHelpUrl() { return this; } /** + * + * *
      * Url for the help document for this data source.
      * 
* * string help_url = 13; + * * @param value The bytes for helpUrl to set. * @return This builder for chaining. */ - public Builder setHelpUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHelpUrlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); helpUrl_ = value; bitField0_ |= 0x00001000; @@ -3231,22 +3707,33 @@ public Builder setHelpUrlBytes( private int authorizationType_ = 0; /** + * + * *
      * Indicates the type of authorization.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @return The enum numeric value on the wire for authorizationType. */ - @java.lang.Override public int getAuthorizationTypeValue() { + @java.lang.Override + public int getAuthorizationTypeValue() { return authorizationType_; } /** + * + * *
      * Indicates the type of authorization.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @param value The enum numeric value on the wire for authorizationType to set. * @return This builder for chaining. */ @@ -3257,28 +3744,44 @@ public Builder setAuthorizationTypeValue(int value) { return this; } /** + * + * *
      * Indicates the type of authorization.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @return The authorizationType. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType getAuthorizationType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber(authorizationType_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED : result; + public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType + getAuthorizationType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType result = + com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.forNumber( + authorizationType_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType.UNRECOGNIZED + : result; } /** + * + * *
      * Indicates the type of authorization.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @param value The authorizationType to set. * @return This builder for chaining. */ - public Builder setAuthorizationType(com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType value) { + public Builder setAuthorizationType( + com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType value) { if (value == null) { throw new NullPointerException(); } @@ -3288,11 +3791,16 @@ public Builder setAuthorizationType(com.google.cloud.bigquery.datatransfer.v1.Da return this; } /** + * + * *
      * Indicates the type of authorization.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @return This builder for chaining. */ public Builder clearAuthorizationType() { @@ -3304,6 +3812,8 @@ public Builder clearAuthorizationType() { private int dataRefreshType_ = 0; /** + * + * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3311,13 +3821,19 @@ public Builder clearAuthorizationType() {
      * so it's useful to refresh data automatically.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @return The enum numeric value on the wire for dataRefreshType. */ - @java.lang.Override public int getDataRefreshTypeValue() { + @java.lang.Override + public int getDataRefreshTypeValue() { return dataRefreshType_; } /** + * + * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3325,7 +3841,10 @@ public Builder clearAuthorizationType() {
      * so it's useful to refresh data automatically.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @param value The enum numeric value on the wire for dataRefreshType to set. * @return This builder for chaining. */ @@ -3336,6 +3855,8 @@ public Builder setDataRefreshTypeValue(int value) { return this; } /** + * + * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3343,15 +3864,25 @@ public Builder setDataRefreshTypeValue(int value) {
      * so it's useful to refresh data automatically.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @return The dataRefreshType. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType() { - com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber(dataRefreshType_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED : result; + public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType + getDataRefreshType() { + com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType result = + com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.forNumber( + dataRefreshType_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType.UNRECOGNIZED + : result; } /** + * + * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3359,11 +3890,15 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getD
      * so it's useful to refresh data automatically.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @param value The dataRefreshType to set. * @return This builder for chaining. */ - public Builder setDataRefreshType(com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType value) { + public Builder setDataRefreshType( + com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType value) { if (value == null) { throw new NullPointerException(); } @@ -3373,6 +3908,8 @@ public Builder setDataRefreshType(com.google.cloud.bigquery.datatransfer.v1.Data return this; } /** + * + * *
      * Specifies whether the data source supports automatic data refresh for the
      * past few days, and how it's supported.
@@ -3380,7 +3917,10 @@ public Builder setDataRefreshType(com.google.cloud.bigquery.datatransfer.v1.Data
      * so it's useful to refresh data automatically.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @return This builder for chaining. */ public Builder clearDataRefreshType() { @@ -3390,14 +3930,17 @@ public Builder clearDataRefreshType() { return this; } - private int defaultDataRefreshWindowDays_ ; + private int defaultDataRefreshWindowDays_; /** + * + * *
      * Default data refresh window on days.
      * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
      * 
* * int32 default_data_refresh_window_days = 16; + * * @return The defaultDataRefreshWindowDays. */ @java.lang.Override @@ -3405,12 +3948,15 @@ public int getDefaultDataRefreshWindowDays() { return defaultDataRefreshWindowDays_; } /** + * + * *
      * Default data refresh window on days.
      * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
      * 
* * int32 default_data_refresh_window_days = 16; + * * @param value The defaultDataRefreshWindowDays to set. * @return This builder for chaining. */ @@ -3422,12 +3968,15 @@ public Builder setDefaultDataRefreshWindowDays(int value) { return this; } /** + * + * *
      * Default data refresh window on days.
      * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
      * 
* * int32 default_data_refresh_window_days = 16; + * * @return This builder for chaining. */ public Builder clearDefaultDataRefreshWindowDays() { @@ -3437,14 +3986,17 @@ public Builder clearDefaultDataRefreshWindowDays() { return this; } - private boolean manualRunsDisabled_ ; + private boolean manualRunsDisabled_; /** + * + * *
      * Disables backfilling and manual run scheduling
      * for the data source.
      * 
* * bool manual_runs_disabled = 17; + * * @return The manualRunsDisabled. */ @java.lang.Override @@ -3452,12 +4004,15 @@ public boolean getManualRunsDisabled() { return manualRunsDisabled_; } /** + * + * *
      * Disables backfilling and manual run scheduling
      * for the data source.
      * 
* * bool manual_runs_disabled = 17; + * * @param value The manualRunsDisabled to set. * @return This builder for chaining. */ @@ -3469,12 +4024,15 @@ public Builder setManualRunsDisabled(boolean value) { return this; } /** + * + * *
      * Disables backfilling and manual run scheduling
      * for the data source.
      * 
* * bool manual_runs_disabled = 17; + * * @return This builder for chaining. */ public Builder clearManualRunsDisabled() { @@ -3486,34 +4044,47 @@ public Builder clearManualRunsDisabled() { private com.google.protobuf.Duration minimumScheduleInterval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minimumScheduleIntervalBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + minimumScheduleIntervalBuilder_; /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; + * * @return Whether the minimumScheduleInterval field is set. */ public boolean hasMinimumScheduleInterval() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; + * * @return The minimumScheduleInterval. */ public com.google.protobuf.Duration getMinimumScheduleInterval() { if (minimumScheduleIntervalBuilder_ == null) { - return minimumScheduleInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; + return minimumScheduleInterval_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minimumScheduleInterval_; } else { return minimumScheduleIntervalBuilder_.getMessage(); } } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -3534,6 +4105,8 @@ public Builder setMinimumScheduleInterval(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -3552,6 +4125,8 @@ public Builder setMinimumScheduleInterval( return this; } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -3560,9 +4135,9 @@ public Builder setMinimumScheduleInterval( */ public Builder mergeMinimumScheduleInterval(com.google.protobuf.Duration value) { if (minimumScheduleIntervalBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) && - minimumScheduleInterval_ != null && - minimumScheduleInterval_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) + && minimumScheduleInterval_ != null + && minimumScheduleInterval_ != com.google.protobuf.Duration.getDefaultInstance()) { getMinimumScheduleIntervalBuilder().mergeFrom(value); } else { minimumScheduleInterval_ = value; @@ -3577,6 +4152,8 @@ public Builder mergeMinimumScheduleInterval(com.google.protobuf.Duration value) return this; } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -3594,6 +4171,8 @@ public Builder clearMinimumScheduleInterval() { return this; } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -3606,6 +4185,8 @@ public com.google.protobuf.Duration.Builder getMinimumScheduleIntervalBuilder() return getMinimumScheduleIntervalFieldBuilder().getBuilder(); } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -3616,11 +4197,14 @@ public com.google.protobuf.DurationOrBuilder getMinimumScheduleIntervalOrBuilder if (minimumScheduleIntervalBuilder_ != null) { return minimumScheduleIntervalBuilder_.getMessageOrBuilder(); } else { - return minimumScheduleInterval_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : minimumScheduleInterval_; + return minimumScheduleInterval_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minimumScheduleInterval_; } } /** + * + * *
      * The minimum interval for scheduler to schedule runs.
      * 
@@ -3628,21 +4212,24 @@ public com.google.protobuf.DurationOrBuilder getMinimumScheduleIntervalOrBuilder * .google.protobuf.Duration minimum_schedule_interval = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getMinimumScheduleIntervalFieldBuilder() { if (minimumScheduleIntervalBuilder_ == null) { - minimumScheduleIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getMinimumScheduleInterval(), - getParentForChildren(), - isClean()); + minimumScheduleIntervalBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getMinimumScheduleInterval(), getParentForChildren(), isClean()); minimumScheduleInterval_ = null; } return minimumScheduleIntervalBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3652,12 +4239,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DataSource) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DataSource) private static final com.google.cloud.bigquery.datatransfer.v1.DataSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DataSource(); } @@ -3666,27 +4253,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.DataSource getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3701,6 +4288,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.DataSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 76% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java index 9f30d204202a..88a54468e75e 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/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 @@ -1,114 +1,157 @@ +/* + * 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; -public interface DataSourceOrBuilder extends +public interface DataSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DataSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Data source resource name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Data source id.
    * 
* * string data_source_id = 2; + * * @return The dataSourceId. */ java.lang.String getDataSourceId(); /** + * + * *
    * Data source id.
    * 
* * string data_source_id = 2; + * * @return The bytes for dataSourceId. */ - com.google.protobuf.ByteString - getDataSourceIdBytes(); + com.google.protobuf.ByteString getDataSourceIdBytes(); /** + * + * *
    * User friendly data source name.
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * User friendly data source name.
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * User friendly data source description string.
    * 
* * string description = 4; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * User friendly data source description string.
    * 
* * string description = 4; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; + * * @return The clientId. */ java.lang.String getClientId(); /** + * + * *
    * Data source client id which should be used to receive refresh token.
    * 
* * string client_id = 5; + * * @return The bytes for clientId. */ - com.google.protobuf.ByteString - getClientIdBytes(); + com.google.protobuf.ByteString getClientIdBytes(); /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -116,11 +159,13 @@ public interface DataSourceOrBuilder extends
    * 
* * repeated string scopes = 6; + * * @return A list containing the scopes. */ - java.util.List - getScopesList(); + java.util.List getScopesList(); /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -128,10 +173,13 @@ public interface DataSourceOrBuilder extends
    * 
* * repeated string scopes = 6; + * * @return The count of scopes. */ int getScopesCount(); /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -139,11 +187,14 @@ public interface DataSourceOrBuilder extends
    * 
* * repeated string scopes = 6; + * * @param index The index of the element to return. * @return The scopes at the given index. */ java.lang.String getScopes(int index); /** + * + * *
    * Api auth scopes for which refresh token needs to be obtained. These are
    * scopes needed by a data source to prepare data and ingest them into
@@ -151,59 +202,80 @@ public interface DataSourceOrBuilder extends
    * 
* * repeated string scopes = 6; + * * @param index The index of the value to return. * @return The bytes of the scopes at the given index. */ - com.google.protobuf.ByteString - getScopesBytes(int index); + com.google.protobuf.ByteString getScopesBytes(int index); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The enum numeric value on the wire for transferType. */ - @java.lang.Deprecated int getTransferTypeValue(); + @java.lang.Deprecated + int getTransferTypeValue(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; - * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. - * See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 + * + * .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true]; + * + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See + * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395 * @return The transferType. */ - @java.lang.Deprecated com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType(); + @java.lang.Deprecated + com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * 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=398 + * + * @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is + * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398 * @return The supportsMultipleTransfers. */ - @java.lang.Deprecated boolean getSupportsMultipleTransfers(); + @java.lang.Deprecated + boolean getSupportsMultipleTransfers(); /** + * + * *
    * The number of seconds to wait for an update from the data source
    * before the Data Transfer Service marks the transfer as FAILED.
    * 
* * int32 update_deadline_seconds = 9; + * * @return The updateDeadlineSeconds. */ int getUpdateDeadlineSeconds(); /** + * + * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -213,10 +285,13 @@ public interface DataSourceOrBuilder extends
    * 
* * string default_schedule = 10; + * * @return The defaultSchedule. */ java.lang.String getDefaultSchedule(); /** + * + * *
    * Default data transfer schedule.
    * Examples of valid schedules include:
@@ -226,12 +301,14 @@ public interface DataSourceOrBuilder extends
    * 
* * string default_schedule = 10; + * * @return The bytes for defaultSchedule. */ - com.google.protobuf.ByteString - getDefaultScheduleBytes(); + com.google.protobuf.ByteString getDefaultScheduleBytes(); /** + * + * *
    * Specifies whether the data source supports a user defined schedule, or
    * operates on the default schedule.
@@ -239,94 +316,126 @@ public interface DataSourceOrBuilder extends
    * 
* * bool supports_custom_schedule = 11; + * * @return The supportsCustomSchedule. */ boolean getSupportsCustomSchedule(); /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - java.util.List - getParametersList(); + java.util.List getParametersList(); /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParameters(int index); /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ int getParametersCount(); /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ - java.util.List + java.util.List getParametersOrBuilderList(); /** + * + * *
    * Data source parameters.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12; + * */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParametersOrBuilder( int index); /** + * + * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; + * * @return The helpUrl. */ java.lang.String getHelpUrl(); /** + * + * *
    * Url for the help document for this data source.
    * 
* * string help_url = 13; + * * @return The bytes for helpUrl. */ - com.google.protobuf.ByteString - getHelpUrlBytes(); + com.google.protobuf.ByteString getHelpUrlBytes(); /** + * + * *
    * Indicates the type of authorization.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @return The enum numeric value on the wire for authorizationType. */ int getAuthorizationTypeValue(); /** + * + * *
    * Indicates the type of authorization.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14; + * + * * @return The authorizationType. */ com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType getAuthorizationType(); /** + * + * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -334,11 +443,15 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @return The enum numeric value on the wire for dataRefreshType. */ int getDataRefreshTypeValue(); /** + * + * *
    * Specifies whether the data source supports automatic data refresh for the
    * past few days, and how it's supported.
@@ -346,52 +459,68 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
    * so it's useful to refresh data automatically.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15; + * + * * @return The dataRefreshType. */ com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType(); /** + * + * *
    * Default data refresh window on days.
    * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
    * 
* * int32 default_data_refresh_window_days = 16; + * * @return The defaultDataRefreshWindowDays. */ int getDefaultDataRefreshWindowDays(); /** + * + * *
    * Disables backfilling and manual run scheduling
    * for the data source.
    * 
* * bool manual_runs_disabled = 17; + * * @return The manualRunsDisabled. */ boolean getManualRunsDisabled(); /** + * + * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; + * * @return Whether the minimumScheduleInterval field is set. */ boolean hasMinimumScheduleInterval(); /** + * + * *
    * The minimum interval for scheduler to schedule runs.
    * 
* * .google.protobuf.Duration minimum_schedule_interval = 18; + * * @return The minimumScheduleInterval. */ com.google.protobuf.Duration getMinimumScheduleInterval(); /** + * + * *
    * The minimum interval for scheduler to schedule runs.
    * 
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java similarity index 74% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java index 5fd2880bc313..d839d6167d5f 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,29 +20,31 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A parameter used to define custom fields in a data source definition.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSourceParameter} */ -public final class DataSourceParameter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataSourceParameter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) DataSourceParameterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataSourceParameter.newBuilder() to construct. private DataSourceParameter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataSourceParameter() { paramId_ = ""; displayName_ = ""; description_ = ""; type_ = 0; validationRegex_ = ""; - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); fields_ = java.util.Collections.emptyList(); validationDescription_ = ""; validationHelpUrl_ = ""; @@ -35,34 +52,38 @@ private DataSourceParameter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataSourceParameter(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_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_DataSourceParameter_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); } /** + * + * *
    * Parameter type.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Type unspecified.
      * 
@@ -71,6 +92,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * String parameter.
      * 
@@ -79,6 +102,8 @@ public enum Type */ STRING(1), /** + * + * *
      * Integer parameter (64-bits).
      * Will be serialized to json as string.
@@ -88,6 +113,8 @@ public enum Type
      */
     INTEGER(2),
     /**
+     *
+     *
      * 
      * Double precision floating point parameter.
      * 
@@ -96,6 +123,8 @@ public enum Type */ DOUBLE(3), /** + * + * *
      * Boolean parameter.
      * 
@@ -104,6 +133,8 @@ public enum Type */ BOOLEAN(4), /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -112,6 +143,8 @@ public enum Type */ RECORD(5), /** + * + * *
      * Page ID for a Google+ Page.
      * 
@@ -120,6 +153,8 @@ public enum Type */ PLUS_PAGE(6), /** + * + * *
      * List of strings parameter.
      * 
@@ -131,6 +166,8 @@ public enum Type ; /** + * + * *
      * Type unspecified.
      * 
@@ -139,6 +176,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * String parameter.
      * 
@@ -147,6 +186,8 @@ public enum Type */ public static final int STRING_VALUE = 1; /** + * + * *
      * Integer parameter (64-bits).
      * Will be serialized to json as string.
@@ -156,6 +197,8 @@ public enum Type
      */
     public static final int INTEGER_VALUE = 2;
     /**
+     *
+     *
      * 
      * Double precision floating point parameter.
      * 
@@ -164,6 +207,8 @@ public enum Type */ public static final int DOUBLE_VALUE = 3; /** + * + * *
      * Boolean parameter.
      * 
@@ -172,6 +217,8 @@ public enum Type */ public static final int BOOLEAN_VALUE = 4; /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -180,6 +227,8 @@ public enum Type */ public static final int RECORD_VALUE = 5; /** + * + * *
      * Page ID for a Google+ Page.
      * 
@@ -188,6 +237,8 @@ public enum Type */ public static final int PLUS_PAGE_VALUE = 6; /** + * + * *
      * List of strings parameter.
      * 
@@ -196,7 +247,6 @@ public enum Type */ public static final int LIST_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -221,54 +271,61 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return STRING; - case 2: return INTEGER; - case 3: return DOUBLE; - case 4: return BOOLEAN; - case 5: return RECORD; - case 6: return PLUS_PAGE; - case 7: return LIST; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return TYPE_UNSPECIFIED; + case 1: + return STRING; + case 2: + return INTEGER; + case 3: + return DOUBLE; + case 4: + return BOOLEAN; + case 5: + return RECORD; + case 6: + return PLUS_PAGE; + case 7: + return LIST; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDescriptor() + .getEnumTypes() + .get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -287,14 +344,18 @@ private Type(int value) { private int bitField0_; public static final int PARAM_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object paramId_ = ""; /** + * + * *
    * Parameter identifier.
    * 
* * string param_id = 1; + * * @return The paramId. */ @java.lang.Override @@ -303,29 +364,29 @@ public java.lang.String getParamId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); paramId_ = s; return s; } } /** + * + * *
    * Parameter identifier.
    * 
* * string param_id = 1; + * * @return The bytes for paramId. */ @java.lang.Override - public com.google.protobuf.ByteString - getParamIdBytes() { + public com.google.protobuf.ByteString getParamIdBytes() { java.lang.Object ref = paramId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); paramId_ = b; return b; } else { @@ -334,14 +395,18 @@ public java.lang.String getParamId() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -350,29 +415,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -381,14 +446,18 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Parameter description.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -397,29 +466,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Parameter description.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -430,37 +499,51 @@ public java.lang.String getDescription() { public static final int TYPE_FIELD_NUMBER = 4; private int type_ = 0; /** + * + * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @return The type. */ - @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType() { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType() { + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED + : result; } public static final int REQUIRED_FIELD_NUMBER = 5; private boolean required_ = false; /** + * + * *
    * Is parameter required.
    * 
* * bool required = 5; + * * @return The required. */ @java.lang.Override @@ -471,11 +554,14 @@ public boolean getRequired() { public static final int REPEATED_FIELD_NUMBER = 6; private boolean repeated_ = false; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * bool repeated = 6; + * * @return The repeated. */ @java.lang.Override @@ -484,14 +570,18 @@ public boolean getRepeated() { } public static final int VALIDATION_REGEX_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object validationRegex_ = ""; /** + * + * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; + * * @return The validationRegex. */ @java.lang.Override @@ -500,29 +590,29 @@ public java.lang.String getValidationRegex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationRegex_ = s; return s; } } /** + * + * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; + * * @return The bytes for validationRegex. */ @java.lang.Override - public com.google.protobuf.ByteString - getValidationRegexBytes() { + public com.google.protobuf.ByteString getValidationRegexBytes() { java.lang.Object ref = validationRegex_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); validationRegex_ = b; return b; } else { @@ -531,38 +621,47 @@ public java.lang.String getValidationRegex() { } public static final int ALLOWED_VALUES_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList - getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList getAllowedValuesList() { return allowedValues_; } /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -570,27 +669,32 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString - getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } public static final int MIN_VALUE_FIELD_NUMBER = 9; private com.google.protobuf.DoubleValue minValue_; /** + * + * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; + * * @return Whether the minValue field is set. */ @java.lang.Override @@ -598,11 +702,14 @@ public boolean hasMinValue() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; + * * @return The minValue. */ @java.lang.Override @@ -610,6 +717,8 @@ public com.google.protobuf.DoubleValue getMinValue() { return minValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : minValue_; } /** + * + * *
    * For integer and double values specifies minimum allowed value.
    * 
@@ -624,11 +733,14 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { public static final int MAX_VALUE_FIELD_NUMBER = 10; private com.google.protobuf.DoubleValue maxValue_; /** + * + * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; + * * @return Whether the maxValue field is set. */ @java.lang.Override @@ -636,11 +748,14 @@ public boolean hasMaxValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; + * * @return The maxValue. */ @java.lang.Override @@ -648,6 +763,8 @@ public com.google.protobuf.DoubleValue getMaxValue() { return maxValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxValue_; } /** + * + * *
    * For integer and double values specifies maximum allowed value.
    * 
@@ -660,9 +777,12 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { } public static final int FIELDS_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private java.util.List fields_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -670,10 +790,13 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ @java.lang.Override - public java.util.List getFieldsList() { + public java.util.List + getFieldsList() { return fields_; } /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -681,11 +804,14 @@ public java.util.Listrepeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> getFieldsOrBuilderList() { return fields_; } /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -697,6 +823,8 @@ public int getFieldsCount() { return fields_.size(); } /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -708,6 +836,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getFields(i return fields_.get(index); } /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -721,15 +851,19 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder ge } public static final int VALIDATION_DESCRIPTION_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object validationDescription_ = ""; /** + * + * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; + * * @return The validationDescription. */ @java.lang.Override @@ -738,30 +872,30 @@ public java.lang.String getValidationDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationDescription_ = s; return s; } } /** + * + * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; + * * @return The bytes for validationDescription. */ @java.lang.Override - public com.google.protobuf.ByteString - getValidationDescriptionBytes() { + public com.google.protobuf.ByteString getValidationDescriptionBytes() { java.lang.Object ref = validationDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); validationDescription_ = b; return b; } else { @@ -770,14 +904,18 @@ public java.lang.String getValidationDescription() { } public static final int VALIDATION_HELP_URL_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private volatile java.lang.Object validationHelpUrl_ = ""; /** + * + * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; + * * @return The validationHelpUrl. */ @java.lang.Override @@ -786,29 +924,29 @@ public java.lang.String getValidationHelpUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationHelpUrl_ = s; return s; } } /** + * + * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; + * * @return The bytes for validationHelpUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getValidationHelpUrlBytes() { + public com.google.protobuf.ByteString getValidationHelpUrlBytes() { java.lang.Object ref = validationHelpUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); validationHelpUrl_ = b; return b; } else { @@ -819,11 +957,14 @@ public java.lang.String getValidationHelpUrl() { public static final int IMMUTABLE_FIELD_NUMBER = 14; private boolean immutable_ = false; /** + * + * *
    * Cannot be changed after initial creation.
    * 
* * bool immutable = 14; + * * @return The immutable. */ @java.lang.Override @@ -834,11 +975,14 @@ public boolean getImmutable() { public static final int RECURSE_FIELD_NUMBER = 15; private boolean recurse_ = false; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * bool recurse = 15; + * * @return The recurse. */ @java.lang.Override @@ -849,12 +993,15 @@ public boolean getRecurse() { public static final int DEPRECATED_FIELD_NUMBER = 20; private boolean deprecated_ = false; /** + * + * *
    * If true, it should not be used in new transfers, and it should not be
    * visible to users.
    * 
* * bool deprecated = 20; + * * @return The deprecated. */ @java.lang.Override @@ -863,6 +1010,7 @@ public boolean getDeprecated() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -874,8 +1022,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(paramId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, paramId_); } @@ -885,7 +1032,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - if (type_ != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, type_); } if (required_ != false) { @@ -942,17 +1091,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - if (type_ != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, type_); + if (type_ + != com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); } if (required_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, required_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, required_); } if (repeated_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, repeated_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, repeated_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validationRegex_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, validationRegex_); @@ -966,16 +1114,13 @@ public int getSerializedSize() { size += 1 * getAllowedValuesList().size(); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getMinValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getMinValue()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getMaxValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getMaxValue()); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, fields_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validationDescription_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, validationDescription_); @@ -984,16 +1129,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, validationHelpUrl_); } if (immutable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(14, immutable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, immutable_); } if (recurse_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(15, recurse_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, recurse_); } if (deprecated_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(20, deprecated_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(20, deprecated_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1003,50 +1145,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter other = (com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) obj; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter other = + (com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) obj; - if (!getParamId() - .equals(other.getParamId())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getParamId().equals(other.getParamId())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (type_ != other.type_) return false; - if (getRequired() - != other.getRequired()) return false; - if (getRepeated() - != other.getRepeated()) return false; - if (!getValidationRegex() - .equals(other.getValidationRegex())) return false; - if (!getAllowedValuesList() - .equals(other.getAllowedValuesList())) return false; + if (getRequired() != other.getRequired()) return false; + if (getRepeated() != other.getRepeated()) return false; + if (!getValidationRegex().equals(other.getValidationRegex())) return false; + if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; if (hasMinValue() != other.hasMinValue()) return false; if (hasMinValue()) { - if (!getMinValue() - .equals(other.getMinValue())) return false; + if (!getMinValue().equals(other.getMinValue())) return false; } if (hasMaxValue() != other.hasMaxValue()) return false; if (hasMaxValue()) { - if (!getMaxValue() - .equals(other.getMaxValue())) return false; - } - if (!getFieldsList() - .equals(other.getFieldsList())) return false; - if (!getValidationDescription() - .equals(other.getValidationDescription())) return false; - if (!getValidationHelpUrl() - .equals(other.getValidationHelpUrl())) return false; - if (getImmutable() - != other.getImmutable()) return false; - if (getRecurse() - != other.getRecurse()) return false; - if (getDeprecated() - != other.getDeprecated()) return false; + if (!getMaxValue().equals(other.getMaxValue())) return false; + } + if (!getFieldsList().equals(other.getFieldsList())) return false; + if (!getValidationDescription().equals(other.getValidationDescription())) return false; + if (!getValidationHelpUrl().equals(other.getValidationHelpUrl())) return false; + if (getImmutable() != other.getImmutable()) return false; + if (getRecurse() != other.getRecurse()) return false; + if (getDeprecated() != other.getDeprecated()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1067,11 +1195,9 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequired()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequired()); hash = (37 * hash) + REPEATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRepeated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRepeated()); hash = (37 * hash) + VALIDATION_REGEX_FIELD_NUMBER; hash = (53 * hash) + getValidationRegex().hashCode(); if (getAllowedValuesCount() > 0) { @@ -1095,133 +1221,138 @@ public int hashCode() { hash = (37 * hash) + VALIDATION_HELP_URL_FIELD_NUMBER; hash = (53 * hash) + getValidationHelpUrl().hashCode(); hash = (37 * hash) + IMMUTABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getImmutable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getImmutable()); hash = (37 * hash) + RECURSE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRecurse()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecurse()); hash = (37 * hash) + DEPRECATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDeprecated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeprecated()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSourceParameter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter 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.DataSourceParameter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DataSourceParameter 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.DataSourceParameter 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.DataSourceParameter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter 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.DataSourceParameter 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.DataSourceParameter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.DataSourceParameter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A parameter used to define custom fields in a data source definition.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DataSourceParameter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_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_DataSourceParameter_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.class, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.newBuilder() @@ -1229,19 +1360,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMinValueFieldBuilder(); getMaxValueFieldBuilder(); getFieldsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1253,8 +1384,7 @@ public Builder clear() { required_ = false; repeated_ = false; validationRegex_ = ""; - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); minValue_ = null; if (minValueBuilder_ != null) { minValueBuilder_.dispose(); @@ -1281,13 +1411,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance(); } @@ -1302,14 +1433,18 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result = new com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter(this); + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result = + new com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -1321,7 +1456,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v } } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.paramId_ = paramId_; @@ -1350,15 +1486,11 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSourceP } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000100) != 0)) { - result.minValue_ = minValueBuilder_ == null - ? minValue_ - : minValueBuilder_.build(); + result.minValue_ = minValueBuilder_ == null ? minValue_ : minValueBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.maxValue_ = maxValueBuilder_ == null - ? maxValue_ - : maxValueBuilder_.build(); + result.maxValue_ = maxValueBuilder_ == null ? maxValue_ : maxValueBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000800) != 0)) { @@ -1383,38 +1515,39 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DataSourceP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter) other); } else { super.mergeFrom(other); return this; @@ -1422,7 +1555,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()) return this; + if (other + == com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()) + return this; if (!other.getParamId().isEmpty()) { paramId_ = other.paramId_; bitField0_ |= 0x00000001; @@ -1486,9 +1621,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSourcePar fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000400); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFieldsFieldBuilder() : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldsFieldBuilder() + : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -1539,105 +1675,118 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - paramId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - type_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - required_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - repeated_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: { - validationRegex_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAllowedValuesIsMutable(); - allowedValues_.add(s); - break; - } // case 66 - case 74: { - input.readMessage( - getMinValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: { - input.readMessage( - getMaxValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 90: { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 90 - case 98: { - validationDescription_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: { - validationHelpUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 112: { - immutable_ = input.readBool(); - bitField0_ |= 0x00002000; - break; - } // case 112 - case 120: { - recurse_ = input.readBool(); - bitField0_ |= 0x00004000; - break; - } // case 120 - case 160: { - deprecated_ = input.readBool(); - bitField0_ |= 0x00008000; - break; - } // case 160 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + paramId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + required_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + repeated_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + validationRegex_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAllowedValuesIsMutable(); + allowedValues_.add(s); + break; + } // case 66 + case 74: + { + input.readMessage(getMinValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: + { + input.readMessage(getMaxValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 90: + { + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 90 + case 98: + { + validationDescription_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: + { + validationHelpUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 112: + { + immutable_ = input.readBool(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 120: + { + recurse_ = input.readBool(); + bitField0_ |= 0x00004000; + break; + } // case 120 + case 160: + { + deprecated_ = input.readBool(); + bitField0_ |= 0x00008000; + break; + } // case 160 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1647,22 +1796,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object paramId_ = ""; /** + * + * *
      * Parameter identifier.
      * 
* * string param_id = 1; + * * @return The paramId. */ public java.lang.String getParamId() { java.lang.Object ref = paramId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); paramId_ = s; return s; @@ -1671,20 +1823,21 @@ public java.lang.String getParamId() { } } /** + * + * *
      * Parameter identifier.
      * 
* * string param_id = 1; + * * @return The bytes for paramId. */ - public com.google.protobuf.ByteString - getParamIdBytes() { + public com.google.protobuf.ByteString getParamIdBytes() { java.lang.Object ref = paramId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); paramId_ = b; return b; } else { @@ -1692,28 +1845,35 @@ public java.lang.String getParamId() { } } /** + * + * *
      * Parameter identifier.
      * 
* * string param_id = 1; + * * @param value The paramId to set. * @return This builder for chaining. */ - public Builder setParamId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParamId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } paramId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Parameter identifier.
      * 
* * string param_id = 1; + * * @return This builder for chaining. */ public Builder clearParamId() { @@ -1723,17 +1883,21 @@ public Builder clearParamId() { return this; } /** + * + * *
      * Parameter identifier.
      * 
* * string param_id = 1; + * * @param value The bytes for paramId to set. * @return This builder for chaining. */ - public Builder setParamIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParamIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); paramId_ = value; bitField0_ |= 0x00000001; @@ -1743,18 +1907,20 @@ public Builder setParamIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1763,20 +1929,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1784,28 +1951,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1815,17 +1989,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Parameter display name in the user interface.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -1835,18 +2013,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Parameter description.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1855,20 +2035,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Parameter description.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1876,28 +2057,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Parameter description.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Parameter description.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1907,17 +2095,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Parameter description.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1927,22 +2119,29 @@ public Builder setDescriptionBytes( private int type_ = 0; /** + * + * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1953,28 +2152,38 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @return The type. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType() { - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED : result; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type result = + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.forNumber(type_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type value) { + public Builder setType( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type value) { if (value == null) { throw new NullPointerException(); } @@ -1984,11 +2193,14 @@ public Builder setType(com.google.cloud.bigquery.datatransfer.v1.DataSourceParam return this; } /** + * + * *
      * Parameter type.
      * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @return This builder for chaining. */ public Builder clearType() { @@ -1998,13 +2210,16 @@ public Builder clearType() { return this; } - private boolean required_ ; + private boolean required_; /** + * + * *
      * Is parameter required.
      * 
* * bool required = 5; + * * @return The required. */ @java.lang.Override @@ -2012,11 +2227,14 @@ public boolean getRequired() { return required_; } /** + * + * *
      * Is parameter required.
      * 
* * bool required = 5; + * * @param value The required to set. * @return This builder for chaining. */ @@ -2028,11 +2246,14 @@ public Builder setRequired(boolean value) { return this; } /** + * + * *
      * Is parameter required.
      * 
* * bool required = 5; + * * @return This builder for chaining. */ public Builder clearRequired() { @@ -2042,13 +2263,16 @@ public Builder clearRequired() { return this; } - private boolean repeated_ ; + private boolean repeated_; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * bool repeated = 6; + * * @return The repeated. */ @java.lang.Override @@ -2056,11 +2280,14 @@ public boolean getRepeated() { return repeated_; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * bool repeated = 6; + * * @param value The repeated to set. * @return This builder for chaining. */ @@ -2072,11 +2299,14 @@ public Builder setRepeated(boolean value) { return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * bool repeated = 6; + * * @return This builder for chaining. */ public Builder clearRepeated() { @@ -2088,18 +2318,20 @@ public Builder clearRepeated() { private java.lang.Object validationRegex_ = ""; /** + * + * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; + * * @return The validationRegex. */ public java.lang.String getValidationRegex() { java.lang.Object ref = validationRegex_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationRegex_ = s; return s; @@ -2108,20 +2340,21 @@ public java.lang.String getValidationRegex() { } } /** + * + * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; + * * @return The bytes for validationRegex. */ - public com.google.protobuf.ByteString - getValidationRegexBytes() { + public com.google.protobuf.ByteString getValidationRegexBytes() { java.lang.Object ref = validationRegex_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); validationRegex_ = b; return b; } else { @@ -2129,28 +2362,35 @@ public java.lang.String getValidationRegex() { } } /** + * + * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; + * * @param value The validationRegex to set. * @return This builder for chaining. */ - public Builder setValidationRegex( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValidationRegex(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } validationRegex_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; + * * @return This builder for chaining. */ public Builder clearValidationRegex() { @@ -2160,17 +2400,21 @@ public Builder clearValidationRegex() { return this; } /** + * + * *
      * Regular expression which can be used for parameter validation.
      * 
* * string validation_regex = 7; + * * @param value The bytes for validationRegex to set. * @return This builder for chaining. */ - public Builder setValidationRegexBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValidationRegexBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); validationRegex_ = value; bitField0_ |= 0x00000040; @@ -2180,6 +2424,7 @@ public Builder setValidationRegexBytes( private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAllowedValuesIsMutable() { if (!allowedValues_.isModifiable()) { allowedValues_ = new com.google.protobuf.LazyStringArrayList(allowedValues_); @@ -2187,35 +2432,43 @@ private void ensureAllowedValuesIsMutable() { bitField0_ |= 0x00000080; } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList - getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList getAllowedValuesList() { allowedValues_.makeImmutable(); return allowedValues_; } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -2223,31 +2476,37 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString - getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @param index The index to set the value at. * @param value The allowedValues to set. * @return This builder for chaining. */ - public Builder setAllowedValues( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAllowedValues(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedValuesIsMutable(); allowedValues_.set(index, value); bitField0_ |= 0x00000080; @@ -2255,17 +2514,21 @@ public Builder setAllowedValues( return this; } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @param value The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValues( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedValues(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedValuesIsMutable(); allowedValues_.add(value); bitField0_ |= 0x00000080; @@ -2273,50 +2536,58 @@ public Builder addAllowedValues( return this; } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @param values The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllAllowedValues( - java.lang.Iterable values) { + public Builder addAllAllowedValues(java.lang.Iterable values) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @return This builder for chaining. */ public Builder clearAllowedValues() { - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080);; + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + ; onChanged(); return this; } /** + * + * *
      * All possible values for the parameter.
      * 
* * repeated string allowed_values = 8; + * * @param value The bytes of the allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValuesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAllowedValuesIsMutable(); allowedValues_.add(value); @@ -2327,24 +2598,33 @@ public Builder addAllowedValuesBytes( private com.google.protobuf.DoubleValue minValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> minValueBuilder_; + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder> + minValueBuilder_; /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
* * .google.protobuf.DoubleValue min_value = 9; + * * @return Whether the minValue field is set. */ public boolean hasMinValue() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
* * .google.protobuf.DoubleValue min_value = 9; + * * @return The minValue. */ public com.google.protobuf.DoubleValue getMinValue() { @@ -2355,6 +2635,8 @@ public com.google.protobuf.DoubleValue getMinValue() { } } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2375,14 +2657,15 @@ public Builder setMinValue(com.google.protobuf.DoubleValue value) { return this; } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
* * .google.protobuf.DoubleValue min_value = 9; */ - public Builder setMinValue( - com.google.protobuf.DoubleValue.Builder builderForValue) { + public Builder setMinValue(com.google.protobuf.DoubleValue.Builder builderForValue) { if (minValueBuilder_ == null) { minValue_ = builderForValue.build(); } else { @@ -2393,6 +2676,8 @@ public Builder setMinValue( return this; } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2401,9 +2686,9 @@ public Builder setMinValue( */ public Builder mergeMinValue(com.google.protobuf.DoubleValue value) { if (minValueBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - minValue_ != null && - minValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && minValue_ != null + && minValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { getMinValueBuilder().mergeFrom(value); } else { minValue_ = value; @@ -2418,6 +2703,8 @@ public Builder mergeMinValue(com.google.protobuf.DoubleValue value) { return this; } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2435,6 +2722,8 @@ public Builder clearMinValue() { return this; } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2447,6 +2736,8 @@ public com.google.protobuf.DoubleValue.Builder getMinValueBuilder() { return getMinValueFieldBuilder().getBuilder(); } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2457,11 +2748,12 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { if (minValueBuilder_ != null) { return minValueBuilder_.getMessageOrBuilder(); } else { - return minValue_ == null ? - com.google.protobuf.DoubleValue.getDefaultInstance() : minValue_; + return minValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : minValue_; } } /** + * + * *
      * For integer and double values specifies minimum allowed value.
      * 
@@ -2469,14 +2761,17 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { * .google.protobuf.DoubleValue min_value = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder> getMinValueFieldBuilder() { if (minValueBuilder_ == null) { - minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( - getMinValue(), - getParentForChildren(), - isClean()); + minValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder>( + getMinValue(), getParentForChildren(), isClean()); minValue_ = null; } return minValueBuilder_; @@ -2484,24 +2779,33 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() { private com.google.protobuf.DoubleValue maxValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> maxValueBuilder_; + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder> + maxValueBuilder_; /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
* * .google.protobuf.DoubleValue max_value = 10; + * * @return Whether the maxValue field is set. */ public boolean hasMaxValue() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
* * .google.protobuf.DoubleValue max_value = 10; + * * @return The maxValue. */ public com.google.protobuf.DoubleValue getMaxValue() { @@ -2512,6 +2816,8 @@ public com.google.protobuf.DoubleValue getMaxValue() { } } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2532,14 +2838,15 @@ public Builder setMaxValue(com.google.protobuf.DoubleValue value) { return this; } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
* * .google.protobuf.DoubleValue max_value = 10; */ - public Builder setMaxValue( - com.google.protobuf.DoubleValue.Builder builderForValue) { + public Builder setMaxValue(com.google.protobuf.DoubleValue.Builder builderForValue) { if (maxValueBuilder_ == null) { maxValue_ = builderForValue.build(); } else { @@ -2550,6 +2857,8 @@ public Builder setMaxValue( return this; } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2558,9 +2867,9 @@ public Builder setMaxValue( */ public Builder mergeMaxValue(com.google.protobuf.DoubleValue value) { if (maxValueBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - maxValue_ != null && - maxValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && maxValue_ != null + && maxValue_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { getMaxValueBuilder().mergeFrom(value); } else { maxValue_ = value; @@ -2575,6 +2884,8 @@ public Builder mergeMaxValue(com.google.protobuf.DoubleValue value) { return this; } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2592,6 +2903,8 @@ public Builder clearMaxValue() { return this; } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2604,6 +2917,8 @@ public com.google.protobuf.DoubleValue.Builder getMaxValueBuilder() { return getMaxValueFieldBuilder().getBuilder(); } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2614,11 +2929,12 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { if (maxValueBuilder_ != null) { return maxValueBuilder_.getMessageOrBuilder(); } else { - return maxValue_ == null ? - com.google.protobuf.DoubleValue.getDefaultInstance() : maxValue_; + return maxValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxValue_; } } /** + * + * *
      * For integer and double values specifies maximum allowed value.
      * 
@@ -2626,39 +2942,51 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() { * .google.protobuf.DoubleValue max_value = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder> getMaxValueFieldBuilder() { if (maxValueBuilder_ == null) { - maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( - getMaxValue(), - getParentForChildren(), - isClean()); + maxValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder>( + getMaxValue(), getParentForChildren(), isClean()); maxValue_ = null; } return maxValueBuilder_; } private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { - fields_ = new java.util.ArrayList(fields_); + fields_ = + new java.util.ArrayList( + fields_); bitField0_ |= 0x00000400; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> fieldsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + fieldsBuilder_; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public java.util.List getFieldsList() { + public java.util.List + getFieldsList() { if (fieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(fields_); } else { @@ -2666,6 +2994,8 @@ public java.util.List * Deprecated. This field has no effect. *
@@ -2680,6 +3010,8 @@ public int getFieldsCount() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2694,6 +3026,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getFields(i } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2715,6 +3049,8 @@ public Builder setFields( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2722,7 +3058,8 @@ public Builder setFields( * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ public Builder setFields( - int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.set(index, builderForValue.build()); @@ -2733,6 +3070,8 @@ public Builder setFields( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2753,6 +3092,8 @@ public Builder addFields(com.google.cloud.bigquery.datatransfer.v1.DataSourcePar return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2774,6 +3115,8 @@ public Builder addFields( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2792,6 +3135,8 @@ public Builder addFields( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2799,7 +3144,8 @@ public Builder addFields( * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ public Builder addFields( - int index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(index, builderForValue.build()); @@ -2810,6 +3156,8 @@ public Builder addFields( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2817,11 +3165,11 @@ public Builder addFields( * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ public Builder addAllFields( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); @@ -2829,6 +3177,8 @@ public Builder addAllFields( return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2846,6 +3196,8 @@ public Builder clearFields() { return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2863,6 +3215,8 @@ public Builder removeFields(int index) { return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2874,28 +3228,34 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder get return getFieldsFieldBuilder().getBuilder(index); } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getFieldsOrBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder + getFieldsOrBuilder(int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); } else { + return fields_.get(index); + } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -2903,17 +3263,23 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder ge } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addFieldsBuilder() { - return getFieldsFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder + addFieldsBuilder() { + return getFieldsFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** + * + * *
      * Deprecated. This field has no effect.
      * 
@@ -2922,30 +3288,37 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder add */ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder addFieldsBuilder( int index) { - return getFieldsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.getDefaultInstance()); } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( - fields_, - ((bitField0_ & 0x00000400) != 0), - getParentForChildren(), - isClean()); + fieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>( + fields_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; @@ -2953,19 +3326,21 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder add private java.lang.Object validationDescription_ = ""; /** + * + * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; + * * @return The validationDescription. */ public java.lang.String getValidationDescription() { java.lang.Object ref = validationDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationDescription_ = s; return s; @@ -2974,21 +3349,22 @@ public java.lang.String getValidationDescription() { } } /** + * + * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; + * * @return The bytes for validationDescription. */ - public com.google.protobuf.ByteString - getValidationDescriptionBytes() { + public com.google.protobuf.ByteString getValidationDescriptionBytes() { java.lang.Object ref = validationDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); validationDescription_ = b; return b; } else { @@ -2996,30 +3372,37 @@ public java.lang.String getValidationDescription() { } } /** + * + * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; + * * @param value The validationDescription to set. * @return This builder for chaining. */ - public Builder setValidationDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValidationDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } validationDescription_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; + * * @return This builder for chaining. */ public Builder clearValidationDescription() { @@ -3029,18 +3412,22 @@ public Builder clearValidationDescription() { return this; } /** + * + * *
      * Description of the requirements for this field, in case the user input does
      * not fulfill the regex pattern or min/max values.
      * 
* * string validation_description = 12; + * * @param value The bytes for validationDescription to set. * @return This builder for chaining. */ - public Builder setValidationDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValidationDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); validationDescription_ = value; bitField0_ |= 0x00000800; @@ -3050,18 +3437,20 @@ public Builder setValidationDescriptionBytes( private java.lang.Object validationHelpUrl_ = ""; /** + * + * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; + * * @return The validationHelpUrl. */ public java.lang.String getValidationHelpUrl() { java.lang.Object ref = validationHelpUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationHelpUrl_ = s; return s; @@ -3070,20 +3459,21 @@ public java.lang.String getValidationHelpUrl() { } } /** + * + * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; + * * @return The bytes for validationHelpUrl. */ - public com.google.protobuf.ByteString - getValidationHelpUrlBytes() { + public com.google.protobuf.ByteString getValidationHelpUrlBytes() { java.lang.Object ref = validationHelpUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); validationHelpUrl_ = b; return b; } else { @@ -3091,28 +3481,35 @@ public java.lang.String getValidationHelpUrl() { } } /** + * + * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; + * * @param value The validationHelpUrl to set. * @return This builder for chaining. */ - public Builder setValidationHelpUrl( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValidationHelpUrl(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } validationHelpUrl_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; + * * @return This builder for chaining. */ public Builder clearValidationHelpUrl() { @@ -3122,17 +3519,21 @@ public Builder clearValidationHelpUrl() { return this; } /** + * + * *
      * URL to a help document to further explain the naming requirements.
      * 
* * string validation_help_url = 13; + * * @param value The bytes for validationHelpUrl to set. * @return This builder for chaining. */ - public Builder setValidationHelpUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValidationHelpUrlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); validationHelpUrl_ = value; bitField0_ |= 0x00001000; @@ -3140,13 +3541,16 @@ public Builder setValidationHelpUrlBytes( return this; } - private boolean immutable_ ; + private boolean immutable_; /** + * + * *
      * Cannot be changed after initial creation.
      * 
* * bool immutable = 14; + * * @return The immutable. */ @java.lang.Override @@ -3154,11 +3558,14 @@ public boolean getImmutable() { return immutable_; } /** + * + * *
      * Cannot be changed after initial creation.
      * 
* * bool immutable = 14; + * * @param value The immutable to set. * @return This builder for chaining. */ @@ -3170,11 +3577,14 @@ public Builder setImmutable(boolean value) { return this; } /** + * + * *
      * Cannot be changed after initial creation.
      * 
* * bool immutable = 14; + * * @return This builder for chaining. */ public Builder clearImmutable() { @@ -3184,13 +3594,16 @@ public Builder clearImmutable() { return this; } - private boolean recurse_ ; + private boolean recurse_; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * bool recurse = 15; + * * @return The recurse. */ @java.lang.Override @@ -3198,11 +3611,14 @@ public boolean getRecurse() { return recurse_; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * bool recurse = 15; + * * @param value The recurse to set. * @return This builder for chaining. */ @@ -3214,11 +3630,14 @@ public Builder setRecurse(boolean value) { return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * bool recurse = 15; + * * @return This builder for chaining. */ public Builder clearRecurse() { @@ -3228,14 +3647,17 @@ public Builder clearRecurse() { return this; } - private boolean deprecated_ ; + private boolean deprecated_; /** + * + * *
      * If true, it should not be used in new transfers, and it should not be
      * visible to users.
      * 
* * bool deprecated = 20; + * * @return The deprecated. */ @java.lang.Override @@ -3243,12 +3665,15 @@ public boolean getDeprecated() { return deprecated_; } /** + * + * *
      * If true, it should not be used in new transfers, and it should not be
      * visible to users.
      * 
* * bool deprecated = 20; + * * @param value The deprecated to set. * @return This builder for chaining. */ @@ -3260,12 +3685,15 @@ public Builder setDeprecated(boolean value) { return this; } /** + * + * *
      * If true, it should not be used in new transfers, and it should not be
      * visible to users.
      * 
* * bool deprecated = 20; + * * @return This builder for chaining. */ public Builder clearDeprecated() { @@ -3274,9 +3702,9 @@ public Builder clearDeprecated() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3286,12 +3714,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) - private static final com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter(); } @@ -3300,27 +3729,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSourceParameter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSourceParameter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3335,6 +3764,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java similarity index 82% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java index cb041b83968a..b8c2f8951b38 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java @@ -1,192 +1,258 @@ +/* + * 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; -public interface DataSourceParameterOrBuilder extends +public interface DataSourceParameterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DataSourceParameter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Parameter identifier.
    * 
* * string param_id = 1; + * * @return The paramId. */ java.lang.String getParamId(); /** + * + * *
    * Parameter identifier.
    * 
* * string param_id = 1; + * * @return The bytes for paramId. */ - com.google.protobuf.ByteString - getParamIdBytes(); + com.google.protobuf.ByteString getParamIdBytes(); /** + * + * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Parameter display name in the user interface.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Parameter description.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Parameter description.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Parameter type.
    * 
* * .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4; + * * @return The type. */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType(); /** + * + * *
    * Is parameter required.
    * 
* * bool required = 5; + * * @return The required. */ boolean getRequired(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * bool repeated = 6; + * * @return The repeated. */ boolean getRepeated(); /** + * + * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; + * * @return The validationRegex. */ java.lang.String getValidationRegex(); /** + * + * *
    * Regular expression which can be used for parameter validation.
    * 
* * string validation_regex = 7; + * * @return The bytes for validationRegex. */ - com.google.protobuf.ByteString - getValidationRegexBytes(); + com.google.protobuf.ByteString getValidationRegexBytes(); /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @return A list containing the allowedValues. */ - java.util.List - getAllowedValuesList(); + java.util.List getAllowedValuesList(); /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @return The count of allowedValues. */ int getAllowedValuesCount(); /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ java.lang.String getAllowedValues(int index); /** + * + * *
    * All possible values for the parameter.
    * 
* * repeated string allowed_values = 8; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - com.google.protobuf.ByteString - getAllowedValuesBytes(int index); + com.google.protobuf.ByteString getAllowedValuesBytes(int index); /** + * + * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; + * * @return Whether the minValue field is set. */ boolean hasMinValue(); /** + * + * *
    * For integer and double values specifies minimum allowed value.
    * 
* * .google.protobuf.DoubleValue min_value = 9; + * * @return The minValue. */ com.google.protobuf.DoubleValue getMinValue(); /** + * + * *
    * For integer and double values specifies minimum allowed value.
    * 
@@ -196,24 +262,32 @@ public interface DataSourceParameterOrBuilder extends com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder(); /** + * + * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; + * * @return Whether the maxValue field is set. */ boolean hasMaxValue(); /** + * + * *
    * For integer and double values specifies maximum allowed value.
    * 
* * .google.protobuf.DoubleValue max_value = 10; + * * @return The maxValue. */ com.google.protobuf.DoubleValue getMaxValue(); /** + * + * *
    * For integer and double values specifies maximum allowed value.
    * 
@@ -223,15 +297,18 @@ public interface DataSourceParameterOrBuilder extends com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - java.util.List - getFieldsList(); + java.util.List getFieldsList(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -240,6 +317,8 @@ public interface DataSourceParameterOrBuilder extends */ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getFields(int index); /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -248,15 +327,19 @@ public interface DataSourceParameterOrBuilder extends */ int getFieldsCount(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11; */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
@@ -267,74 +350,93 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getFields int index); /** + * + * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; + * * @return The validationDescription. */ java.lang.String getValidationDescription(); /** + * + * *
    * Description of the requirements for this field, in case the user input does
    * not fulfill the regex pattern or min/max values.
    * 
* * string validation_description = 12; + * * @return The bytes for validationDescription. */ - com.google.protobuf.ByteString - getValidationDescriptionBytes(); + com.google.protobuf.ByteString getValidationDescriptionBytes(); /** + * + * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; + * * @return The validationHelpUrl. */ java.lang.String getValidationHelpUrl(); /** + * + * *
    * URL to a help document to further explain the naming requirements.
    * 
* * string validation_help_url = 13; + * * @return The bytes for validationHelpUrl. */ - com.google.protobuf.ByteString - getValidationHelpUrlBytes(); + com.google.protobuf.ByteString getValidationHelpUrlBytes(); /** + * + * *
    * Cannot be changed after initial creation.
    * 
* * bool immutable = 14; + * * @return The immutable. */ boolean getImmutable(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * bool recurse = 15; + * * @return The recurse. */ boolean getRecurse(); /** + * + * *
    * If true, it should not be used in new transfers, and it should not be
    * visible to users.
    * 
* * bool deprecated = 20; + * * @return The deprecated. */ boolean getDeprecated(); 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 new file mode 100644 index 000000000000..9d7e1008d342 --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java @@ -0,0 +1,694 @@ +/* + * 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; + +public final class DataTransferProto { + private DataTransferProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + 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; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n8google/cloud/bigquery/datatransfer/v1/" + + "datatransfer.proto\022%google.cloud.bigquer" + + "y.datatransfer.v1\032\034google/api/annotation" + + "s.proto\032\027google/api/client.proto\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\0324google/cloud/bigquery/data" + + "transfer/v1/transfer.proto\032\036google/proto" + + "buf/duration.proto\032\033google/protobuf/empt" + + "y.proto\032 google/protobuf/field_mask.prot" + + "o\032\037google/protobuf/timestamp.proto\032\036goog" + + "le/protobuf/wrappers.proto\"\217\005\n\023DataSourc" + + "eParameter\022\020\n\010param_id\030\001 \001(\t\022\024\n\014display_" + + "name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022M\n\004type\030" + + "\004 \001(\0162?.google.cloud.bigquery.datatransf" + + "er.v1.DataSourceParameter.Type\022\020\n\010requir" + + "ed\030\005 \001(\010\022\020\n\010repeated\030\006 \001(\010\022\030\n\020validation" + + "_regex\030\007 \001(\t\022\026\n\016allowed_values\030\010 \003(\t\022/\n\t" + + "min_value\030\t \001(\0132\034.google.protobuf.Double" + + "Value\022/\n\tmax_value\030\n \001(\0132\034.google.protob" + + "uf.DoubleValue\022J\n\006fields\030\013 \003(\0132:.google." + + "cloud.bigquery.datatransfer.v1.DataSourc" + + "eParameter\022\036\n\026validation_description\030\014 \001" + + "(\t\022\033\n\023validation_help_url\030\r \001(\t\022\021\n\timmut" + + "able\030\016 \001(\010\022\017\n\007recurse\030\017 \001(\010\022\022\n\ndeprecate" + + "d\030\024 \001(\010\"s\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n" + + "\006STRING\020\001\022\013\n\007INTEGER\020\002\022\n\n\006DOUBLE\020\003\022\013\n\007BO" + + "OLEAN\020\004\022\n\n\006RECORD\020\005\022\r\n\tPLUS_PAGE\020\006\022\010\n\004LI" + + "ST\020\007\"\234\t\n\nDataSource\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\026" + + "\n\016data_source_id\030\002 \001(\t\022\024\n\014display_name\030\003" + + " \001(\t\022\023\n\013description\030\004 \001(\t\022\021\n\tclient_id\030\005" + + " \001(\t\022\016\n\006scopes\030\006 \003(\t\022N\n\rtransfer_type\030\007 " + + "\001(\01623.google.cloud.bigquery.datatransfer" + + ".v1.TransferTypeB\002\030\001\022\'\n\033supports_multipl" + + "e_transfers\030\010 \001(\010B\002\030\001\022\037\n\027update_deadline" + + "_seconds\030\t \001(\005\022\030\n\020default_schedule\030\n \001(\t" + + "\022 \n\030supports_custom_schedule\030\013 \001(\010\022N\n\npa" + + "rameters\030\014 \003(\0132:.google.cloud.bigquery.d" + + "atatransfer.v1.DataSourceParameter\022\020\n\010he" + + "lp_url\030\r \001(\t\022_\n\022authorization_type\030\016 \001(\016" + + "2C.google.cloud.bigquery.datatransfer.v1" + + ".DataSource.AuthorizationType\022\\\n\021data_re" + + "fresh_type\030\017 \001(\0162A.google.cloud.bigquery" + + ".datatransfer.v1.DataSource.DataRefreshT" + + "ype\022(\n default_data_refresh_window_days\030" + + "\020 \001(\005\022\034\n\024manual_runs_disabled\030\021 \001(\010\022<\n\031m" + + "inimum_schedule_interval\030\022 \001(\0132\031.google." + + "protobuf.Duration\"\212\001\n\021AuthorizationType\022" + + "\"\n\036AUTHORIZATION_TYPE_UNSPECIFIED\020\000\022\026\n\022A" + + "UTHORIZATION_CODE\020\001\022\"\n\036GOOGLE_PLUS_AUTHO" + + "RIZATION_CODE\020\002\022\025\n\021FIRST_PARTY_OAUTH\020\003\"c" + + "\n\017DataRefreshType\022!\n\035DATA_REFRESH_TYPE_U" + + "NSPECIFIED\020\000\022\022\n\016SLIDING_WINDOW\020\001\022\031\n\025CUST" + + "OM_SLIDING_WINDOW\020\002:\245\001\352A\241\001\n.bigquerydata" + + "transfer.googleapis.com/DataSource\022,proj" + + "ects/{project}/dataSources/{data_source}" + + "\022Aprojects/{project}/locations/{location" + + "}/dataSources/{data_source}\"\\\n\024GetDataSo" + + "urceRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.bigqu" + + "erydatatransfer.googleapis.com/DataSourc" + + "e\"\207\001\n\026ListDataSourcesRequest\022F\n\006parent\030\001" + + " \001(\tB6\340A\002\372A0\022.bigquerydatatransfer.googl" + + "eapis.com/DataSource\022\022\n\npage_token\030\003 \001(\t" + + "\022\021\n\tpage_size\030\004 \001(\005\"\200\001\n\027ListDataSourcesR" + + "esponse\022G\n\014data_sources\030\001 \003(\01321.google.c" + + "loud.bigquery.datatransfer.v1.DataSource" + + "\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\216\002\n\033Creat" + + "eTransferConfigRequest\022J\n\006parent\030\001 \001(\tB:" + + "\340A\002\372A4\0222bigquerydatatransfer.googleapis." + + "com/TransferConfig\022S\n\017transfer_config\030\002 " + + "\001(\01325.google.cloud.bigquery.datatransfer" + + ".v1.TransferConfigB\003\340A\002\022\032\n\022authorization" + + "_code\030\003 \001(\t\022\024\n\014version_info\030\005 \001(\t\022\034\n\024ser" + + "vice_account_name\030\006 \001(\t\"\370\001\n\033UpdateTransf" + + "erConfigRequest\022S\n\017transfer_config\030\001 \001(\013" + + "25.google.cloud.bigquery.datatransfer.v1" + + ".TransferConfigB\003\340A\002\022\032\n\022authorization_co" + + "de\030\003 \001(\t\0224\n\013update_mask\030\004 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\003\340A\002\022\024\n\014version_info\030\005" + + " \001(\t\022\034\n\024service_account_name\030\006 \001(\t\"d\n\030Ge" + + "tTransferConfigRequest\022H\n\004name\030\001 \001(\tB:\340A" + + "\002\372A4\n2bigquerydatatransfer.googleapis.co" + + "m/TransferConfig\"g\n\033DeleteTransferConfig" + + "Request\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bigqueryd" + + "atatransfer.googleapis.com/TransferConfi" + + "g\"V\n\025GetTransferRunRequest\022=\n\004name\030\001 \001(\t" + + "B/\340A\002\372A)\n\'bigquerydatatransfer.googleapi" + + "s.com/Run\"Y\n\030DeleteTransferRunRequest\022=\n" + + "\004name\030\001 \001(\tB/\340A\002\372A)\n\'bigquerydatatransfe" + + "r.googleapis.com/Run\"\250\001\n\032ListTransferCon" + + "figsRequest\022J\n\006parent\030\001 \001(\tB:\340A\002\372A4\0222big" + + "querydatatransfer.googleapis.com/Transfe" + + "rConfig\022\027\n\017data_source_ids\030\002 \003(\t\022\022\n\npage" + + "_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\"\221\001\n\033List" + + "TransferConfigsResponse\022T\n\020transfer_conf" + + "igs\030\001 \003(\01325.google.cloud.bigquery.datatr" + + "ansfer.v1.TransferConfigB\003\340A\003\022\034\n\017next_pa" + + "ge_token\030\002 \001(\tB\003\340A\003\"\336\002\n\027ListTransferRuns" + + "Request\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'bigquer" + + "ydatatransfer.googleapis.com/Run\022D\n\006stat" + + "es\030\002 \003(\01624.google.cloud.bigquery.datatra" + + "nsfer.v1.TransferState\022\022\n\npage_token\030\003 \001" + + "(\t\022\021\n\tpage_size\030\004 \001(\005\022^\n\013run_attempt\030\005 \001" + + "(\0162I.google.cloud.bigquery.datatransfer." + + "v1.ListTransferRunsRequest.RunAttempt\"5\n" + + "\nRunAttempt\022\033\n\027RUN_ATTEMPT_UNSPECIFIED\020\000" + + "\022\n\n\006LATEST\020\001\"\210\001\n\030ListTransferRunsRespons" + + "e\022N\n\rtransfer_runs\030\001 \003(\01322.google.cloud." + + "bigquery.datatransfer.v1.TransferRunB\003\340A" + + "\003\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\340\001\n\027List" + + "TransferLogsRequest\022?\n\006parent\030\001 \001(\tB/\340A\002" + + "\372A)\n\'bigquerydatatransfer.googleapis.com" + + "/Run\022\022\n\npage_token\030\004 \001(\t\022\021\n\tpage_size\030\005 " + + "\001(\005\022]\n\rmessage_types\030\006 \003(\0162F.google.clou" + + "d.bigquery.datatransfer.v1.TransferMessa" + + "ge.MessageSeverity\"\220\001\n\030ListTransferLogsR" + + "esponse\022V\n\021transfer_messages\030\001 \003(\01326.goo" + + "gle.cloud.bigquery.datatransfer.v1.Trans" + + "ferMessageB\003\340A\003\022\034\n\017next_page_token\030\002 \001(\t" + + "B\003\340A\003\"^\n\026CheckValidCredsRequest\022D\n\004name\030" + + "\001 \001(\tB6\340A\002\372A0\n.bigquerydatatransfer.goog" + + "leapis.com/DataSource\"2\n\027CheckValidCreds" + + "Response\022\027\n\017has_valid_creds\030\001 \001(\010\"\321\001\n\033Sc" + + "heduleTransferRunsRequest\022J\n\006parent\030\001 \001(" + + "\tB:\340A\002\372A4\n2bigquerydatatransfer.googleap" + + "is.com/TransferConfig\0223\n\nstart_time\030\002 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\002\0221\n\010en" + + "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\002\"`\n\034ScheduleTransferRunsResponse\022@\n" + + "\004runs\030\001 \003(\01322.google.cloud.bigquery.data" + + "transfer.v1.TransferRun\"\207\003\n\036StartManualT" + + "ransferRunsRequest\022G\n\006parent\030\001 \001(\tB7\372A4\n" + + "2bigquerydatatransfer.googleapis.com/Tra" + + "nsferConfig\022o\n\024requested_time_range\030\003 \001(" + + "\0132O.google.cloud.bigquery.datatransfer.v" + + "1.StartManualTransferRunsRequest.TimeRan" + + "geH\000\0228\n\022requested_run_time\030\004 \001(\0132\032.googl" + + "e.protobuf.TimestampH\000\032i\n\tTimeRange\022.\n\ns" + + "tart_time\030\001 \001(\0132\032.google.protobuf.Timest" + + "amp\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf." + + "TimestampB\006\n\004time\"c\n\037StartManualTransfer" + + "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(\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( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor, + new java.lang.String[] { + "ParamId", + "DisplayName", + "Description", + "Type", + "Required", + "Repeated", + "ValidationRegex", + "AllowedValues", + "MinValue", + "MaxValue", + "Fields", + "ValidationDescription", + "ValidationHelpUrl", + "Immutable", + "Recurse", + "Deprecated", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor, + new java.lang.String[] { + "Name", + "DataSourceId", + "DisplayName", + "Description", + "ClientId", + "Scopes", + "TransferType", + "SupportsMultipleTransfers", + "UpdateDeadlineSeconds", + "DefaultSchedule", + "SupportsCustomSchedule", + "Parameters", + "HelpUrl", + "AuthorizationType", + "DataRefreshType", + "DefaultDataRefreshWindowDays", + "ManualRunsDisabled", + "MinimumScheduleInterval", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageToken", "PageSize", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor, + new java.lang.String[] { + "DataSources", "NextPageToken", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor, + new java.lang.String[] { + "Parent", "TransferConfig", "AuthorizationCode", "VersionInfo", "ServiceAccountName", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor, + new java.lang.String[] { + "TransferConfig", + "AuthorizationCode", + "UpdateMask", + "VersionInfo", + "ServiceAccountName", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor, + new java.lang.String[] { + "Parent", "DataSourceIds", "PageToken", "PageSize", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor, + new java.lang.String[] { + "TransferConfigs", "NextPageToken", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor, + new java.lang.String[] { + "Parent", "States", "PageToken", "PageSize", "RunAttempt", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor, + new java.lang.String[] { + "TransferRuns", "NextPageToken", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageToken", "PageSize", "MessageTypes", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor, + new java.lang.String[] { + "TransferMessages", "NextPageToken", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor, + new java.lang.String[] { + "HasValidCreds", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor, + new java.lang.String[] { + "Parent", "StartTime", "EndTime", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor, + new java.lang.String[] { + "Runs", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor, + new java.lang.String[] { + "Parent", "RequestedTimeRange", "RequestedRunTime", "Time", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor = + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor, + new java.lang.String[] { + "StartTime", "EndTime", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor, + new java.lang.String[] { + "Runs", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor, + 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); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java similarity index 61% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java index 0844d07d9b35..edefaaa7a252 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,6 +20,8 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to delete data transfer information. All associated transfer runs
  * and log messages will be deleted as well.
@@ -12,50 +29,58 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest}
  */
-public final class DeleteTransferConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)
     DeleteTransferConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTransferConfigRequest.newBuilder() to construct.
   private DeleteTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTransferConfigRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTransferConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_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_DeleteTransferConfigRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class,
+            com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -64,31 +89,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -133,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other = + (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,98 +188,105 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest + 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.DeleteTransferConfigRequest 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.DeleteTransferConfigRequest + 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.DeleteTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.DeleteTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to delete data transfer information. All associated transfer runs
    * and log messages will be deleted as well.
@@ -260,33 +294,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)
       com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_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_DeleteTransferConfigRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class,
+              com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -296,14 +330,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -317,13 +353,17 @@ public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest bui
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result =
+          new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result) {
+    private void buildPartial0(
+        com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -334,46 +374,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DeleteTrans
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest)other);
+        return mergeFrom(
+            (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest other) {
+      if (other
+          == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -405,17 +450,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -425,24 +472,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +503,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +529,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +575,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,41 +612,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -586,9 +660,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java new file mode 100644 index 000000000000..41fe54a384cd --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java @@ -0,0 +1,59 @@ +/* + * 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; + +public interface DeleteTransferConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java similarity index 61% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java index cb0d5ad2ff8d..f3926e0625b4 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,49 +20,56 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to delete data transfer run information.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest} */ -public final class DeleteTransferRunRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTransferRunRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) DeleteTransferRunRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTransferRunRequest.newBuilder() to construct. private DeleteTransferRunRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTransferRunRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTransferRunRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_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_DeleteTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -55,7 +77,10 @@ protected java.lang.Object newInstance(
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -64,14 +89,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -79,17 +105,18 @@ public java.lang.String getName() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other = (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other = + (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,131 +189,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferRunRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest 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.DeleteTransferRunRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteTransferRunRequest 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.DeleteTransferRunRequest 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.DeleteTransferRunRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest 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.DeleteTransferRunRequest + 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.DeleteTransferRunRequest 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.DeleteTransferRunRequest + 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.DeleteTransferRunRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.DeleteTransferRunRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to delete data transfer run information.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_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_DeleteTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,14 +330,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest + .getDefaultInstance(); } @java.lang.Override @@ -317,13 +353,17 @@ public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result = + new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -334,46 +374,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.DeleteTrans public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +450,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,10 +472,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -436,14 +486,16 @@ public Builder mergeFrom(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -452,6 +504,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -459,16 +513,17 @@ public java.lang.String getName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -476,6 +531,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -483,19 +540,25 @@ public java.lang.String getName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -503,7 +566,10 @@ public Builder setName(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -513,6 +579,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -520,22 +588,26 @@ public Builder clearName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -545,41 +617,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTransferRunRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTransferRunRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -591,9 +665,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java index d6920d2f3fa5..2bce0e154615 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java @@ -1,14 +1,32 @@ +/* + * 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; -public interface DeleteTransferRunRequestOrBuilder extends +public interface DeleteTransferRunRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -16,11 +34,16 @@ public interface DeleteTransferRunRequestOrBuilder extends
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -28,9 +51,11 @@ public interface DeleteTransferRunRequestOrBuilder extends
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java similarity index 66% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java index 48bd73cfd171..f2dbd56720bf 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,6 +20,8 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Represents preferences for sending email notifications for transfer run
  * events.
@@ -12,46 +29,50 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EmailPreferences}
  */
-public final class EmailPreferences extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class EmailPreferences extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.EmailPreferences)
     EmailPreferencesOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EmailPreferences.newBuilder() to construct.
   private EmailPreferences(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private EmailPreferences() {
-  }
+
+  private EmailPreferences() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EmailPreferences();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class,
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
   }
 
   public static final int ENABLE_FAILURE_EMAIL_FIELD_NUMBER = 1;
   private boolean enableFailureEmail_ = false;
   /**
+   *
+   *
    * 
    * If true, email notifications will be sent on transfer run failures.
    * 
* * bool enable_failure_email = 1; + * * @return The enableFailureEmail. */ @java.lang.Override @@ -60,6 +81,7 @@ public boolean getEnableFailureEmail() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -71,8 +93,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enableFailureEmail_ != false) { output.writeBool(1, enableFailureEmail_); } @@ -86,8 +107,7 @@ public int getSerializedSize() { size = 0; if (enableFailureEmail_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enableFailureEmail_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableFailureEmail_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -97,15 +117,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.EmailPreferences)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences other = (com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) obj; + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences other = + (com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) obj; - if (getEnableFailureEmail() - != other.getEnableFailureEmail()) return false; + if (getEnableFailureEmail() != other.getEnableFailureEmail()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -118,106 +138,111 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_FAILURE_EMAIL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableFailureEmail()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableFailureEmail()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EmailPreferences parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences 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.EmailPreferences parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EmailPreferences 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.EmailPreferences 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.EmailPreferences parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences 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.EmailPreferences 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.EmailPreferences parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.EmailPreferences parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents preferences for sending email notifications for transfer run
    * events.
@@ -225,33 +250,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EmailPreferences}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.EmailPreferences)
       com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.class,
+              com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -261,9 +285,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor;
     }
 
     @java.lang.Override
@@ -282,8 +306,11 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.EmailPreferences result = new com.google.cloud.bigquery.datatransfer.v1.EmailPreferences(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.EmailPreferences result =
+          new com.google.cloud.bigquery.datatransfer.v1.EmailPreferences(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -299,38 +326,39 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EmailPrefer
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EmailPreferences)other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EmailPreferences) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -338,7 +366,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance())
+        return this;
       if (other.getEnableFailureEmail() != false) {
         setEnableFailureEmail(other.getEnableFailureEmail());
       }
@@ -368,17 +397,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enableFailureEmail_ = input.readBool();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enableFailureEmail_ = input.readBool();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -388,15 +419,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean enableFailureEmail_ ;
+    private boolean enableFailureEmail_;
     /**
+     *
+     *
      * 
      * If true, email notifications will be sent on transfer run failures.
      * 
* * bool enable_failure_email = 1; + * * @return The enableFailureEmail. */ @java.lang.Override @@ -404,11 +439,14 @@ public boolean getEnableFailureEmail() { return enableFailureEmail_; } /** + * + * *
      * If true, email notifications will be sent on transfer run failures.
      * 
* * bool enable_failure_email = 1; + * * @param value The enableFailureEmail to set. * @return This builder for chaining. */ @@ -420,11 +458,14 @@ public Builder setEnableFailureEmail(boolean value) { return this; } /** + * + * *
      * If true, email notifications will be sent on transfer run failures.
      * 
* * bool enable_failure_email = 1; + * * @return This builder for chaining. */ public Builder clearEnableFailureEmail() { @@ -433,9 +474,9 @@ public Builder clearEnableFailureEmail() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -445,12 +486,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.EmailPreferences) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.EmailPreferences) private static final com.google.cloud.bigquery.datatransfer.v1.EmailPreferences DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.EmailPreferences(); } @@ -459,27 +500,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EmailPreferences parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EmailPreferences parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -494,6 +535,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java new file mode 100644 index 000000000000..17a2f296f425 --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java @@ -0,0 +1,39 @@ +/* + * 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/transfer.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.datatransfer.v1; + +public interface EmailPreferencesOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EmailPreferences) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * If true, email notifications will be sent on transfer run failures.
+   * 
+ * + * bool enable_failure_email = 1; + * + * @return The enableFailureEmail. + */ + boolean getEnableFailureEmail(); +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java similarity index 64% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java index 03fd8a26aaf4..bc0631101be4 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfiguration.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,53 +20,59 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Represents the encryption configuration for a transfer.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration} */ -public final class EncryptionConfiguration extends - com.google.protobuf.GeneratedMessageV3 implements +public final class EncryptionConfiguration extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) EncryptionConfigurationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EncryptionConfiguration.newBuilder() to construct. private EncryptionConfiguration(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EncryptionConfiguration() { - } + + private EncryptionConfiguration() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EncryptionConfiguration(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); } private int bitField0_; public static final int KMS_KEY_NAME_FIELD_NUMBER = 1; private com.google.protobuf.StringValue kmsKeyName_; /** + * + * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; + * * @return Whether the kmsKeyName field is set. */ @java.lang.Override @@ -59,11 +80,14 @@ public boolean hasKmsKeyName() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; + * * @return The kmsKeyName. */ @java.lang.Override @@ -71,6 +95,8 @@ public com.google.protobuf.StringValue getKmsKeyName() { return kmsKeyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : kmsKeyName_; } /** + * + * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
@@ -83,6 +109,7 @@ public com.google.protobuf.StringValueOrBuilder getKmsKeyNameOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -94,8 +121,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getKmsKeyName()); } @@ -109,8 +135,7 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getKmsKeyName()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getKmsKeyName()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,17 +145,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other = (com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) obj; + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other = + (com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) obj; if (hasKmsKeyName() != other.hasKmsKeyName()) return false; if (hasKmsKeyName()) { - if (!getKmsKeyName() - .equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -153,137 +178,147 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EncryptionConfiguration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration 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.EncryptionConfiguration parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EncryptionConfiguration 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.EncryptionConfiguration 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.EncryptionConfiguration parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration 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.EncryptionConfiguration + 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.EncryptionConfiguration 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.EncryptionConfiguration + 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.EncryptionConfiguration parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.EncryptionConfiguration parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the encryption configuration for a transfer.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.class, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.newBuilder() + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getKmsKeyNameFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,13 +332,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance(); } @@ -318,19 +354,21 @@ public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result = new com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result = + new com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.kmsKeyName_ = kmsKeyNameBuilder_ == null - ? kmsKeyName_ - : kmsKeyNameBuilder_.build(); + result.kmsKeyName_ = kmsKeyNameBuilder_ == null ? kmsKeyName_ : kmsKeyNameBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -340,46 +378,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EncryptionC public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance()) + return this; if (other.hasKmsKeyName()) { mergeKmsKeyName(other.getKmsKeyName()); } @@ -409,19 +451,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getKmsKeyNameFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getKmsKeyNameFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -431,38 +473,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.StringValue kmsKeyName_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> kmsKeyNameBuilder_; + com.google.protobuf.StringValue, + com.google.protobuf.StringValue.Builder, + com.google.protobuf.StringValueOrBuilder> + kmsKeyNameBuilder_; /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
* * .google.protobuf.StringValue kms_key_name = 1; + * * @return Whether the kmsKeyName field is set. */ public boolean hasKmsKeyName() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
* * .google.protobuf.StringValue kms_key_name = 1; + * * @return The kmsKeyName. */ public com.google.protobuf.StringValue getKmsKeyName() { if (kmsKeyNameBuilder_ == null) { - return kmsKeyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : kmsKeyName_; + return kmsKeyName_ == null + ? com.google.protobuf.StringValue.getDefaultInstance() + : kmsKeyName_; } else { return kmsKeyNameBuilder_.getMessage(); } } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -483,14 +539,15 @@ public Builder setKmsKeyName(com.google.protobuf.StringValue value) { return this; } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
* * .google.protobuf.StringValue kms_key_name = 1; */ - public Builder setKmsKeyName( - com.google.protobuf.StringValue.Builder builderForValue) { + public Builder setKmsKeyName(com.google.protobuf.StringValue.Builder builderForValue) { if (kmsKeyNameBuilder_ == null) { kmsKeyName_ = builderForValue.build(); } else { @@ -501,6 +558,8 @@ public Builder setKmsKeyName( return this; } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -509,9 +568,9 @@ public Builder setKmsKeyName( */ public Builder mergeKmsKeyName(com.google.protobuf.StringValue value) { if (kmsKeyNameBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - kmsKeyName_ != null && - kmsKeyName_ != com.google.protobuf.StringValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && kmsKeyName_ != null + && kmsKeyName_ != com.google.protobuf.StringValue.getDefaultInstance()) { getKmsKeyNameBuilder().mergeFrom(value); } else { kmsKeyName_ = value; @@ -526,6 +585,8 @@ public Builder mergeKmsKeyName(com.google.protobuf.StringValue value) { return this; } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -543,6 +604,8 @@ public Builder clearKmsKeyName() { return this; } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -555,6 +618,8 @@ public com.google.protobuf.StringValue.Builder getKmsKeyNameBuilder() { return getKmsKeyNameFieldBuilder().getBuilder(); } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -565,11 +630,14 @@ public com.google.protobuf.StringValueOrBuilder getKmsKeyNameOrBuilder() { if (kmsKeyNameBuilder_ != null) { return kmsKeyNameBuilder_.getMessageOrBuilder(); } else { - return kmsKeyName_ == null ? - com.google.protobuf.StringValue.getDefaultInstance() : kmsKeyName_; + return kmsKeyName_ == null + ? com.google.protobuf.StringValue.getDefaultInstance() + : kmsKeyName_; } } /** + * + * *
      * The name of the KMS key used for encrypting BigQuery data.
      * 
@@ -577,21 +645,24 @@ public com.google.protobuf.StringValueOrBuilder getKmsKeyNameOrBuilder() { * .google.protobuf.StringValue kms_key_name = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> + com.google.protobuf.StringValue, + com.google.protobuf.StringValue.Builder, + com.google.protobuf.StringValueOrBuilder> getKmsKeyNameFieldBuilder() { if (kmsKeyNameBuilder_ == null) { - kmsKeyNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>( - getKmsKeyName(), - getParentForChildren(), - isClean()); + kmsKeyNameBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.StringValue, + com.google.protobuf.StringValue.Builder, + com.google.protobuf.StringValueOrBuilder>( + getKmsKeyName(), getParentForChildren(), isClean()); kmsKeyName_ = null; } return kmsKeyNameBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,41 +672,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) - private static final com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration(); } - public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionConfiguration parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionConfiguration parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -647,9 +720,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java similarity index 61% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java index 09bfa86b2408..59dc206a9a64 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EncryptionConfigurationOrBuilder.java @@ -1,32 +1,56 @@ +/* + * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface EncryptionConfigurationOrBuilder extends +public interface EncryptionConfigurationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; + * * @return Whether the kmsKeyName field is set. */ boolean hasKmsKeyName(); /** + * + * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
* * .google.protobuf.StringValue kms_key_name = 1; + * * @return The kmsKeyName. */ com.google.protobuf.StringValue getKmsKeyName(); /** + * + * *
    * The name of the KMS key used for encrypting BigQuery data.
    * 
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java similarity index 67% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java index 0adf88874651..ec9b739dcc7b 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,6 +20,8 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to enroll a set of data sources so they are visible in the
  * BigQuery UI's `Transfer` tab.
@@ -12,50 +29,55 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest}
  */
-public final class EnrollDataSourcesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class EnrollDataSourcesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)
     EnrollDataSourcesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EnrollDataSourcesRequest.newBuilder() to construct.
   private EnrollDataSourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private EnrollDataSourcesRequest() {
     name_ = "";
-    dataSourceIds_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EnrollDataSourcesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_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_EnrollDataSourcesRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class,
+            com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.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 @@ -64,29 +86,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -95,41 +117,50 @@ public java.lang.String getName() { } 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 enrolled. 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() { + public com.google.protobuf.ProtocolStringList getDataSourceIdsList() { return dataSourceIds_; } /** + * + * *
    * Data sources that are enrolled. 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 enrolled. 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. */ @@ -137,21 +168,24 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** + * + * *
    * Data sources that are enrolled. 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) { + 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; @@ -163,8 +197,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -199,17 +232,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other = (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other = + (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDataSourceIdsList() - .equals(other.getDataSourceIdsList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDataSourceIdsList().equals(other.getDataSourceIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,98 +265,105 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EnrollDataSourcesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest + 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.EnrollDataSourcesRequest 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.EnrollDataSourcesRequest + 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.EnrollDataSourcesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.EnrollDataSourcesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to enroll a set of data sources so they are visible in the
    * BigQuery UI's `Transfer` tab.
@@ -332,52 +371,53 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)
       com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_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_EnrollDataSourcesRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class,
+              com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       name_ = "";
-      dataSourceIds_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -391,13 +431,17 @@ public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest build(
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result = new com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result =
+          new com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result) {
+    private void buildPartial0(
+        com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -412,46 +456,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.EnrollDataS
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest)other);
+        return mergeFrom(
+            (com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest other) {
+      if (other
+          == com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -493,23 +542,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureDataSourceIdsIsMutable();
-              dataSourceIds_.add(s);
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureDataSourceIdsIsMutable();
+                dataSourceIds_.add(s);
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -519,22 +571,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -543,20 +598,21 @@ public java.lang.String getName() { } } /** + * + * *
      * 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -564,28 +620,35 @@ public java.lang.String getName() { } } /** + * + * *
      * 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(); } + 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() { @@ -595,17 +658,21 @@ public Builder clearName() { 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -615,6 +682,7 @@ public Builder setNameBytes( private com.google.protobuf.LazyStringArrayList dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDataSourceIdsIsMutable() { if (!dataSourceIds_.isModifiable()) { dataSourceIds_ = new com.google.protobuf.LazyStringArrayList(dataSourceIds_); @@ -622,38 +690,46 @@ private void ensureDataSourceIdsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Data sources that are enrolled. 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() { + public com.google.protobuf.ProtocolStringList getDataSourceIdsList() { dataSourceIds_.makeImmutable(); return dataSourceIds_; } /** + * + * *
      * Data sources that are enrolled. 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 enrolled. 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. */ @@ -661,33 +737,39 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** + * + * *
      * Data sources that are enrolled. 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) { + public com.google.protobuf.ByteString getDataSourceIdsBytes(int index) { return dataSourceIds_.getByteString(index); } /** + * + * *
      * Data sources that are enrolled. 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(); } + public Builder setDataSourceIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDataSourceIdsIsMutable(); dataSourceIds_.set(index, value); bitField0_ |= 0x00000002; @@ -695,18 +777,22 @@ public Builder setDataSourceIds( return this; } /** + * + * *
      * Data sources that are enrolled. 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(); } + public Builder addDataSourceIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); bitField0_ |= 0x00000002; @@ -714,53 +800,61 @@ public Builder addDataSourceIds( return this; } /** + * + * *
      * Data sources that are enrolled. 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 values) { + public Builder addAllDataSourceIds(java.lang.Iterable values) { ensureDataSourceIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataSourceIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataSourceIds_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Data sources that are enrolled. 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);; + dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Data sources that are enrolled. 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(); } + public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); @@ -768,9 +862,9 @@ public Builder addDataSourceIdsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -780,41 +874,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnrollDataSourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnrollDataSourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,9 +922,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java index 99de948f5797..fde47f99b1d4 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EnrollDataSourcesRequestOrBuilder.java @@ -1,75 +1,106 @@ +/* + * 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; -public interface EnrollDataSourcesRequestOrBuilder extends +public interface EnrollDataSourcesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * 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(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Data sources that are enrolled. 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 - getDataSourceIdsList(); + java.util.List getDataSourceIdsList(); /** + * + * *
    * Data sources that are enrolled. 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 enrolled. 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 enrolled. 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); + com.google.protobuf.ByteString getDataSourceIdsBytes(int index); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java similarity index 63% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java index 1f38d97d34f4..d4e3c81d326e 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,56 +20,66 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to get data source info.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest} */ -public final class GetDataSourceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataSourceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) GetDataSourceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataSourceRequest.newBuilder() to construct. private GetDataSourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataSourceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataSourceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_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_GetDataSourceRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,31 +88,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/dataSources/{data_source_id}` or
    * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest other = (com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest other = + (com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,131 +187,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetDataSourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest 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.GetDataSourceRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetDataSourceRequest 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.GetDataSourceRequest 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.GetDataSourceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest 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.GetDataSourceRequest 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.GetDataSourceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.GetDataSourceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to get data source info.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_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_GetDataSourceRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,13 +326,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance(); } @@ -315,13 +348,17 @@ public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result = new com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result = + new com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,38 +369,39 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetDataSour public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +409,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +443,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,24 +465,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -449,22 +496,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -472,32 +522,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -507,28 +568,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/dataSources/{data_source_id}` or
      * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -538,41 +605,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataSourceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataSourceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -584,9 +653,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java new file mode 100644 index 000000000000..0482e8861974 --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java @@ -0,0 +1,59 @@ +/* + * 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; + +public interface GetDataSourceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/dataSources/{data_source_id}` or
+   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java similarity index 61% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java index 633b84105904..23cae7d3abe4 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,56 +20,66 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to get data transfer information.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest} */ -public final class GetTransferConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) GetTransferConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTransferConfigRequest.newBuilder() to construct. private GetTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTransferConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTransferConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_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_GetTransferConfigRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,31 +88,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other = + (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,131 +187,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest 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.GetTransferConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferConfigRequest 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.GetTransferConfigRequest 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.GetTransferConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest 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.GetTransferConfigRequest + 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.GetTransferConfigRequest 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.GetTransferConfigRequest + 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.GetTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.GetTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to get data transfer information.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_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_GetTransferConfigRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,14 +328,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest + .getDefaultInstance(); } @java.lang.Override @@ -315,13 +351,17 @@ public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result = + new com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +372,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetTransfer public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +448,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,24 +470,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -449,22 +501,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -472,32 +527,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -507,28 +573,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -538,41 +610,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -584,9 +658,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java new file mode 100644 index 000000000000..a8ea06c2f34d --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java @@ -0,0 +1,59 @@ +/* + * 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; + +public interface GetTransferConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The field will contain name of the resource requested, for
+   * example: `projects/{project_id}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java similarity index 63% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java index 616ae2bf475a..93a5d2636a4c 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,49 +20,56 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to get data transfer run information.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest} */ -public final class GetTransferRunRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTransferRunRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) GetTransferRunRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTransferRunRequest.newBuilder() to construct. private GetTransferRunRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTransferRunRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTransferRunRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_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_GetTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -55,7 +77,10 @@ protected java.lang.Object newInstance(
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -64,14 +89,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -79,17 +105,18 @@ public java.lang.String getName() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other = (com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other = + (com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,131 +189,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferRunRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest 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.GetTransferRunRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetTransferRunRequest 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.GetTransferRunRequest 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.GetTransferRunRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest 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.GetTransferRunRequest 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.GetTransferRunRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.GetTransferRunRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to get data transfer run information.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_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_GetTransferRunRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,13 +328,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance(); } @@ -317,13 +350,17 @@ public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result = new com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result = + new com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -334,46 +371,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.GetTransfer public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +446,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,10 +468,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -436,14 +482,16 @@ public Builder mergeFrom(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -452,6 +500,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -459,16 +509,17 @@ public java.lang.String getName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -476,6 +527,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -483,19 +536,25 @@ public java.lang.String getName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -503,7 +562,10 @@ public Builder setName(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -513,6 +575,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The field will contain name of the resource requested, for
      * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -520,22 +584,26 @@ public Builder clearName() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -545,41 +613,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTransferRunRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTransferRunRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -591,9 +661,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java index e7f3b36de58d..a0ea3524be87 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java @@ -1,14 +1,32 @@ +/* + * 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; -public interface GetTransferRunRequestOrBuilder extends +public interface GetTransferRunRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -16,11 +34,16 @@ public interface GetTransferRunRequestOrBuilder extends
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The field will contain name of the resource requested, for
    * example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
@@ -28,9 +51,11 @@ public interface GetTransferRunRequestOrBuilder extends
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java similarity index 67% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java index 60c14fa4b8c0..a085c10a6771 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Request to list supported data sources and their data transfer settings.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest} */ -public final class ListDataSourcesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataSourcesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) ListDataSourcesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataSourcesRequest.newBuilder() to construct. private ListDataSourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataSourcesRequest() { parent_ = ""; pageToken_ = ""; @@ -27,35 +45,42 @@ private ListDataSourcesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataSourcesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_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_ListDataSourcesRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,31 +89,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -97,9 +124,12 @@ public java.lang.String getParent() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -109,6 +139,7 @@ public java.lang.String getParent() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -117,14 +148,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -134,16 +166,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -154,11 +185,14 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -167,6 +201,7 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -205,8 +239,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -216,19 +249,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other = + (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -252,131 +283,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest 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.ListDataSourcesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesRequest 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.ListDataSourcesRequest 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.ListDataSourcesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest 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.ListDataSourcesRequest 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.ListDataSourcesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListDataSourcesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to list supported data sources and their data transfer settings.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_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_ListDataSourcesRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -388,13 +424,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance(); } @@ -409,13 +446,17 @@ public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result = + new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -432,46 +473,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListDataSou public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -511,27 +556,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -541,24 +590,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -567,22 +621,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -590,32 +647,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -625,19 +693,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The BigQuery project id for which data sources should be
      * returned. Must be in the form: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -647,6 +721,8 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -656,13 +732,13 @@ public Builder setParentBytes(
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -671,6 +747,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -680,15 +758,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -696,6 +773,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -705,18 +784,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -726,6 +809,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -735,6 +819,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListDataSourcesRequest` list results. For multiple-page
@@ -744,12 +830,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; @@ -757,13 +845,16 @@ public Builder setPageTokenBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -771,11 +862,14 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -787,11 +881,14 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -800,9 +897,9 @@ public Builder clearPageSize() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -812,41 +909,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataSourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataSourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -858,9 +957,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java index 6e0c5e34db84..4a0b6f865c99 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java @@ -1,38 +1,65 @@ +/* + * 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; -public interface ListDataSourcesRequestOrBuilder extends +public interface ListDataSourcesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The BigQuery project id for which data sources should be
    * returned. Must be in the form: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -42,10 +69,13 @@ public interface ListDataSourcesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListDataSourcesRequest` list results. For multiple-page
@@ -55,17 +85,20 @@ public interface ListDataSourcesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java similarity index 72% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java index d2b144b020f1..aa14f721ea6d 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Returns list of supported data sources and their metadata.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse} */ -public final class ListDataSourcesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataSourcesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) ListDataSourcesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataSourcesResponse.newBuilder() to construct. private ListDataSourcesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataSourcesResponse() { dataSources_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,28 +45,32 @@ private ListDataSourcesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataSourcesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_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_ListDataSourcesResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); } public static final int DATA_SOURCES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List dataSources_; /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
@@ -60,6 +82,8 @@ public java.util.List getD return dataSources_; } /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
@@ -67,11 +91,13 @@ public java.util.List getD * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataSourcesOrBuilderList() { return dataSources_; } /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
@@ -83,6 +109,8 @@ public int getDataSourcesCount() { return dataSources_.size(); } /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
@@ -94,6 +122,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSources(int i return dataSources_.get(index); } /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
@@ -107,9 +137,12 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -118,6 +151,7 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -126,14 +160,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -142,16 +177,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dataSources_.size(); i++) { output.writeMessage(1, dataSources_.get(i)); } @@ -189,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataSources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dataSources_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataSources_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other = + (com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) obj; - if (!getDataSourcesList() - .equals(other.getDataSourcesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDataSourcesList().equals(other.getDataSourcesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +269,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse 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.ListDataSourcesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListDataSourcesResponse 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.ListDataSourcesResponse 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.ListDataSourcesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse 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.ListDataSourcesResponse + 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.ListDataSourcesResponse 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.ListDataSourcesResponse + 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.ListDataSourcesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListDataSourcesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Returns list of supported data sources and their metadata.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_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_ListDataSourcesResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,13 +417,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance(); } @@ -399,14 +439,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result = + new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { if (dataSourcesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataSources_ = java.util.Collections.unmodifiableList(dataSources_); @@ -418,7 +462,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v } } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,46 +474,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListDataSou public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance()) + return this; if (dataSourcesBuilder_ == null) { if (!other.dataSources_.isEmpty()) { if (dataSources_.isEmpty()) { @@ -487,9 +536,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListDataSourc dataSourcesBuilder_ = null; dataSources_ = other.dataSources_; bitField0_ = (bitField0_ & ~0x00000001); - dataSourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDataSourcesFieldBuilder() : null; + dataSourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDataSourcesFieldBuilder() + : null; } else { dataSourcesBuilder_.addAllMessages(other.dataSources_); } @@ -526,30 +576,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.datatransfer.v1.DataSource m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.DataSource.parser(), - extensionRegistry); - if (dataSourcesBuilder_ == null) { - ensureDataSourcesIsMutable(); - dataSources_.add(m); - } else { - dataSourcesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.bigquery.datatransfer.v1.DataSource m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.DataSource.parser(), + extensionRegistry); + if (dataSourcesBuilder_ == null) { + ensureDataSourcesIsMutable(); + dataSources_.add(m); + } else { + dataSourcesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,28 +612,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List dataSources_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDataSourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataSources_ = new java.util.ArrayList(dataSources_); + dataSources_ = + new java.util.ArrayList( + dataSources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSource, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> dataSourcesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.DataSource, + com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> + dataSourcesBuilder_; /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - public java.util.List getDataSourcesList() { + public java.util.List + getDataSourcesList() { if (dataSourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(dataSources_); } else { @@ -588,6 +651,8 @@ public java.util.List getD } } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -602,6 +667,8 @@ public int getDataSourcesCount() { } } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -616,6 +683,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSources(int i } } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -637,6 +706,8 @@ public Builder setDataSources( return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -655,6 +726,8 @@ public Builder setDataSources( return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -675,6 +748,8 @@ public Builder addDataSources(com.google.cloud.bigquery.datatransfer.v1.DataSour return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -696,6 +771,8 @@ public Builder addDataSources( return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -714,6 +791,8 @@ public Builder addDataSources( return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -732,6 +811,8 @@ public Builder addDataSources( return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -742,8 +823,7 @@ public Builder addAllDataSources( java.lang.Iterable values) { if (dataSourcesBuilder_ == null) { ensureDataSourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataSources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataSources_); onChanged(); } else { dataSourcesBuilder_.addAllMessages(values); @@ -751,6 +831,8 @@ public Builder addAllDataSources( return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -768,6 +850,8 @@ public Builder clearDataSources() { return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -785,6 +869,8 @@ public Builder removeDataSources(int index) { return this; } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -796,6 +882,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder getDataSourc return getDataSourcesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -805,19 +893,22 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder getDataSourc public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBuilder( int index) { if (dataSourcesBuilder_ == null) { - return dataSources_.get(index); } else { + return dataSources_.get(index); + } else { return dataSourcesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - public java.util.List - getDataSourcesOrBuilderList() { + public java.util.List + getDataSourcesOrBuilderList() { if (dataSourcesBuilder_ != null) { return dataSourcesBuilder_.getMessageOrBuilderList(); } else { @@ -825,6 +916,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour } } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -832,10 +925,12 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourcesBuilder() { - return getDataSourcesFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); + return getDataSourcesFieldBuilder() + .addBuilder(com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
@@ -844,30 +939,36 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourc */ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourcesBuilder( int index) { - return getDataSourcesFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); + return getDataSourcesFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance()); } /** + * + * *
      * List of supported data sources and their transfer settings.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - public java.util.List - getDataSourcesBuilderList() { + public java.util.List + getDataSourcesBuilderList() { return getDataSourcesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSource, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.DataSource, + com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder> getDataSourcesFieldBuilder() { if (dataSourcesBuilder_ == null) { - dataSourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.DataSource, com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder>( - dataSources_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + dataSourcesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.DataSource, + com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder, + com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder>( + dataSources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dataSources_ = null; } return dataSourcesBuilder_; @@ -875,6 +976,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourc private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -883,13 +986,13 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourc
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -898,6 +1001,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -906,15 +1011,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -922,6 +1026,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -930,18 +1036,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -950,6 +1060,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -959,6 +1070,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -967,21 +1080,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,41 +1106,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataSourcesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataSourcesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1154,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java index 34724b45911f..8d3b4d1ac5ad 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * 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; -public interface ListDataSourcesResponseOrBuilder extends +public interface ListDataSourcesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - java.util.List - getDataSourcesList(); + java.util.List getDataSourcesList(); /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
@@ -26,6 +45,8 @@ public interface ListDataSourcesResponseOrBuilder extends */ com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSources(int index); /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
@@ -34,25 +55,30 @@ public interface ListDataSourcesResponseOrBuilder extends */ int getDataSourcesCount(); /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - java.util.List + java.util.List getDataSourcesOrBuilderList(); /** + * + * *
    * List of supported data sources and their transfer settings.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1; */ - com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBuilder( - int index); + com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBuilder(int index); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -61,10 +87,13 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBu
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -73,8 +102,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSourcesOrBu
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java similarity index 68% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java index b30b06196e19..a0b68db45243 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,59 +20,68 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to list data transfers configured for a BigQuery project.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest} */ -public final class ListTransferConfigsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTransferConfigsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) ListTransferConfigsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTransferConfigsRequest.newBuilder() to construct. private ListTransferConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTransferConfigsRequest() { parent_ = ""; - dataSourceIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTransferConfigsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_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_ListTransferConfigsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,38 +125,47 @@ public java.lang.String getParent() { } public static final int DATA_SOURCE_IDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; + * * @return A list containing the dataSourceIds. */ - public com.google.protobuf.ProtocolStringList - getDataSourceIdsList() { + public com.google.protobuf.ProtocolStringList getDataSourceIdsList() { return dataSourceIds_; } /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; + * * @return The count of dataSourceIds. */ public int getDataSourceIdsCount() { return dataSourceIds_.size(); } /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; + * * @param index The index of the element to return. * @return The dataSourceIds at the given index. */ @@ -138,23 +173,28 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * 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) { + public com.google.protobuf.ByteString getDataSourceIdsBytes(int index) { return dataSourceIds_.getByteString(index); } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -164,6 +204,7 @@ public java.lang.String getDataSourceIds(int index) {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -172,14 +213,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -189,16 +231,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -209,11 +250,14 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -222,6 +266,7 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +278,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -271,8 +315,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -282,21 +325,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getDataSourceIdsList() - .equals(other.getDataSourceIdsList())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other = + (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getDataSourceIdsList().equals(other.getDataSourceIdsList())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -324,152 +364,160 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest 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.ListTransferConfigsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsRequest 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.ListTransferConfigsRequest 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.ListTransferConfigsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest 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.ListTransferConfigsRequest + 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.ListTransferConfigsRequest 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.ListTransferConfigsRequest + 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.ListTransferConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListTransferConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to list data transfers configured for a BigQuery project.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_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_ListTransferConfigsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; parent_ = ""; - dataSourceIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); pageToken_ = ""; pageSize_ = 0; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest + .getDefaultInstance(); } @java.lang.Override @@ -483,13 +531,17 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest buil @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result = + new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -510,46 +562,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransfe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -599,33 +656,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureDataSourceIdsIsMutable(); - dataSourceIds_.add(s); - break; - } // case 18 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDataSourceIdsIsMutable(); + dataSourceIds_.add(s); + break; + } // case 18 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -635,24 +697,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -661,22 +728,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -684,32 +754,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -719,19 +800,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The BigQuery project id for which transfer configs
      * should be returned: `projects/{project_id}` or
      * `projects/{project_id}/locations/{location_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -741,6 +828,7 @@ public Builder setParentBytes( private com.google.protobuf.LazyStringArrayList dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDataSourceIdsIsMutable() { if (!dataSourceIds_.isModifiable()) { dataSourceIds_ = new com.google.protobuf.LazyStringArrayList(dataSourceIds_); @@ -748,35 +836,43 @@ private void ensureDataSourceIdsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; + * * @return A list containing the dataSourceIds. */ - public com.google.protobuf.ProtocolStringList - getDataSourceIdsList() { + public com.google.protobuf.ProtocolStringList getDataSourceIdsList() { dataSourceIds_.makeImmutable(); return dataSourceIds_; } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; + * * @return The count of dataSourceIds. */ public int getDataSourceIdsCount() { return dataSourceIds_.size(); } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; + * * @param index The index of the element to return. * @return The dataSourceIds at the given index. */ @@ -784,31 +880,37 @@ public java.lang.String getDataSourceIds(int index) { return dataSourceIds_.get(index); } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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) { + public com.google.protobuf.ByteString getDataSourceIdsBytes(int index) { return dataSourceIds_.getByteString(index); } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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(); } + public Builder setDataSourceIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDataSourceIdsIsMutable(); dataSourceIds_.set(index, value); bitField0_ |= 0x00000002; @@ -816,17 +918,21 @@ public Builder setDataSourceIds( return this; } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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(); } + public Builder addDataSourceIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); bitField0_ |= 0x00000002; @@ -834,50 +940,58 @@ public Builder addDataSourceIds( return this; } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; + * * @param values The dataSourceIds to add. * @return This builder for chaining. */ - public Builder addAllDataSourceIds( - java.lang.Iterable values) { + public Builder addAllDataSourceIds(java.lang.Iterable values) { ensureDataSourceIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataSourceIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataSourceIds_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * repeated string data_source_ids = 2; + * * @return This builder for chaining. */ public Builder clearDataSourceIds() { - dataSourceIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * When specified, only configurations of requested data sources are returned.
      * 
* * 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(); } + public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); @@ -888,6 +1002,8 @@ public Builder addDataSourceIdsBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -897,13 +1013,13 @@ public Builder addDataSourceIdsBytes(
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -912,6 +1028,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -921,15 +1039,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -937,6 +1054,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -946,18 +1065,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -967,6 +1090,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -976,6 +1100,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransfersRequest` list results. For multiple-page
@@ -985,12 +1111,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -998,13 +1126,16 @@ public Builder setPageTokenBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1012,11 +1143,14 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1028,11 +1162,14 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1041,9 +1178,9 @@ public Builder clearPageSize() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1053,41 +1190,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferConfigsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferConfigsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1099,9 +1238,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java index d64042310a6c..8dd0c1b478d1 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java @@ -1,79 +1,116 @@ +/* + * 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; -public interface ListTransferConfigsRequestOrBuilder extends +public interface ListTransferConfigsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The BigQuery project id for which transfer configs
    * should be returned: `projects/{project_id}` or
    * `projects/{project_id}/locations/{location_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; + * * @return A list containing the dataSourceIds. */ - java.util.List - getDataSourceIdsList(); + java.util.List getDataSourceIdsList(); /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * repeated string data_source_ids = 2; + * * @return The count of dataSourceIds. */ int getDataSourceIdsCount(); /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * 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); /** + * + * *
    * When specified, only configurations of requested data sources are returned.
    * 
* * 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); + com.google.protobuf.ByteString getDataSourceIdsBytes(int index); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -83,10 +120,13 @@ public interface ListTransferConfigsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransfersRequest` list results. For multiple-page
@@ -96,17 +136,20 @@ public interface ListTransferConfigsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java similarity index 62% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java index d5d381e1b328..cd105c609638 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * The returned list of pipelines in the project.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse} */ -public final class ListTransferConfigsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTransferConfigsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) ListTransferConfigsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTransferConfigsResponse.newBuilder() to construct. private ListTransferConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTransferConfigsResponse() { transferConfigs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,89 +45,115 @@ private ListTransferConfigsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTransferConfigsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_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_ListTransferConfigsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); } public static final int TRANSFER_CONFIGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List transferConfigs_; /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getTransferConfigsList() { + public java.util.List + getTransferConfigsList() { return transferConfigs_; } /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getTransferConfigsOrBuilderList() { return transferConfigs_; } /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getTransferConfigsCount() { return transferConfigs_.size(); } /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfigs(int index) { return transferConfigs_.get(index); } /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigsOrBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder + getTransferConfigsOrBuilder(int index) { return transferConfigs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -118,6 +162,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -126,14 +171,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -142,16 +188,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +205,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < transferConfigs_.size(); i++) { output.writeMessage(1, transferConfigs_.get(i)); } @@ -189,8 +234,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, transferConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +247,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other = + (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) obj; - if (!getTransferConfigsList() - .equals(other.getTransferConfigsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTransferConfigsList().equals(other.getTransferConfigsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +280,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse 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.ListTransferConfigsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferConfigsResponse 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.ListTransferConfigsResponse 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.ListTransferConfigsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse 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.ListTransferConfigsResponse + 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.ListTransferConfigsResponse 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.ListTransferConfigsResponse + 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.ListTransferConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListTransferConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The returned list of pipelines in the project.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_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_ListTransferConfigsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,14 +428,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + .getDefaultInstance(); } @java.lang.Override @@ -399,14 +451,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse bui @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result = + new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { if (transferConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { transferConfigs_ = java.util.Collections.unmodifiableList(transferConfigs_); @@ -418,7 +474,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v } } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,46 +486,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransfe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + .getDefaultInstance()) return this; if (transferConfigsBuilder_ == null) { if (!other.transferConfigs_.isEmpty()) { if (transferConfigs_.isEmpty()) { @@ -487,9 +549,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferC transferConfigsBuilder_ = null; transferConfigs_ = other.transferConfigs_; bitField0_ = (bitField0_ & ~0x00000001); - transferConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTransferConfigsFieldBuilder() : null; + transferConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTransferConfigsFieldBuilder() + : null; } else { transferConfigsBuilder_.addAllMessages(other.transferConfigs_); } @@ -526,30 +589,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.datatransfer.v1.TransferConfig m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.parser(), - extensionRegistry); - if (transferConfigsBuilder_ == null) { - ensureTransferConfigsIsMutable(); - transferConfigs_.add(m); - } else { - transferConfigsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.bigquery.datatransfer.v1.TransferConfig m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.parser(), + extensionRegistry); + if (transferConfigsBuilder_ == null) { + ensureTransferConfigsIsMutable(); + transferConfigs_.add(m); + } else { + transferConfigsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,28 +625,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List transferConfigs_ = - java.util.Collections.emptyList(); + private java.util.List + transferConfigs_ = java.util.Collections.emptyList(); + private void ensureTransferConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferConfigs_ = new java.util.ArrayList(transferConfigs_); + transferConfigs_ = + new java.util.ArrayList( + transferConfigs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> transferConfigsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + transferConfigsBuilder_; /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getTransferConfigsList() { + public java.util.List + getTransferConfigsList() { if (transferConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(transferConfigs_); } else { @@ -588,11 +666,15 @@ public java.util.List } } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getTransferConfigsCount() { if (transferConfigsBuilder_ == null) { @@ -602,11 +684,15 @@ public int getTransferConfigsCount() { } } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfigs(int index) { if (transferConfigsBuilder_ == null) { @@ -616,11 +702,15 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi } } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTransferConfigs( int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { @@ -637,14 +727,19 @@ public Builder setTransferConfigs( return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTransferConfigs( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { if (transferConfigsBuilder_ == null) { ensureTransferConfigsIsMutable(); transferConfigs_.set(index, builderForValue.build()); @@ -655,13 +750,18 @@ public Builder setTransferConfigs( return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder addTransferConfigs( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -675,11 +775,15 @@ public Builder addTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.Tran return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferConfigs( int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { @@ -696,11 +800,15 @@ public Builder addTransferConfigs( return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferConfigs( com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { @@ -714,14 +822,19 @@ public Builder addTransferConfigs( return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferConfigs( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { if (transferConfigsBuilder_ == null) { ensureTransferConfigsIsMutable(); transferConfigs_.add(index, builderForValue.build()); @@ -732,18 +845,22 @@ public Builder addTransferConfigs( return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllTransferConfigs( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (transferConfigsBuilder_ == null) { ensureTransferConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, transferConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferConfigs_); onChanged(); } else { transferConfigsBuilder_.addAllMessages(values); @@ -751,11 +868,15 @@ public Builder addAllTransferConfigs( return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTransferConfigs() { if (transferConfigsBuilder_ == null) { @@ -768,11 +889,15 @@ public Builder clearTransferConfigs() { return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeTransferConfigs(int index) { if (transferConfigsBuilder_ == null) { @@ -785,39 +910,53 @@ public Builder removeTransferConfigs(int index) { return this; } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder getTransferConfigsBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder + getTransferConfigsBuilder(int index) { return getTransferConfigsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigsOrBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder + getTransferConfigsOrBuilder(int index) { if (transferConfigsBuilder_ == null) { - return transferConfigs_.get(index); } else { + return transferConfigs_.get(index); + } else { return transferConfigsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTransferConfigsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + getTransferConfigsOrBuilderList() { if (transferConfigsBuilder_ != null) { return transferConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -825,45 +964,66 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran } } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder addTransferConfigsBuilder() { - return getTransferConfigsFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder + addTransferConfigsBuilder() { + return getTransferConfigsFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder addTransferConfigsBuilder( - int index) { - return getTransferConfigsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder + addTransferConfigsBuilder(int index) { + return getTransferConfigsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()); } /** + * + * *
      * Output only. The stored pipeline transfer configurations.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTransferConfigsBuilderList() { + public java.util.List + getTransferConfigsBuilderList() { return getTransferConfigsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> getTransferConfigsFieldBuilder() { if (transferConfigsBuilder_ == null) { - transferConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( + transferConfigsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( transferConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -875,6 +1035,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder addTrans private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -883,13 +1045,13 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder addTrans
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -898,6 +1060,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -906,15 +1070,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -922,6 +1085,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -930,18 +1095,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -950,6 +1119,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -959,6 +1129,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -967,21 +1139,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,41 +1165,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferConfigsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferConfigsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1213,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java index a5421827d475..e860a8617300 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java @@ -1,58 +1,95 @@ +/* + * 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; -public interface ListTransferConfigsResponseOrBuilder extends +public interface ListTransferConfigsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getTransferConfigsList(); + java.util.List getTransferConfigsList(); /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfigs(int index); /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getTransferConfigsCount(); /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getTransferConfigsOrBuilderList(); /** + * + * *
    * Output only. The stored pipeline transfer configurations.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_configs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigsOrBuilder( int index); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -61,10 +98,13 @@ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferCon
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -73,8 +113,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferCon
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java similarity index 65% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java index 551e5a547230..6298b8237c29 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to get user facing log messages associated with data transfer run.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest} */ -public final class ListTransferLogsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTransferLogsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) ListTransferLogsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTransferLogsRequest.newBuilder() to construct. private ListTransferLogsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTransferLogsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,35 +46,42 @@ private ListTransferLogsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTransferLogsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_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_ListTransferLogsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,9 +125,12 @@ public java.lang.String getParent() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -110,6 +140,7 @@ public java.lang.String getParent() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -118,14 +149,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -135,16 +167,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -155,11 +186,14 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_ = 0; /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -168,38 +202,62 @@ public int getPageSize() { } public static final int MESSAGE_TYPES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private java.util.List messageTypes_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity> messageTypes_converter_ = + java.lang.Integer, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity> + messageTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>() { - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity convert(java.lang.Integer from) { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber(from); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED : result; + java.lang.Integer, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>() { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity + convert(java.lang.Integer from) { + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity + .forNumber(from); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity + .UNRECOGNIZED + : result; } }; /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return A list containing the messageTypes. */ @java.lang.Override - public java.util.List getMessageTypesList() { + public java.util.List + getMessageTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>(messageTypes_, messageTypes_converter_); + java.lang.Integer, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>( + messageTypes_, messageTypes_converter_); } /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return The count of messageTypes. */ @java.lang.Override @@ -207,40 +265,55 @@ public int getMessageTypesCount() { return messageTypes_.size(); } /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index of the element to return. * @return The messageTypes at the given index. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes( + int index) { return messageTypes_converter_.convert(messageTypes_.get(index)); } /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return A list containing the enum numeric values on the wire for messageTypes. */ @java.lang.Override - public java.util.List - getMessageTypesValueList() { + public java.util.List getMessageTypesValueList() { return messageTypes_; } /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of messageTypes at the given index. */ @@ -248,9 +321,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity public int getMessageTypesValue(int index) { return messageTypes_.get(index); } + private int messageTypesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +337,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -297,20 +371,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_); } { int dataSize = 0; for (int i = 0; i < messageTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(messageTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(messageTypes_.get(i)); } size += dataSize; - if (!getMessageTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }messageTypesMemoizedSerializedSize = dataSize; + if (!getMessageTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + messageTypesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -320,19 +394,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other = + (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (!messageTypes_.equals(other.messageTypes_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -361,131 +433,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest 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.ListTransferLogsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsRequest 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.ListTransferLogsRequest 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.ListTransferLogsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest 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.ListTransferLogsRequest + 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.ListTransferLogsRequest 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.ListTransferLogsRequest + 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.ListTransferLogsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListTransferLogsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to get user facing log messages associated with data transfer run.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_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_ListTransferLogsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -499,13 +578,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance(); } @@ -520,14 +600,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result = + new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { if (((bitField0_ & 0x00000008) != 0)) { messageTypes_ = java.util.Collections.unmodifiableList(messageTypes_); bitField0_ = (bitField0_ & ~0x00000008); @@ -535,7 +619,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v result.messageTypes_ = messageTypes_; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -552,46 +637,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransfe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -641,44 +730,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 34: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 34 - case 40: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 40 - case 48: { - int tmpRaw = input.readEnum(); - ensureMessageTypesIsMutable(); - messageTypes_.add(tmpRaw); - break; - } // case 48 - case 50: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 34 + case 40: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 40 + case 48: + { int tmpRaw = input.readEnum(); ensureMessageTypesIsMutable(); messageTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 48 + case 50: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureMessageTypesIsMutable(); + messageTypes_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -688,24 +783,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -714,22 +814,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -737,32 +840,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -772,19 +886,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Transfer run name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -794,6 +914,8 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -803,13 +925,13 @@ public Builder setParentBytes(
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -818,6 +940,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -827,15 +951,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -843,6 +966,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -852,18 +977,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -873,6 +1002,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -882,6 +1012,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferLogsRequest` list results. For multiple-page
@@ -891,12 +1023,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; @@ -904,13 +1038,16 @@ public Builder setPageTokenBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -918,11 +1055,14 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 5; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -934,11 +1074,14 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 5; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -948,8 +1091,8 @@ public Builder clearPageSize() { return this; } - private java.util.List messageTypes_ = - java.util.Collections.emptyList(); + private java.util.List messageTypes_ = java.util.Collections.emptyList(); + private void ensureMessageTypesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { messageTypes_ = new java.util.ArrayList(messageTypes_); @@ -957,56 +1100,81 @@ private void ensureMessageTypesIsMutable() { } } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return A list containing the messageTypes. */ - public java.util.List getMessageTypesList() { + public java.util.List + getMessageTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>(messageTypes_, messageTypes_converter_); + java.lang.Integer, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>( + messageTypes_, messageTypes_converter_); } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return The count of messageTypes. */ public int getMessageTypesCount() { return messageTypes_.size(); } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index of the element to return. * @return The messageTypes at the given index. */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity + getMessageTypes(int index) { return messageTypes_converter_.convert(messageTypes_.get(index)); } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index to set the value at. * @param value The messageTypes to set. * @return This builder for chaining. */ public Builder setMessageTypes( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { + int index, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { if (value == null) { throw new NullPointerException(); } @@ -1016,16 +1184,22 @@ public Builder setMessageTypes( return this; } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param value The messageTypes to add. * @return This builder for chaining. */ - public Builder addMessageTypes(com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { + public Builder addMessageTypes( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { if (value == null) { throw new NullPointerException(); } @@ -1035,31 +1209,44 @@ public Builder addMessageTypes(com.google.cloud.bigquery.datatransfer.v1.Transfe return this; } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param values The messageTypes to add. * @return This builder for chaining. */ public Builder addAllMessageTypes( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity> + values) { ensureMessageTypesIsMutable(); - for (com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value : values) { + for (com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value : + values) { messageTypes_.add(value.getNumber()); } onChanged(); return this; } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return This builder for chaining. */ public Builder clearMessageTypes() { @@ -1069,25 +1256,34 @@ public Builder clearMessageTypes() { return this; } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return A list containing the enum numeric values on the wire for messageTypes. */ - public java.util.List - getMessageTypesValueList() { + public java.util.List getMessageTypesValueList() { return java.util.Collections.unmodifiableList(messageTypes_); } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of messageTypes at the given index. */ @@ -1095,30 +1291,39 @@ public int getMessageTypesValue(int index) { return messageTypes_.get(index); } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for messageTypes to set. * @return This builder for chaining. */ - public Builder setMessageTypesValue( - int index, int value) { + public Builder setMessageTypesValue(int index, int value) { ensureMessageTypesIsMutable(); messageTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param value The enum numeric value on the wire for messageTypes to add. * @return This builder for chaining. */ @@ -1129,17 +1334,21 @@ public Builder addMessageTypesValue(int value) { return this; } /** + * + * *
      * Message types to return. If not populated - INFO, WARNING and ERROR
      * messages are returned.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param values The enum numeric values on the wire for messageTypes to add. * @return This builder for chaining. */ - public Builder addAllMessageTypesValue( - java.lang.Iterable values) { + public Builder addAllMessageTypesValue(java.lang.Iterable values) { ensureMessageTypesIsMutable(); for (int value : values) { messageTypes_.add(value); @@ -1147,9 +1356,9 @@ public Builder addAllMessageTypesValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1159,41 +1368,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferLogsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferLogsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1205,9 +1416,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java index ac328bd5f25d..c1f81c9eca98 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java @@ -1,38 +1,65 @@ +/* + * 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; -public interface ListTransferLogsRequestOrBuilder extends +public interface ListTransferLogsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Transfer run name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -42,10 +69,13 @@ public interface ListTransferLogsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferLogsRequest` list results. For multiple-page
@@ -55,70 +85,99 @@ public interface ListTransferLogsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return A list containing the messageTypes. */ - java.util.List getMessageTypesList(); + java.util.List + getMessageTypesList(); /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return The count of messageTypes. */ int getMessageTypesCount(); /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index of the element to return. * @return The messageTypes at the given index. */ - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes(int index); + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes( + int index); /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @return A list containing the enum numeric values on the wire for messageTypes. */ - java.util.List - getMessageTypesValueList(); + java.util.List getMessageTypesValueList(); /** + * + * *
    * Message types to return. If not populated - INFO, WARNING and ERROR
    * messages are returned.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of messageTypes at the given index. */ diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java similarity index 62% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java index 84ea5d2a7f55..e5c856f18b85 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * The returned list transfer run messages.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse} */ -public final class ListTransferLogsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTransferLogsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) ListTransferLogsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTransferLogsResponse.newBuilder() to construct. private ListTransferLogsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTransferLogsResponse() { transferMessages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,89 +45,117 @@ private ListTransferLogsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTransferLogsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_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_ListTransferLogsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); } public static final int TRANSFER_MESSAGES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List transferMessages_; + private java.util.List + transferMessages_; /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getTransferMessagesList() { + public java.util.List + getTransferMessagesList() { return transferMessages_; } /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> getTransferMessagesOrBuilderList() { return transferMessages_; } /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getTransferMessagesCount() { return transferMessages_.size(); } /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages(int index) { return transferMessages_.get(index); } /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMessagesOrBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder + getTransferMessagesOrBuilder(int index) { return transferMessages_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -118,6 +164,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTra
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -126,14 +173,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -142,16 +190,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +207,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +219,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < transferMessages_.size(); i++) { output.writeMessage(1, transferMessages_.get(i)); } @@ -189,8 +236,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferMessages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, transferMessages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferMessages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +249,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other = + (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) obj; - if (!getTransferMessagesList() - .equals(other.getTransferMessagesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTransferMessagesList().equals(other.getTransferMessagesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +282,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse 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.ListTransferLogsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferLogsResponse 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.ListTransferLogsResponse 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.ListTransferLogsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse 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.ListTransferLogsResponse + 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.ListTransferLogsResponse 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.ListTransferLogsResponse + 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.ListTransferLogsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListTransferLogsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The returned list transfer run messages.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_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_ListTransferLogsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,14 +430,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse + .getDefaultInstance(); } @java.lang.Override @@ -399,14 +453,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result = + new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { if (transferMessagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { transferMessages_ = java.util.Collections.unmodifiableList(transferMessages_); @@ -418,7 +476,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v } } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,46 +488,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransfe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse + .getDefaultInstance()) return this; if (transferMessagesBuilder_ == null) { if (!other.transferMessages_.isEmpty()) { if (transferMessages_.isEmpty()) { @@ -487,9 +551,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferL transferMessagesBuilder_ = null; transferMessages_ = other.transferMessages_; bitField0_ = (bitField0_ & ~0x00000001); - transferMessagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTransferMessagesFieldBuilder() : null; + transferMessagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTransferMessagesFieldBuilder() + : null; } else { transferMessagesBuilder_.addAllMessages(other.transferMessages_); } @@ -526,30 +591,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.parser(), - extensionRegistry); - if (transferMessagesBuilder_ == null) { - ensureTransferMessagesIsMutable(); - transferMessages_.add(m); - } else { - transferMessagesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.bigquery.datatransfer.v1.TransferMessage m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.parser(), + extensionRegistry); + if (transferMessagesBuilder_ == null) { + ensureTransferMessagesIsMutable(); + transferMessages_.add(m); + } else { + transferMessagesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,28 +627,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List transferMessages_ = - java.util.Collections.emptyList(); + private java.util.List + transferMessages_ = java.util.Collections.emptyList(); + private void ensureTransferMessagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferMessages_ = new java.util.ArrayList(transferMessages_); + transferMessages_ = + new java.util.ArrayList( + transferMessages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferMessage, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> transferMessagesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferMessage, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> + transferMessagesBuilder_; /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getTransferMessagesList() { + public java.util.List + getTransferMessagesList() { if (transferMessagesBuilder_ == null) { return java.util.Collections.unmodifiableList(transferMessages_); } else { @@ -588,11 +668,15 @@ public java.util.List } } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getTransferMessagesCount() { if (transferMessagesBuilder_ == null) { @@ -602,13 +686,18 @@ public int getTransferMessagesCount() { } } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages(int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages( + int index) { if (transferMessagesBuilder_ == null) { return transferMessages_.get(index); } else { @@ -616,11 +705,15 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMess } } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTransferMessages( int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { @@ -637,14 +730,19 @@ public Builder setTransferMessages( return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTransferMessages( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { if (transferMessagesBuilder_ == null) { ensureTransferMessagesIsMutable(); transferMessages_.set(index, builderForValue.build()); @@ -655,13 +753,18 @@ public Builder setTransferMessages( return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addTransferMessages(com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { + public Builder addTransferMessages( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { if (transferMessagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -675,11 +778,15 @@ public Builder addTransferMessages(com.google.cloud.bigquery.datatransfer.v1.Tra return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferMessages( int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage value) { @@ -696,11 +803,15 @@ public Builder addTransferMessages( return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferMessages( com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { @@ -714,14 +825,19 @@ public Builder addTransferMessages( return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferMessages( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { + int index, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder builderForValue) { if (transferMessagesBuilder_ == null) { ensureTransferMessagesIsMutable(); transferMessages_.add(index, builderForValue.build()); @@ -732,18 +848,22 @@ public Builder addTransferMessages( return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllTransferMessages( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (transferMessagesBuilder_ == null) { ensureTransferMessagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, transferMessages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferMessages_); onChanged(); } else { transferMessagesBuilder_.addAllMessages(values); @@ -751,11 +871,15 @@ public Builder addAllTransferMessages( return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTransferMessages() { if (transferMessagesBuilder_ == null) { @@ -768,11 +892,15 @@ public Builder clearTransferMessages() { return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeTransferMessages(int index) { if (transferMessagesBuilder_ == null) { @@ -785,39 +913,53 @@ public Builder removeTransferMessages(int index) { return this; } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder getTransferMessagesBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder + getTransferMessagesBuilder(int index) { return getTransferMessagesFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMessagesOrBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder + getTransferMessagesOrBuilder(int index) { if (transferMessagesBuilder_ == null) { - return transferMessages_.get(index); } else { + return transferMessages_.get(index); + } else { return transferMessagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTransferMessagesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> + getTransferMessagesOrBuilderList() { if (transferMessagesBuilder_ != null) { return transferMessagesBuilder_.getMessageOrBuilderList(); } else { @@ -825,45 +967,67 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTra } } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder addTransferMessagesBuilder() { - return getTransferMessagesFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder + addTransferMessagesBuilder() { + return getTransferMessagesFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder addTransferMessagesBuilder( - int index) { - return getTransferMessagesFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder + addTransferMessagesBuilder(int index) { + return getTransferMessagesFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()); } /** + * + * *
      * Output only. The stored pipeline transfer messages.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTransferMessagesBuilderList() { + public java.util.List + getTransferMessagesBuilderList() { return getTransferMessagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferMessage, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferMessage, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> getTransferMessagesFieldBuilder() { if (transferMessagesBuilder_ == null) { - transferMessagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferMessage, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder>( + transferMessagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferMessage, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder>( transferMessages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -875,6 +1039,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder addTran private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -883,13 +1049,13 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder addTran
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -898,6 +1064,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -906,15 +1074,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -922,6 +1089,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -930,18 +1099,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -950,6 +1123,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -959,6 +1133,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -967,21 +1143,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,41 +1169,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferLogsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferLogsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1217,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java index 2e3c0bdb30d5..b373aa1ef5fb 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java @@ -1,58 +1,96 @@ +/* + * 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; -public interface ListTransferLogsResponseOrBuilder extends +public interface ListTransferLogsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getTransferMessagesList(); /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMessages(int index); /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getTransferMessagesCount(); /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getTransferMessagesOrBuilderList(); /** + * + * *
    * Output only. The stored pipeline transfer messages.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMessagesOrBuilder( int index); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -61,10 +99,13 @@ com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMe
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -73,8 +114,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMe
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java similarity index 69% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java index fc8b3fafa007..99913d8a9223 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to list data transfer runs.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest} */ -public final class ListTransferRunsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTransferRunsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) ListTransferRunsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTransferRunsRequest.newBuilder() to construct. private ListTransferRunsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTransferRunsRequest() { parent_ = ""; states_ = java.util.Collections.emptyList(); @@ -29,34 +47,38 @@ private ListTransferRunsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTransferRunsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_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_ListTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); } /** + * + * *
    * Represents which runs should be pulled.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt} */ - public enum RunAttempt - implements com.google.protobuf.ProtocolMessageEnum { + public enum RunAttempt implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * All runs should be returned.
      * 
@@ -65,6 +87,8 @@ public enum RunAttempt */ RUN_ATTEMPT_UNSPECIFIED(0), /** + * + * *
      * Only latest run per day should be returned.
      * 
@@ -76,6 +100,8 @@ public enum RunAttempt ; /** + * + * *
      * All runs should be returned.
      * 
@@ -84,6 +110,8 @@ public enum RunAttempt */ public static final int RUN_ATTEMPT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Only latest run per day should be returned.
      * 
@@ -92,7 +120,6 @@ public enum RunAttempt */ public static final int LATEST_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -117,48 +144,49 @@ public static RunAttempt valueOf(int value) { */ public static RunAttempt forNumber(int value) { switch (value) { - case 0: return RUN_ATTEMPT_UNSPECIFIED; - case 1: return LATEST; - default: return null; + case 0: + return RUN_ATTEMPT_UNSPECIFIED; + case 1: + return LATEST; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RunAttempt> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RunAttempt findValueByNumber(int number) { - return RunAttempt.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RunAttempt findValueByNumber(int number) { + return RunAttempt.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDescriptor() + .getEnumTypes() + .get(0); } private static final RunAttempt[] VALUES = values(); - public static RunAttempt valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RunAttempt valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -176,9 +204,12 @@ private RunAttempt(int value) { } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -186,7 +217,10 @@ private RunAttempt(int value) {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -195,14 +229,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -210,17 +245,18 @@ public java.lang.String getParent() {
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -229,36 +265,50 @@ public java.lang.String getParent() { } public static final int STATES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List states_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState> states_converter_ = + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState> + states_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>() { - public com.google.cloud.bigquery.datatransfer.v1.TransferState convert(java.lang.Integer from) { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(from); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; + public com.google.cloud.bigquery.datatransfer.v1.TransferState convert( + java.lang.Integer from) { + com.google.cloud.bigquery.datatransfer.v1.TransferState result = + com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(from); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED + : result; } }; /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return A list containing the states. */ @java.lang.Override public java.util.List getStatesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>(states_, states_converter_); + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>( + states_, states_converter_); } /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return The count of states. */ @java.lang.Override @@ -266,11 +316,14 @@ public int getStatesCount() { return states_.size(); } /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index of the element to return. * @return The states at the given index. */ @@ -279,24 +332,29 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int ind return states_converter_.convert(states_.get(index)); } /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return A list containing the enum numeric values on the wire for states. */ @java.lang.Override - public java.util.List - getStatesValueList() { + public java.util.List getStatesValueList() { return states_; } /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of states at the given index. */ @@ -304,12 +362,16 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int ind public int getStatesValue(int index) { return states_.get(index); } + private int statesMemoizedSerializedSize; public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -319,6 +381,7 @@ public int getStatesValue(int index) {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -327,14 +390,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -344,16 +408,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -364,11 +427,14 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -379,30 +445,48 @@ public int getPageSize() { public static final int RUN_ATTEMPT_FIELD_NUMBER = 5; private int runAttempt_ = 0; /** + * + * *
    * Indicates how run attempts are to be pulled.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @return The enum numeric value on the wire for runAttempt. */ - @java.lang.Override public int getRunAttemptValue() { + @java.lang.Override + public int getRunAttemptValue() { return runAttempt_; } /** + * + * *
    * Indicates how run attempts are to be pulled.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @return The runAttempt. */ - @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt getRunAttempt() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber(runAttempt_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt + getRunAttempt() { + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber( + runAttempt_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -414,8 +498,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -433,7 +516,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (pageSize_ != 0) { output.writeInt32(4, pageSize_); } - if (runAttempt_ != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.RUN_ATTEMPT_UNSPECIFIED.getNumber()) { + if (runAttempt_ + != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt + .RUN_ATTEMPT_UNSPECIFIED + .getNumber()) { output.writeEnum(5, runAttempt_); } getUnknownFields().writeTo(output); @@ -451,25 +537,26 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < states_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(states_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(states_.get(i)); } size += dataSize; - if (!getStatesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }statesMemoizedSerializedSize = dataSize; + if (!getStatesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + statesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } - if (runAttempt_ != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.RUN_ATTEMPT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, runAttempt_); + if (runAttempt_ + != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt + .RUN_ATTEMPT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, runAttempt_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -479,20 +566,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other = + (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!states_.equals(other.states_)) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (runAttempt_ != other.runAttempt_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -523,131 +608,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest 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.ListTransferRunsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsRequest 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.ListTransferRunsRequest 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.ListTransferRunsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest 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.ListTransferRunsRequest + 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.ListTransferRunsRequest 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.ListTransferRunsRequest + 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.ListTransferRunsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListTransferRunsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to list data transfer runs.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_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_ListTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -662,13 +754,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance(); } @@ -683,14 +776,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest build() @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result = + new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { if (((bitField0_ & 0x00000002) != 0)) { states_ = java.util.Collections.unmodifiableList(states_); bitField0_ = (bitField0_ & ~0x00000002); @@ -698,7 +795,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v result.states_ = states_; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -718,46 +816,50 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransfe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -810,49 +912,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - int tmpRaw = input.readEnum(); - ensureStatesIsMutable(); - states_.add(tmpRaw); - break; - } // case 16 - case 18: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { int tmpRaw = input.readEnum(); ensureStatesIsMutable(); states_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 18 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - runAttempt_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 16 + case 18: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureStatesIsMutable(); + states_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 18 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + runAttempt_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -862,10 +971,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -873,14 +985,16 @@ public Builder mergeFrom(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -889,6 +1003,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -896,16 +1012,17 @@ public java.lang.String getParent() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -913,6 +1030,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -920,19 +1039,25 @@ public java.lang.String getParent() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -940,7 +1065,10 @@ public Builder setParent(
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -950,6 +1078,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Name of transfer configuration for which transfer runs should be
      * retrieved. Format of transfer configuration resource name is:
@@ -957,13 +1087,17 @@ public Builder clearParent() {
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -971,8 +1105,8 @@ public Builder setParentBytes( return this; } - private java.util.List states_ = - java.util.Collections.emptyList(); + private java.util.List states_ = java.util.Collections.emptyList(); + private void ensureStatesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { states_ = new java.util.ArrayList(states_); @@ -980,34 +1114,44 @@ private void ensureStatesIsMutable() { } } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return A list containing the states. */ public java.util.List getStatesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>(states_, states_converter_); + java.lang.Integer, com.google.cloud.bigquery.datatransfer.v1.TransferState>( + states_, states_converter_); } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return The count of states. */ public int getStatesCount() { return states_.size(); } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index of the element to return. * @return The states at the given index. */ @@ -1015,11 +1159,14 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int ind return states_converter_.convert(states_.get(index)); } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index to set the value at. * @param value The states to set. * @return This builder for chaining. @@ -1035,11 +1182,14 @@ public Builder setStates( return this; } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param value The states to add. * @return This builder for chaining. */ @@ -1053,16 +1203,20 @@ public Builder addStates(com.google.cloud.bigquery.datatransfer.v1.TransferState return this; } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param values The states to add. * @return This builder for chaining. */ public Builder addAllStates( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureStatesIsMutable(); for (com.google.cloud.bigquery.datatransfer.v1.TransferState value : values) { states_.add(value.getNumber()); @@ -1071,11 +1225,14 @@ public Builder addAllStates( return this; } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return This builder for chaining. */ public Builder clearStates() { @@ -1085,23 +1242,28 @@ public Builder clearStates() { return this; } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return A list containing the enum numeric values on the wire for states. */ - public java.util.List - getStatesValueList() { + public java.util.List getStatesValueList() { return java.util.Collections.unmodifiableList(states_); } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of states at the given index. */ @@ -1109,28 +1271,33 @@ public int getStatesValue(int index) { return states_.get(index); } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for states to set. * @return This builder for chaining. */ - public Builder setStatesValue( - int index, int value) { + public Builder setStatesValue(int index, int value) { ensureStatesIsMutable(); states_.set(index, value); onChanged(); return this; } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param value The enum numeric value on the wire for states to add. * @return This builder for chaining. */ @@ -1141,16 +1308,18 @@ public Builder addStatesValue(int value) { return this; } /** + * + * *
      * When specified, only transfer runs with requested states are returned.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param values The enum numeric values on the wire for states to add. * @return This builder for chaining. */ - public Builder addAllStatesValue( - java.lang.Iterable values) { + public Builder addAllStatesValue(java.lang.Iterable values) { ensureStatesIsMutable(); for (int value : values) { states_.add(value); @@ -1161,6 +1330,8 @@ public Builder addAllStatesValue( private java.lang.Object pageToken_ = ""; /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1170,13 +1341,13 @@ public Builder addAllStatesValue(
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1185,6 +1356,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1194,15 +1367,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1210,6 +1382,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1219,18 +1393,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1240,6 +1418,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1249,6 +1428,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Pagination token, which can be used to request a specific page
      * of `ListTransferRunsRequest` list results. For multiple-page
@@ -1258,12 +1439,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1271,13 +1454,16 @@ public Builder setPageTokenBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1285,11 +1471,14 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1301,11 +1490,14 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Page size. The default page size is the maximum value of 1000 results.
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1317,22 +1509,33 @@ public Builder clearPageSize() { private int runAttempt_ = 0; /** + * + * *
      * Indicates how run attempts are to be pulled.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @return The enum numeric value on the wire for runAttempt. */ - @java.lang.Override public int getRunAttemptValue() { + @java.lang.Override + public int getRunAttemptValue() { return runAttempt_; } /** + * + * *
      * Indicates how run attempts are to be pulled.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @param value The enum numeric value on the wire for runAttempt to set. * @return This builder for chaining. */ @@ -1343,28 +1546,45 @@ public Builder setRunAttemptValue(int value) { return this; } /** + * + * *
      * Indicates how run attempts are to be pulled.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @return The runAttempt. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt getRunAttempt() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber(runAttempt_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.UNRECOGNIZED : result; + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt + getRunAttempt() { + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt result = + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt.forNumber( + runAttempt_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt + .UNRECOGNIZED + : result; } /** + * + * *
      * Indicates how run attempts are to be pulled.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @param value The runAttempt to set. * @return This builder for chaining. */ - public Builder setRunAttempt(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt value) { + public Builder setRunAttempt( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt value) { if (value == null) { throw new NullPointerException(); } @@ -1374,11 +1594,16 @@ public Builder setRunAttempt(com.google.cloud.bigquery.datatransfer.v1.ListTrans return this; } /** + * + * *
      * Indicates how run attempts are to be pulled.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @return This builder for chaining. */ public Builder clearRunAttempt() { @@ -1387,9 +1612,9 @@ public Builder clearRunAttempt() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1399,41 +1624,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferRunsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferRunsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1445,9 +1672,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java index fc167c71853b..86f082b0c7b0 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java @@ -1,14 +1,32 @@ +/* + * 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; -public interface ListTransferRunsRequestOrBuilder extends +public interface ListTransferRunsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -16,11 +34,16 @@ public interface ListTransferRunsRequestOrBuilder extends
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Name of transfer configuration for which transfer runs should be
    * retrieved. Format of transfer configuration resource name is:
@@ -28,62 +51,80 @@ public interface ListTransferRunsRequestOrBuilder extends
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return A list containing the states. */ java.util.List getStatesList(); /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return The count of states. */ int getStatesCount(); /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index of the element to return. * @return The states at the given index. */ com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int index); /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @return A list containing the enum numeric values on the wire for states. */ - java.util.List - getStatesValueList(); + java.util.List getStatesValueList(); /** + * + * *
    * When specified, only transfer runs with requested states are returned.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of states at the given index. */ int getStatesValue(int index); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -93,10 +134,13 @@ public interface ListTransferRunsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Pagination token, which can be used to request a specific page
    * of `ListTransferRunsRequest` list results. For multiple-page
@@ -106,36 +150,49 @@ public interface ListTransferRunsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Page size. The default page size is the maximum value of 1000 results.
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Indicates how run attempts are to be pulled.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @return The enum numeric value on the wire for runAttempt. */ int getRunAttemptValue(); /** + * + * *
    * Indicates how run attempts are to be pulled.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5; + * + * * @return The runAttempt. */ com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt getRunAttempt(); diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java similarity index 63% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java index 446cf8bf1248..32bacfa64182 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * The returned list of pipelines in the project.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse} */ -public final class ListTransferRunsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTransferRunsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) ListTransferRunsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTransferRunsResponse.newBuilder() to construct. private ListTransferRunsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTransferRunsResponse() { transferRuns_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,78 +45,101 @@ private ListTransferRunsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTransferRunsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_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_ListTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); } public static final int TRANSFER_RUNS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List transferRuns_; /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getTransferRunsList() { + public java.util.List + getTransferRunsList() { return transferRuns_; } /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getTransferRunsOrBuilderList() { return transferRuns_; } /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getTransferRunsCount() { return transferRuns_.size(); } /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int index) { return transferRuns_.get(index); } /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOrBuilder( @@ -107,9 +148,12 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransfe } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -118,6 +162,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransfe
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -126,14 +171,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -142,16 +188,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +205,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < transferRuns_.size(); i++) { output.writeMessage(1, transferRuns_.get(i)); } @@ -189,8 +234,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferRuns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, transferRuns_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferRuns_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +247,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other = + (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) obj; - if (!getTransferRunsList() - .equals(other.getTransferRunsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTransferRunsList().equals(other.getTransferRunsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +280,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse 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.ListTransferRunsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListTransferRunsResponse 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.ListTransferRunsResponse 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.ListTransferRunsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse 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.ListTransferRunsResponse + 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.ListTransferRunsResponse 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.ListTransferRunsResponse + 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.ListTransferRunsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ListTransferRunsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The returned list of pipelines in the project.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_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_ListTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,14 +428,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse + .getDefaultInstance(); } @java.lang.Override @@ -399,14 +451,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse build( @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result = + new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { if (transferRunsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { transferRuns_ = java.util.Collections.unmodifiableList(transferRuns_); @@ -418,7 +474,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v } } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,46 +486,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ListTransfe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse + .getDefaultInstance()) return this; if (transferRunsBuilder_ == null) { if (!other.transferRuns_.isEmpty()) { if (transferRuns_.isEmpty()) { @@ -487,9 +549,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ListTransferR transferRunsBuilder_ = null; transferRuns_ = other.transferRuns_; bitField0_ = (bitField0_ & ~0x00000001); - transferRunsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTransferRunsFieldBuilder() : null; + transferRunsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTransferRunsFieldBuilder() + : null; } else { transferRunsBuilder_.addAllMessages(other.transferRuns_); } @@ -526,30 +589,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.datatransfer.v1.TransferRun m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), - extensionRegistry); - if (transferRunsBuilder_ == null) { - ensureTransferRunsIsMutable(); - transferRuns_.add(m); - } else { - transferRunsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.bigquery.datatransfer.v1.TransferRun m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), + extensionRegistry); + if (transferRunsBuilder_ == null) { + ensureTransferRunsIsMutable(); + transferRuns_.add(m); + } else { + transferRunsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,28 +625,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List transferRuns_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTransferRunsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferRuns_ = new java.util.ArrayList(transferRuns_); + transferRuns_ = + new java.util.ArrayList( + transferRuns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> transferRunsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + transferRunsBuilder_; /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getTransferRunsList() { + public java.util.List + getTransferRunsList() { if (transferRunsBuilder_ == null) { return java.util.Collections.unmodifiableList(transferRuns_); } else { @@ -588,11 +666,15 @@ public java.util.List get } } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getTransferRunsCount() { if (transferRunsBuilder_ == null) { @@ -602,11 +684,15 @@ public int getTransferRunsCount() { } } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int index) { if (transferRunsBuilder_ == null) { @@ -616,11 +702,15 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int } } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { @@ -637,11 +727,15 @@ public Builder setTransferRuns( return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder builderForValue) { @@ -655,11 +749,15 @@ public Builder setTransferRuns( return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferRuns(com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (transferRunsBuilder_ == null) { @@ -675,11 +773,15 @@ public Builder addTransferRuns(com.google.cloud.bigquery.datatransfer.v1.Transfe return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { @@ -696,11 +798,15 @@ public Builder addTransferRuns( return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferRuns( com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder builderForValue) { @@ -714,11 +820,15 @@ public Builder addTransferRuns( return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTransferRuns( int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder builderForValue) { @@ -732,18 +842,22 @@ public Builder addTransferRuns( return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllTransferRuns( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (transferRunsBuilder_ == null) { ensureTransferRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, transferRuns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferRuns_); onChanged(); } else { transferRunsBuilder_.addAllMessages(values); @@ -751,11 +865,15 @@ public Builder addAllTransferRuns( return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTransferRuns() { if (transferRunsBuilder_ == null) { @@ -768,11 +886,15 @@ public Builder clearTransferRuns() { return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeTransferRuns(int index) { if (transferRunsBuilder_ == null) { @@ -785,39 +907,52 @@ public Builder removeTransferRuns(int index) { return this; } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getTransferRunsBuilder( int index) { return getTransferRunsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOrBuilder( int index) { if (transferRunsBuilder_ == null) { - return transferRuns_.get(index); } else { + return transferRuns_.get(index); + } else { return transferRunsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTransferRunsOrBuilderList() { + public java.util.List + getTransferRunsOrBuilderList() { if (transferRunsBuilder_ != null) { return transferRunsBuilder_.getMessageOrBuilderList(); } else { @@ -825,49 +960,65 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransfe } } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransferRunsBuilder() { - return getTransferRunsFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getTransferRunsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransferRunsBuilder( int index) { - return getTransferRunsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getTransferRunsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** + * + * *
      * Output only. The stored pipeline transfer runs.
      * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTransferRunsBuilderList() { + public java.util.List + getTransferRunsBuilderList() { return getTransferRunsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> getTransferRunsFieldBuilder() { if (transferRunsBuilder_ == null) { - transferRunsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( - transferRuns_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + transferRunsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( + transferRuns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); transferRuns_ = null; } return transferRunsBuilder_; @@ -875,6 +1026,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransfer private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -883,13 +1036,13 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransfer
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -898,6 +1051,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -906,15 +1061,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -922,6 +1076,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -930,18 +1086,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -950,6 +1110,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -959,6 +1120,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Output only. The next-pagination token. For multiple-page list results,
      * this token can be used as the
@@ -967,21 +1130,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,41 +1156,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferRunsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferRunsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1204,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java index a3ebd3673892..441f7eb074c7 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java @@ -1,58 +1,95 @@ +/* + * 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; -public interface ListTransferRunsResponseOrBuilder extends +public interface ListTransferRunsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getTransferRunsList(); + java.util.List getTransferRunsList(); /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRuns(int index); /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getTransferRunsCount(); /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getTransferRunsOrBuilderList(); /** + * + * *
    * Output only. The stored pipeline transfer runs.
    * 
* - * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun transfer_runs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOrBuilder( int index); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -61,10 +98,13 @@ com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOr
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. The next-pagination token. For multiple-page list results,
    * this token can be used as the
@@ -73,8 +113,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOr
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java 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/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java similarity index 76% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java index 68a2e3729f98..e1a4c80d4b90 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,48 +20,53 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Options customizing the data transfer schedule.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleOptions} */ -public final class ScheduleOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ScheduleOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ScheduleOptions) ScheduleOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ScheduleOptions.newBuilder() to construct. private ScheduleOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ScheduleOptions() { - } + + private ScheduleOptions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ScheduleOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); } private int bitField0_; public static final int DISABLE_AUTO_SCHEDULING_FIELD_NUMBER = 3; private boolean disableAutoScheduling_ = false; /** + * + * *
    * If true, automatic scheduling of data transfer runs for this configuration
    * will be disabled. The runs can be started on ad-hoc basis using
@@ -55,6 +75,7 @@ protected java.lang.Object newInstance(
    * 
* * bool disable_auto_scheduling = 3; + * * @return The disableAutoScheduling. */ @java.lang.Override @@ -65,6 +86,8 @@ public boolean getDisableAutoScheduling() { public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -74,6 +97,7 @@ public boolean getDisableAutoScheduling() {
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -81,6 +105,8 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -90,6 +116,7 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -97,6 +124,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -115,6 +144,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp endTime_;
   /**
+   *
+   *
    * 
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -123,6 +154,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -130,6 +162,8 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -138,6 +172,7 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -145,6 +180,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -160,6 +197,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -171,8 +209,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getStartTime());
     }
@@ -192,16 +229,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getStartTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
     }
     if (disableAutoScheduling_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(3, disableAutoScheduling_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, disableAutoScheduling_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -211,24 +245,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions other = (com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) obj;
+    com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions other =
+        (com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) obj;
 
-    if (getDisableAutoScheduling()
-        != other.getDisableAutoScheduling()) return false;
+    if (getDisableAutoScheduling() != other.getDisableAutoScheduling()) return false;
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime()
-          .equals(other.getStartTime())) return false;
+      if (!getStartTime().equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -242,8 +274,7 @@ public int hashCode() {
     int hash = 41;
     hash = (19 * hash) + getDescriptor().hashCode();
     hash = (37 * hash) + DISABLE_AUTO_SCHEDULING_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getDisableAutoScheduling());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableAutoScheduling());
     if (hasStartTime()) {
       hash = (37 * hash) + START_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getStartTime().hashCode();
@@ -258,119 +289,127 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleOptions parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions 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.ScheduleOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleOptions 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.ScheduleOptions 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.ScheduleOptions parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions 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.ScheduleOptions 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.ScheduleOptions parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      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.ScheduleOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Options customizing the data transfer schedule.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ScheduleOptions) com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.class, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.newBuilder() @@ -378,18 +417,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +448,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; } @java.lang.Override @@ -430,8 +469,11 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions result = new com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions result = + new com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -443,15 +485,11 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleOpt } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -461,38 +499,39 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleOpt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions) other); } else { super.mergeFrom(other); return this; @@ -500,7 +539,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) + return this; if (other.getDisableAutoScheduling() != false) { setDisableAutoScheduling(other.getDisableAutoScheduling()); } @@ -536,31 +576,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 24: { - disableAutoScheduling_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 24: + { + disableAutoScheduling_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -570,10 +610,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean disableAutoScheduling_ ; + private boolean disableAutoScheduling_; /** + * + * *
      * If true, automatic scheduling of data transfer runs for this configuration
      * will be disabled. The runs can be started on ad-hoc basis using
@@ -582,6 +625,7 @@ public Builder mergeFrom(
      * 
* * bool disable_auto_scheduling = 3; + * * @return The disableAutoScheduling. */ @java.lang.Override @@ -589,6 +633,8 @@ public boolean getDisableAutoScheduling() { return disableAutoScheduling_; } /** + * + * *
      * If true, automatic scheduling of data transfer runs for this configuration
      * will be disabled. The runs can be started on ad-hoc basis using
@@ -597,6 +643,7 @@ public boolean getDisableAutoScheduling() {
      * 
* * bool disable_auto_scheduling = 3; + * * @param value The disableAutoScheduling to set. * @return This builder for chaining. */ @@ -608,6 +655,8 @@ public Builder setDisableAutoScheduling(boolean value) { return this; } /** + * + * *
      * If true, automatic scheduling of data transfer runs for this configuration
      * will be disabled. The runs can be started on ad-hoc basis using
@@ -616,6 +665,7 @@ public Builder setDisableAutoScheduling(boolean value) {
      * 
* * bool disable_auto_scheduling = 3; + * * @return This builder for chaining. */ public Builder clearDisableAutoScheduling() { @@ -627,8 +677,13 @@ public Builder clearDisableAutoScheduling() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -638,12 +693,15 @@ public Builder clearDisableAutoScheduling() {
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -653,6 +711,7 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -663,6 +722,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -687,6 +748,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -697,8 +760,7 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 1;
      */
-    public Builder setStartTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
       } else {
@@ -709,6 +771,8 @@ public Builder setStartTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -721,9 +785,9 @@ public Builder setStartTime(
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          startTime_ != null &&
-          startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && startTime_ != null
+            && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getStartTimeBuilder().mergeFrom(value);
         } else {
           startTime_ = value;
@@ -738,6 +802,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -759,6 +825,8 @@ public Builder clearStartTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -775,6 +843,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -789,11 +859,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Specifies time to start scheduling transfer runs. The first run will be
      * scheduled at or after the start time according to a recurrence pattern
@@ -805,14 +876,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getStartTime(),
-                getParentForChildren(),
-                isClean());
+        startTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getStartTime(), getParentForChildren(), isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -820,8 +894,13 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        endTimeBuilder_;
     /**
+     *
+     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -830,12 +909,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -844,6 +926,7 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -854,6 +937,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -877,6 +962,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -886,8 +973,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -898,6 +984,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -909,9 +997,9 @@ public Builder setEndTime(
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          endTime_ != null &&
-          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && endTime_ != null
+            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -926,6 +1014,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -946,6 +1036,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -961,6 +1053,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -974,11 +1068,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Defines time to stop scheduling transfer runs. A transfer run cannot be
      * scheduled at or after the end time. The end time can be changed at any
@@ -989,21 +1084,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1013,12 +1111,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ScheduleOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ScheduleOptions)
   private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions();
   }
@@ -1027,27 +1125,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ScheduleOptions parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ScheduleOptions parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1062,6 +1160,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
similarity index 82%
rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
index ad59e6b42933..994416368412 100644
--- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
@@ -1,14 +1,32 @@
+/*
+ * 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/transfer.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.cloud.bigquery.datatransfer.v1;
 
-public interface ScheduleOptionsOrBuilder extends
+public interface ScheduleOptionsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ScheduleOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * If true, automatic scheduling of data transfer runs for this configuration
    * will be disabled. The runs can be started on ad-hoc basis using
@@ -17,11 +35,14 @@ public interface ScheduleOptionsOrBuilder extends
    * 
* * bool disable_auto_scheduling = 3; + * * @return The disableAutoScheduling. */ boolean getDisableAutoScheduling(); /** + * + * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -31,10 +52,13 @@ public interface ScheduleOptionsOrBuilder extends
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -44,10 +68,13 @@ public interface ScheduleOptionsOrBuilder extends
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Specifies time to start scheduling transfer runs. The first run will be
    * scheduled at or after the start time according to a recurrence pattern
@@ -61,6 +88,8 @@ public interface ScheduleOptionsOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -69,10 +98,13 @@ public interface ScheduleOptionsOrBuilder extends
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
@@ -81,10 +113,13 @@ public interface ScheduleOptionsOrBuilder extends
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Defines time to stop scheduling transfer runs. A transfer run cannot be
    * scheduled at or after the end time. The end time can be changed at any
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
similarity index 67%
rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
index f49fb4abe6d8..ee86a8894747 100644
--- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
@@ -1,3 +1,18 @@
+/*
+ * 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
 
@@ -5,57 +20,67 @@
 package com.google.cloud.bigquery.datatransfer.v1;
 
 /**
+ *
+ *
  * 
  * A request to schedule transfer runs for a time range.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest} */ -public final class ScheduleTransferRunsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ScheduleTransferRunsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) ScheduleTransferRunsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ScheduleTransferRunsRequest.newBuilder() to construct. private ScheduleTransferRunsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ScheduleTransferRunsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ScheduleTransferRunsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_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_ScheduleTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,31 +89,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,12 +126,16 @@ public java.lang.String getParent() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -112,12 +143,16 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startTime. */ @java.lang.Override @@ -125,12 +160,15 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -140,12 +178,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -153,12 +194,15 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The endTime. */ @java.lang.Override @@ -166,6 +210,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
@@ -179,6 +225,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -190,8 +237,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -214,12 +260,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getStartTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -229,24 +273,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other = (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) obj;
+    com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other =
+        (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
+    if (!getParent().equals(other.getParent())) return false;
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime()
-          .equals(other.getStartTime())) return false;
+      if (!getStartTime().equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -275,138 +317,148 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleTransferRunsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest
+      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.ScheduleTransferRunsRequest 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.ScheduleTransferRunsRequest
+      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.ScheduleTransferRunsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      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.ScheduleTransferRunsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A request to schedule transfer runs for a time range.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_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_ScheduleTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.newBuilder() + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,14 +478,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest + .getDefaultInstance(); } @java.lang.Override @@ -447,28 +501,28 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest bui @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result = + new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -478,46 +532,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleTra public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -555,31 +614,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -589,24 +648,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -615,22 +679,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -638,32 +705,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -673,19 +751,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
      * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -695,26 +779,37 @@ public Builder setParentBytes( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -725,12 +820,15 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -746,15 +844,17 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -765,18 +865,21 @@ public Builder setStartTime( return this; } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -791,12 +894,15 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -809,12 +915,15 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000002; @@ -822,38 +931,46 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Required. Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -861,26 +978,37 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -891,12 +1019,15 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -912,15 +1043,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -931,18 +1064,21 @@ public Builder setEndTime( return this; } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -957,12 +1093,15 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -975,12 +1114,15 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -988,45 +1130,53 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Required. End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1036,41 +1186,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ScheduleTransferRunsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ScheduleTransferRunsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1082,9 +1234,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java index 75d3a40539d3..906f4741dbce 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java @@ -1,88 +1,132 @@ +/* + * 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; -public interface ScheduleTransferRunsRequestOrBuilder extends +public interface ScheduleTransferRunsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
    * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Required. Start time of the range of transfer runs. For example,
    * `"2017-05-25T00:00:00+00:00"`.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
    * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Required. End time of the range of transfer runs. For example,
    * `"2017-05-30T00:00:00+00:00"`.
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
similarity index 67%
rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
index a82b174e6108..399505372a18 100644
--- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
@@ -1,3 +1,18 @@
+/*
+ * 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
 
@@ -5,49 +20,56 @@
 package com.google.cloud.bigquery.datatransfer.v1;
 
 /**
+ *
+ *
  * 
  * A response to schedule transfer runs for a time range.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse} */ -public final class ScheduleTransferRunsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ScheduleTransferRunsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) ScheduleTransferRunsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ScheduleTransferRunsResponse.newBuilder() to construct. private ScheduleTransferRunsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ScheduleTransferRunsResponse() { runs_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ScheduleTransferRunsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_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_ScheduleTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); } public static final int RUNS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List runs_; /** + * + * *
    * The transfer runs that were scheduled.
    * 
@@ -59,6 +81,8 @@ public java.util.List get return runs_; } /** + * + * *
    * The transfer runs that were scheduled.
    * 
@@ -66,11 +90,13 @@ public java.util.List get * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRunsOrBuilderList() { return runs_; } /** + * + * *
    * The transfer runs that were scheduled.
    * 
@@ -82,6 +108,8 @@ public int getRunsCount() { return runs_.size(); } /** + * + * *
    * The transfer runs that were scheduled.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) return runs_.get(index); } /** + * + * *
    * The transfer runs that were scheduled.
    * 
@@ -106,6 +136,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,8 +148,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < runs_.size(); i++) { output.writeMessage(1, runs_.get(i)); } @@ -132,8 +162,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < runs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, runs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, runs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -143,15 +172,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other = (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other = + (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) obj; - if (!getRunsList() - .equals(other.getRunsList())) return false; + if (!getRunsList().equals(other.getRunsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,131 +202,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ScheduleTransferRunsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse + 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.ScheduleTransferRunsResponse 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.ScheduleTransferRunsResponse + 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.ScheduleTransferRunsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.ScheduleTransferRunsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response to schedule transfer runs for a time range.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_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_ScheduleTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -313,19 +349,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse build() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = buildPartial(); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -334,14 +373,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse bu @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse(this); + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result = + new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { if (runsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { runs_ = java.util.Collections.unmodifiableList(runs_); @@ -353,7 +396,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v } } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse result) { int from_bitField0_ = bitField0_; } @@ -361,46 +405,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.ScheduleTra public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse)other); + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + .getDefaultInstance()) return this; if (runsBuilder_ == null) { if (!other.runs_.isEmpty()) { if (runs_.isEmpty()) { @@ -419,9 +468,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.ScheduleTrans runsBuilder_ = null; runs_ = other.runs_; bitField0_ = (bitField0_ & ~0x00000001); - runsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRunsFieldBuilder() : null; + runsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRunsFieldBuilder() + : null; } else { runsBuilder_.addAllMessages(other.runs_); } @@ -453,25 +503,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.datatransfer.v1.TransferRun m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), - extensionRegistry); - if (runsBuilder_ == null) { - ensureRunsIsMutable(); - runs_.add(m); - } else { - runsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.bigquery.datatransfer.v1.TransferRun m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), + extensionRegistry); + if (runsBuilder_ == null) { + ensureRunsIsMutable(); + runs_.add(m); + } else { + runsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -481,21 +533,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List runs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRunsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - runs_ = new java.util.ArrayList(runs_); + runs_ = + new java.util.ArrayList(runs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> runsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + runsBuilder_; /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -510,6 +570,8 @@ public java.util.List get } } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -524,6 +586,8 @@ public int getRunsCount() { } } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -538,14 +602,15 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) } } /** + * + * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder setRuns( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder setRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -559,6 +624,8 @@ public Builder setRuns( return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -577,6 +644,8 @@ public Builder setRuns( return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -597,14 +666,15 @@ public Builder addRuns(com.google.cloud.bigquery.datatransfer.v1.TransferRun val return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder addRuns( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder addRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -618,6 +688,8 @@ public Builder addRuns( return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -636,6 +708,8 @@ public Builder addRuns( return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -654,6 +728,8 @@ public Builder addRuns( return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -661,11 +737,11 @@ public Builder addRuns( * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public Builder addAllRuns( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (runsBuilder_ == null) { ensureRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, runs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, runs_); onChanged(); } else { runsBuilder_.addAllMessages(values); @@ -673,6 +749,8 @@ public Builder addAllRuns( return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -690,6 +768,8 @@ public Builder clearRuns() { return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -707,17 +787,20 @@ public Builder removeRuns(int index) { return this; } /** + * + * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder(int index) { return getRunsFieldBuilder().getBuilder(index); } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -727,19 +810,22 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuil public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( int index) { if (runsBuilder_ == null) { - return runs_.get(index); } else { + return runs_.get(index); + } else { return runsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsOrBuilderList() { + public java.util.List + getRunsOrBuilderList() { if (runsBuilder_ != null) { return runsBuilder_.getMessageOrBuilderList(); } else { @@ -747,6 +833,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } } /** + * + * *
      * The transfer runs that were scheduled.
      * 
@@ -754,49 +842,56 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder() { - return getRunsFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getRunsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** + * + * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder( - int index) { - return getRunsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder(int index) { + return getRunsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** + * + * *
      * The transfer runs that were scheduled.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsBuilderList() { + public java.util.List + getRunsBuilderList() { return getRunsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> getRunsFieldBuilder() { if (runsBuilder_ == null) { - runsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( - runs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + runsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( + runs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); runs_ = null; } return runsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -806,41 +901,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ScheduleTransferRunsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ScheduleTransferRunsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -852,9 +949,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java index db8b4d18ddad..3b45c2406542 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * 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; -public interface ScheduleTransferRunsResponseOrBuilder extends +public interface ScheduleTransferRunsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The transfer runs that were scheduled.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List - getRunsList(); + java.util.List getRunsList(); /** + * + * *
    * The transfer runs that were scheduled.
    * 
@@ -26,6 +45,8 @@ public interface ScheduleTransferRunsResponseOrBuilder extends */ com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index); /** + * + * *
    * The transfer runs that were scheduled.
    * 
@@ -34,21 +55,24 @@ public interface ScheduleTransferRunsResponseOrBuilder extends */ int getRunsCount(); /** + * + * *
    * The transfer runs that were scheduled.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List + java.util.List getRunsOrBuilderList(); /** + * + * *
    * The transfer runs that were scheduled.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( - int index); + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder(int index); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java similarity index 67% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java index e634118f3248..2e0a4f3a5646 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,50 +20,58 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to start manual transfer runs.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest} */ -public final class StartManualTransferRunsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StartManualTransferRunsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) StartManualTransferRunsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StartManualTransferRunsRequest.newBuilder() to construct. - private StartManualTransferRunsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StartManualTransferRunsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StartManualTransferRunsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StartManualTransferRunsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_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_StartManualTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder.class); } - public interface TimeRangeOrBuilder extends + public interface TimeRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -57,10 +80,13 @@ public interface TimeRangeOrBuilder extends
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -69,10 +95,13 @@ public interface TimeRangeOrBuilder extends
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -85,6 +114,8 @@ public interface TimeRangeOrBuilder extends
     com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
     /**
+     *
+     *
      * 
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -93,10 +124,13 @@ public interface TimeRangeOrBuilder extends
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -105,10 +139,13 @@ public interface TimeRangeOrBuilder extends
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -121,49 +158,57 @@ public interface TimeRangeOrBuilder extends
     com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
   }
   /**
+   *
+   *
    * 
    * A specification for a time range, this will request transfer runs with
    * run_time between start_time (inclusive) and end_time (exclusive).
    * 
* - * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} + * Protobuf type {@code + * google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} */ - public static final class TimeRange extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TimeRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) TimeRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimeRange.newBuilder() to construct. private TimeRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimeRange() { - } + + private TimeRange() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimeRange(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_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_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .class, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .Builder.class); } private int bitField0_; public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -172,6 +217,7 @@ protected java.lang.Object newInstance(
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -179,6 +225,8 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -187,6 +235,7 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -194,6 +243,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
      * Start time of the range of transfer runs. For example,
      * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -211,6 +262,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
     public static final int END_TIME_FIELD_NUMBER = 2;
     private com.google.protobuf.Timestamp endTime_;
     /**
+     *
+     *
      * 
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -219,6 +272,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -226,6 +280,8 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -234,6 +290,7 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -241,6 +298,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
      * End time of the range of transfer runs. For example,
      * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -256,6 +315,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -267,8 +327,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (((bitField0_ & 0x00000001) != 0)) {
         output.writeMessage(1, getStartTime());
       }
@@ -285,12 +344,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getStartTime());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
       }
       if (((bitField0_ & 0x00000002) != 0)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getEndTime());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -300,22 +357,23 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
-      if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)) {
+      if (!(obj
+          instanceof
+          com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)) {
         return super.equals(obj);
       }
-      com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange other = (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) obj;
+      com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange other =
+          (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) obj;
 
       if (hasStartTime() != other.hasStartTime()) return false;
       if (hasStartTime()) {
-        if (!getStartTime()
-            .equals(other.getStartTime())) return false;
+        if (!getStartTime().equals(other.getStartTime())) return false;
       }
       if (hasEndTime() != other.hasEndTime()) return false;
       if (hasEndTime()) {
-        if (!getEndTime()
-            .equals(other.getEndTime())) return false;
+        if (!getEndTime().equals(other.getEndTime())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -341,90 +399,102 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        parseFrom(java.nio.ByteBuffer data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        parseFrom(com.google.protobuf.ByteString data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange 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.StartManualTransferRunsRequest.TimeRange
+        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.StartManualTransferRunsRequest.TimeRange parseFrom(
-        com.google.protobuf.CodedInputStream 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.StartManualTransferRunsRequest.TimeRange
+        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 Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+            prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -434,47 +504,57 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A specification for a time range, this will request transfer runs with
      * run_time between start_time (inclusive) and end_time (exclusive).
      * 
* - * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} + * Protobuf type {@code + * google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRangeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_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_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .class, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .Builder.class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.newBuilder() + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -493,19 +573,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange build() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = buildPartial(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + build() { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -513,26 +597,29 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest. } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + buildPartial() { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result = + new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -542,46 +629,57 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManual public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)other); + if (other + instanceof + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) { + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance()) return this; if (other.hasStartTime()) { mergeStartTime(other.getStartTime()); } @@ -614,26 +712,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -643,12 +740,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -657,12 +760,15 @@ public Builder mergeFrom(
        * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -671,16 +777,21 @@ public boolean hasStartTime() {
        * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** + * + * *
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -704,6 +815,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -713,8 +826,7 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp start_time = 1;
        */
-      public Builder setStartTime(
-          com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
         if (startTimeBuilder_ == null) {
           startTime_ = builderForValue.build();
         } else {
@@ -725,6 +837,8 @@ public Builder setStartTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -736,9 +850,9 @@ public Builder setStartTime(
        */
       public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
         if (startTimeBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0) &&
-            startTime_ != null &&
-            startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0)
+              && startTime_ != null
+              && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getStartTimeBuilder().mergeFrom(value);
           } else {
             startTime_ = value;
@@ -753,6 +867,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -773,6 +889,8 @@ public Builder clearStartTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -788,6 +906,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
         return getStartTimeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -801,11 +921,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
         if (startTimeBuilder_ != null) {
           return startTimeBuilder_.getMessageOrBuilder();
         } else {
-          return startTime_ == null ?
-              com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+          return startTime_ == null
+              ? com.google.protobuf.Timestamp.getDefaultInstance()
+              : startTime_;
         }
       }
       /**
+       *
+       *
        * 
        * Start time of the range of transfer runs. For example,
        * `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
@@ -816,14 +939,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
        * .google.protobuf.Timestamp start_time = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
           getStartTimeFieldBuilder() {
         if (startTimeBuilder_ == null) {
-          startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                  getStartTime(),
-                  getParentForChildren(),
-                  isClean());
+          startTimeBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Timestamp,
+                  com.google.protobuf.Timestamp.Builder,
+                  com.google.protobuf.TimestampOrBuilder>(
+                  getStartTime(), getParentForChildren(), isClean());
           startTime_ = null;
         }
         return startTimeBuilder_;
@@ -831,8 +957,13 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
       private com.google.protobuf.Timestamp endTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
+          endTimeBuilder_;
       /**
+       *
+       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -841,12 +972,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
        * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -855,6 +989,7 @@ public boolean hasEndTime() {
        * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -865,6 +1000,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -888,6 +1025,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -897,8 +1036,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp end_time = 2;
        */
-      public Builder setEndTime(
-          com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
         if (endTimeBuilder_ == null) {
           endTime_ = builderForValue.build();
         } else {
@@ -909,6 +1047,8 @@ public Builder setEndTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -920,9 +1060,9 @@ public Builder setEndTime(
        */
       public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
         if (endTimeBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0) &&
-            endTime_ != null &&
-            endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0)
+              && endTime_ != null
+              && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getEndTimeBuilder().mergeFrom(value);
           } else {
             endTime_ = value;
@@ -937,6 +1077,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -957,6 +1099,8 @@ public Builder clearEndTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -972,6 +1116,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
         return getEndTimeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -985,11 +1131,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
         if (endTimeBuilder_ != null) {
           return endTimeBuilder_.getMessageOrBuilder();
         } else {
-          return endTime_ == null ?
-              com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+          return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
         }
       }
       /**
+       *
+       *
        * 
        * End time of the range of transfer runs. For example,
        * `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
@@ -1000,18 +1147,22 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
        * .google.protobuf.Timestamp end_time = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
           getEndTimeFieldBuilder() {
         if (endTimeBuilder_ == null) {
-          endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                  getEndTime(),
-                  getParentForChildren(),
-                  isClean());
+          endTimeBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Timestamp,
+                  com.google.protobuf.Timestamp.Builder,
+                  com.google.protobuf.TimestampOrBuilder>(
+                  getEndTime(), getParentForChildren(), isClean());
           endTime_ = null;
         }
         return endTimeBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1024,41 +1175,46 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
-    private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange DEFAULT_INSTANCE;
+    private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
+            .TimeRange
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange();
+      DEFAULT_INSTANCE =
+          new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange();
     }
 
-    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getDefaultInstance() {
+    public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public TimeRange parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public TimeRange parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1070,22 +1226,26 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int timeCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object time_;
+
   public enum TimeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     REQUESTED_TIME_RANGE(3),
     REQUESTED_RUN_TIME(4),
     TIME_NOT_SET(0);
     private final int value;
+
     private TimeCase(int value) {
       this.value = value;
     }
@@ -1101,27 +1261,33 @@ public static TimeCase valueOf(int value) {
 
     public static TimeCase forNumber(int value) {
       switch (value) {
-        case 3: return REQUESTED_TIME_RANGE;
-        case 4: return REQUESTED_RUN_TIME;
-        case 0: return TIME_NOT_SET;
-        default: return null;
+        case 3:
+          return REQUESTED_TIME_RANGE;
+        case 4:
+          return REQUESTED_RUN_TIME;
+        case 0:
+          return TIME_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TimeCase
-  getTimeCase() {
-    return TimeCase.forNumber(
-        timeCase_);
+  public TimeCase getTimeCase() {
+    return TimeCase.forNumber(timeCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1129,6 +1295,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The parent. */ @java.lang.Override @@ -1137,14 +1304,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1152,16 +1320,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1171,6 +1338,8 @@ public java.lang.String getParent() { public static final int REQUESTED_TIME_RANGE_FIELD_NUMBER = 3; /** + * + * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1178,7 +1347,10 @@ public java.lang.String getParent() {
    * values.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * * @return Whether the requestedTimeRange field is set. */ @java.lang.Override @@ -1186,6 +1358,8 @@ public boolean hasRequestedTimeRange() { return timeCase_ == 3; } /** + * + * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1193,17 +1367,25 @@ public boolean hasRequestedTimeRange() {
    * values.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * * @return The requestedTimeRange. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getRequestedTimeRange() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + getRequestedTimeRange() { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) + time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance(); } /** + * + * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1211,18 +1393,25 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.
    * values.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder getRequestedTimeRangeOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder + getRequestedTimeRangeOrBuilder() { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) + time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance(); } public static final int REQUESTED_RUN_TIME_FIELD_NUMBER = 4; /** + * + * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1231,6 +1420,7 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; + * * @return Whether the requestedRunTime field is set. */ @java.lang.Override @@ -1238,6 +1428,8 @@ public boolean hasRequestedRunTime() { return timeCase_ == 4; } /** + * + * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1246,16 +1438,19 @@ public boolean hasRequestedRunTime() {
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; + * * @return The requestedRunTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRequestedRunTime() { if (timeCase_ == 4) { - return (com.google.protobuf.Timestamp) time_; + return (com.google.protobuf.Timestamp) time_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -1268,12 +1463,13 @@ public com.google.protobuf.Timestamp getRequestedRunTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getRequestedRunTimeOrBuilder() {
     if (timeCase_ == 4) {
-       return (com.google.protobuf.Timestamp) time_;
+      return (com.google.protobuf.Timestamp) time_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1285,13 +1481,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
     if (timeCase_ == 3) {
-      output.writeMessage(3, (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_);
+      output.writeMessage(
+          3,
+          (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
+              time_);
     }
     if (timeCase_ == 4) {
       output.writeMessage(4, (com.google.protobuf.Timestamp) time_);
@@ -1309,12 +1507,16 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (timeCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3,
+              (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange)
+                  time_);
     }
     if (timeCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.protobuf.Timestamp) time_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.protobuf.Timestamp) time_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1324,24 +1526,23 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
-    if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)) {
+    if (!(obj
+        instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other = (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) obj;
+    com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other =
+        (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
+    if (!getParent().equals(other.getParent())) return false;
     if (!getTimeCase().equals(other.getTimeCase())) return false;
     switch (timeCase_) {
       case 3:
-        if (!getRequestedTimeRange()
-            .equals(other.getRequestedTimeRange())) return false;
+        if (!getRequestedTimeRange().equals(other.getRequestedTimeRange())) return false;
         break;
       case 4:
-        if (!getRequestedRunTime()
-            .equals(other.getRequestedRunTime())) return false;
+        if (!getRequestedRunTime().equals(other.getRequestedRunTime())) return false;
         break;
       case 0:
       default:
@@ -1377,131 +1578,139 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.StartManualTransferRunsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest
+      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.StartManualTransferRunsRequest 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.StartManualTransferRunsRequest
+      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.StartManualTransferRunsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      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.StartManualTransferRunsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A request to start manual transfer runs.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_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_StartManualTransferRunsRequest_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.Builder + .class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1519,19 +1728,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest build() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = buildPartial(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1540,29 +1752,32 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result = + new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } } - private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { + private void buildPartialOneofs( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest result) { result.timeCase_ = timeCase_; result.time_ = this.time_; - if (timeCase_ == 3 && - requestedTimeRangeBuilder_ != null) { + if (timeCase_ == 3 && requestedTimeRangeBuilder_ != null) { result.time_ = requestedTimeRangeBuilder_.build(); } - if (timeCase_ == 4 && - requestedRunTimeBuilder_ != null) { + if (timeCase_ == 4 && requestedRunTimeBuilder_ != null) { result.time_ = requestedRunTimeBuilder_.build(); } } @@ -1571,63 +1786,72 @@ private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.StartM public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)other); + if (other + instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) { + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; onChanged(); } switch (other.getTimeCase()) { - case REQUESTED_TIME_RANGE: { - mergeRequestedTimeRange(other.getRequestedTimeRange()); - break; - } - case REQUESTED_RUN_TIME: { - mergeRequestedRunTime(other.getRequestedRunTime()); - break; - } - case TIME_NOT_SET: { - break; - } + case REQUESTED_TIME_RANGE: + { + mergeRequestedTimeRange(other.getRequestedTimeRange()); + break; + } + case REQUESTED_RUN_TIME: + { + mergeRequestedRunTime(other.getRequestedRunTime()); + break; + } + case TIME_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1655,31 +1879,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - input.readMessage( - getRequestedTimeRangeFieldBuilder().getBuilder(), - extensionRegistry); - timeCase_ = 3; - break; - } // case 26 - case 34: { - input.readMessage( - getRequestedRunTimeFieldBuilder().getBuilder(), - extensionRegistry); - timeCase_ = 4; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + input.readMessage( + getRequestedTimeRangeFieldBuilder().getBuilder(), extensionRegistry); + timeCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage( + getRequestedRunTimeFieldBuilder().getBuilder(), extensionRegistry); + timeCase_ = 4; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1689,12 +1915,12 @@ public Builder mergeFrom( } // finally return this; } + private int timeCase_ = 0; private java.lang.Object time_; - public TimeCase - getTimeCase() { - return TimeCase.forNumber( - timeCase_); + + public TimeCase getTimeCase() { + return TimeCase.forNumber(timeCase_); } public Builder clearTime() { @@ -1708,6 +1934,8 @@ public Builder clearTime() { private java.lang.Object parent_ = ""; /** + * + * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1715,13 +1943,13 @@ public Builder clearTime() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1730,6 +1958,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1737,15 +1967,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1753,6 +1982,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1760,18 +1991,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1779,6 +2014,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1788,6 +2024,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Transfer configuration name in the form:
      * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -1795,12 +2033,14 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1809,8 +2049,15 @@ public Builder setParentBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder> requestedTimeRangeBuilder_; + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .Builder, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRangeOrBuilder> + requestedTimeRangeBuilder_; /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1818,7 +2065,10 @@ public Builder setParentBytes(
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * * @return Whether the requestedTimeRange field is set. */ @java.lang.Override @@ -1826,6 +2076,8 @@ public boolean hasRequestedTimeRange() { return timeCase_ == 3; } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1833,24 +2085,34 @@ public boolean hasRequestedTimeRange() {
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * * @return The requestedTimeRange. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getRequestedTimeRange() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + getRequestedTimeRange() { if (requestedTimeRangeBuilder_ == null) { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRange) + time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance(); } else { if (timeCase_ == 3) { return requestedTimeRangeBuilder_.getMessage(); } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance(); } } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1858,9 +2120,12 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ - public Builder setRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { + public Builder setRequestedTimeRange( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { if (requestedTimeRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1874,6 +2139,8 @@ public Builder setRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1.S return this; } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1881,10 +2148,13 @@ public Builder setRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1.S
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ public Builder setRequestedTimeRange( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder builderForValue) { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder + builderForValue) { if (requestedTimeRangeBuilder_ == null) { time_ = builderForValue.build(); onChanged(); @@ -1895,6 +2165,8 @@ public Builder setRequestedTimeRange( return this; } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1902,14 +2174,25 @@ public Builder setRequestedTimeRange(
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ - public Builder mergeRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { + public Builder mergeRequestedTimeRange( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange value) { if (requestedTimeRangeBuilder_ == null) { - if (timeCase_ == 3 && - time_ != com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance()) { - time_ = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.newBuilder((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_) - .mergeFrom(value).buildPartial(); + if (timeCase_ == 3 + && time_ + != com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRange.getDefaultInstance()) { + time_ = + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .newBuilder( + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRange) + time_) + .mergeFrom(value) + .buildPartial(); } else { time_ = value; } @@ -1925,6 +2208,8 @@ public Builder mergeRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1 return this; } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1932,7 +2217,9 @@ public Builder mergeRequestedTimeRange(com.google.cloud.bigquery.datatransfer.v1
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ public Builder clearRequestedTimeRange() { if (requestedTimeRangeBuilder_ == null) { @@ -1951,6 +2238,8 @@ public Builder clearRequestedTimeRange() { return this; } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1958,12 +2247,18 @@ public Builder clearRequestedTimeRange() {
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder getRequestedTimeRangeBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .Builder + getRequestedTimeRangeBuilder() { return getRequestedTimeRangeFieldBuilder().getBuilder(); } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1971,20 +2266,29 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder getRequestedTimeRangeOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRangeOrBuilder + getRequestedTimeRangeOrBuilder() { if ((timeCase_ == 3) && (requestedTimeRangeBuilder_ != null)) { return requestedTimeRangeBuilder_.getMessageOrBuilder(); } else { if (timeCase_ == 3) { - return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_; + return (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRange) + time_; } - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance(); } } /** + * + * *
      * A time_range start and end timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -1992,18 +2296,32 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.
      * values.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .Builder, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRangeOrBuilder> getRequestedTimeRangeFieldBuilder() { if (requestedTimeRangeBuilder_ == null) { if (!(timeCase_ == 3)) { - time_ = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.getDefaultInstance(); + time_ = + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .getDefaultInstance(); } - requestedTimeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange.Builder, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder>( - (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) time_, + requestedTimeRangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + .Builder, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest + .TimeRangeOrBuilder>( + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange) + time_, getParentForChildren(), isClean()); time_ = null; @@ -2014,8 +2332,13 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest. } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestedRunTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + requestedRunTimeBuilder_; /** + * + * *
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2024,6 +2347,7 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.
      * 
* * .google.protobuf.Timestamp requested_run_time = 4; + * * @return Whether the requestedRunTime field is set. */ @java.lang.Override @@ -2031,6 +2355,8 @@ public boolean hasRequestedRunTime() { return timeCase_ == 4; } /** + * + * *
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2039,6 +2365,7 @@ public boolean hasRequestedRunTime() {
      * 
* * .google.protobuf.Timestamp requested_run_time = 4; + * * @return The requestedRunTime. */ @java.lang.Override @@ -2056,6 +2383,8 @@ public com.google.protobuf.Timestamp getRequestedRunTime() { } } /** + * + * *
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2079,6 +2408,8 @@ public Builder setRequestedRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2088,8 +2419,7 @@ public Builder setRequestedRunTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp requested_run_time = 4;
      */
-    public Builder setRequestedRunTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setRequestedRunTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (requestedRunTimeBuilder_ == null) {
         time_ = builderForValue.build();
         onChanged();
@@ -2100,6 +2430,8 @@ public Builder setRequestedRunTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2111,10 +2443,11 @@ public Builder setRequestedRunTime(
      */
     public Builder mergeRequestedRunTime(com.google.protobuf.Timestamp value) {
       if (requestedRunTimeBuilder_ == null) {
-        if (timeCase_ == 4 &&
-            time_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          time_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) time_)
-              .mergeFrom(value).buildPartial();
+        if (timeCase_ == 4 && time_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          time_ =
+              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) time_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           time_ = value;
         }
@@ -2130,6 +2463,8 @@ public Builder mergeRequestedRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2156,6 +2491,8 @@ public Builder clearRequestedRunTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2169,6 +2506,8 @@ public com.google.protobuf.Timestamp.Builder getRequestedRunTimeBuilder() {
       return getRequestedRunTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2190,6 +2529,8 @@ public com.google.protobuf.TimestampOrBuilder getRequestedRunTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A run_time timestamp for historical data files or reports
      * that are scheduled to be transferred by the scheduled transfer run.
@@ -2200,26 +2541,29 @@ public com.google.protobuf.TimestampOrBuilder getRequestedRunTimeOrBuilder() {
      * .google.protobuf.Timestamp requested_run_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getRequestedRunTimeFieldBuilder() {
       if (requestedRunTimeBuilder_ == null) {
         if (!(timeCase_ == 4)) {
           time_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        requestedRunTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) time_,
-                getParentForChildren(),
-                isClean());
+        requestedRunTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) time_, getParentForChildren(), isClean());
         time_ = null;
       }
       timeCase_ = 4;
       onChanged();
       return requestedRunTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2229,41 +2573,44 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)
-  private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest DEFAULT_INSTANCE;
+  private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
+      DEFAULT_INSTANCE;
+
   static {
-    DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest();
+    DEFAULT_INSTANCE =
+        new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest();
   }
 
-  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest getDefaultInstance() {
+  public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public StartManualTransferRunsRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public StartManualTransferRunsRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2275,9 +2622,8 @@ public com.google.protobuf.Parser getParserForTy
   }
 
   @java.lang.Override
-  public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest getDefaultInstanceForType() {
+  public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
similarity index 72%
rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
index 5012792d35e7..e80292f89be9 100644
--- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
@@ -1,14 +1,32 @@
+/*
+ * 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;
 
-public interface StartManualTransferRunsRequestOrBuilder extends
+public interface StartManualTransferRunsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -16,10 +34,13 @@ public interface StartManualTransferRunsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Transfer configuration name in the form:
    * `projects/{project_id}/transferConfigs/{config_id}` or
@@ -27,12 +48,14 @@ public interface StartManualTransferRunsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -40,11 +63,16 @@ public interface StartManualTransferRunsRequestOrBuilder extends
    * values.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * * @return Whether the requestedTimeRange field is set. */ boolean hasRequestedTimeRange(); /** + * + * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -52,11 +80,17 @@ public interface StartManualTransferRunsRequestOrBuilder extends
    * values.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * * @return The requestedTimeRange. */ - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange getRequestedTimeRange(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange + getRequestedTimeRange(); /** + * + * *
    * A time_range start and end timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -64,11 +98,16 @@ public interface StartManualTransferRunsRequestOrBuilder extends
    * values.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * + * .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3; + * */ - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder getRequestedTimeRangeOrBuilder(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeOrBuilder + getRequestedTimeRangeOrBuilder(); /** + * + * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -77,10 +116,13 @@ public interface StartManualTransferRunsRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; + * * @return Whether the requestedRunTime field is set. */ boolean hasRequestedRunTime(); /** + * + * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
@@ -89,10 +131,13 @@ public interface StartManualTransferRunsRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp requested_run_time = 4; + * * @return The requestedRunTime. */ com.google.protobuf.Timestamp getRequestedRunTime(); /** + * + * *
    * A run_time timestamp for historical data files or reports
    * that are scheduled to be transferred by the scheduled transfer run.
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
similarity index 66%
rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
index 32f8c99911f2..95947e599cbf 100644
--- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
@@ -1,3 +1,18 @@
+/*
+ * 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
 
@@ -5,49 +20,58 @@
 package com.google.cloud.bigquery.datatransfer.v1;
 
 /**
+ *
+ *
  * 
  * A response to start manual transfer runs.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse} */ -public final class StartManualTransferRunsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StartManualTransferRunsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) StartManualTransferRunsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StartManualTransferRunsResponse.newBuilder() to construct. - private StartManualTransferRunsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StartManualTransferRunsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StartManualTransferRunsResponse() { runs_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StartManualTransferRunsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_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_StartManualTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder + .class); } public static final int RUNS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List runs_; /** + * + * *
    * The transfer runs that were created.
    * 
@@ -59,6 +83,8 @@ public java.util.List get return runs_; } /** + * + * *
    * The transfer runs that were created.
    * 
@@ -66,11 +92,13 @@ public java.util.List get * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRunsOrBuilderList() { return runs_; } /** + * + * *
    * The transfer runs that were created.
    * 
@@ -82,6 +110,8 @@ public int getRunsCount() { return runs_.size(); } /** + * + * *
    * The transfer runs that were created.
    * 
@@ -93,6 +123,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) return runs_.get(index); } /** + * + * *
    * The transfer runs that were created.
    * 
@@ -106,6 +138,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,8 +150,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < runs_.size(); i++) { output.writeMessage(1, runs_.get(i)); } @@ -132,8 +164,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < runs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, runs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, runs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -143,15 +174,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse)) { + if (!(obj + instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other = (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) obj; + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other = + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) obj; - if (!getRunsList() - .equals(other.getRunsList())) return false; + if (!getRunsList().equals(other.getRunsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,131 +205,139 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StartManualTransferRunsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse + 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.StartManualTransferRunsResponse 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.StartManualTransferRunsResponse + 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.StartManualTransferRunsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.StartManualTransferRunsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response to start manual transfer runs.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_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_StartManualTransferRunsResponse_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.Builder + .class); } - // Construct using com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -313,19 +353,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.getDefaultInstance(); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse build() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = buildPartial(); + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -333,15 +376,20 @@ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(this); + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + buildPartial() { + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result = + new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { if (runsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { runs_ = java.util.Collections.unmodifiableList(runs_); @@ -353,7 +401,8 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.datatransfer.v } } - private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse result) { int from_bitField0_ = bitField0_; } @@ -361,46 +410,52 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.StartManual public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse)other); + if (other + instanceof com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) { + return mergeFrom( + (com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse other) { + if (other + == com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + .getDefaultInstance()) return this; if (runsBuilder_ == null) { if (!other.runs_.isEmpty()) { if (runs_.isEmpty()) { @@ -419,9 +474,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.StartManualTr runsBuilder_ = null; runs_ = other.runs_; bitField0_ = (bitField0_ & ~0x00000001); - runsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRunsFieldBuilder() : null; + runsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRunsFieldBuilder() + : null; } else { runsBuilder_.addAllMessages(other.runs_); } @@ -453,25 +509,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.datatransfer.v1.TransferRun m = - input.readMessage( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), - extensionRegistry); - if (runsBuilder_ == null) { - ensureRunsIsMutable(); - runs_.add(m); - } else { - runsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.bigquery.datatransfer.v1.TransferRun m = + input.readMessage( + com.google.cloud.bigquery.datatransfer.v1.TransferRun.parser(), + extensionRegistry); + if (runsBuilder_ == null) { + ensureRunsIsMutable(); + runs_.add(m); + } else { + runsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -481,21 +539,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List runs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRunsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - runs_ = new java.util.ArrayList(runs_); + runs_ = + new java.util.ArrayList(runs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> runsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + runsBuilder_; /** + * + * *
      * The transfer runs that were created.
      * 
@@ -510,6 +576,8 @@ public java.util.List get } } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -524,6 +592,8 @@ public int getRunsCount() { } } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -538,14 +608,15 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index) } } /** + * + * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder setRuns( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder setRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -559,6 +630,8 @@ public Builder setRuns( return this; } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -577,6 +650,8 @@ public Builder setRuns( return this; } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -597,14 +672,15 @@ public Builder addRuns(com.google.cloud.bigquery.datatransfer.v1.TransferRun val return this; } /** + * + * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public Builder addRuns( - int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { + public Builder addRuns(int index, com.google.cloud.bigquery.datatransfer.v1.TransferRun value) { if (runsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -618,6 +694,8 @@ public Builder addRuns( return this; } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -636,6 +714,8 @@ public Builder addRuns( return this; } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -654,6 +734,8 @@ public Builder addRuns( return this; } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -661,11 +743,11 @@ public Builder addRuns( * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public Builder addAllRuns( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (runsBuilder_ == null) { ensureRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, runs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, runs_); onChanged(); } else { runsBuilder_.addAllMessages(values); @@ -673,6 +755,8 @@ public Builder addAllRuns( return this; } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -690,6 +774,8 @@ public Builder clearRuns() { return this; } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -707,17 +793,20 @@ public Builder removeRuns(int index) { return this; } /** + * + * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder( - int index) { + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuilder(int index) { return getRunsFieldBuilder().getBuilder(index); } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -727,19 +816,22 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder getRunsBuil public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( int index) { if (runsBuilder_ == null) { - return runs_.get(index); } else { + return runs_.get(index); + } else { return runsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsOrBuilderList() { + public java.util.List + getRunsOrBuilderList() { if (runsBuilder_ != null) { return runsBuilder_.getMessageOrBuilderList(); } else { @@ -747,6 +839,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB } } /** + * + * *
      * The transfer runs that were created.
      * 
@@ -754,49 +848,56 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrB * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder() { - return getRunsFieldBuilder().addBuilder( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + return getRunsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** + * + * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder( - int index) { - return getRunsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); + public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addRunsBuilder(int index) { + return getRunsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()); } /** + * + * *
      * The transfer runs that were created.
      * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - public java.util.List - getRunsBuilderList() { + public java.util.List + getRunsBuilderList() { return getRunsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder> getRunsFieldBuilder() { if (runsBuilder_ == null) { - runsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferRun, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( - runs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + runsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferRun, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder>( + runs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); runs_ = null; } return runsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -806,41 +907,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) - private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse(); } - public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartManualTransferRunsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartManualTransferRunsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -852,9 +956,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java index eccac85e79d5..4d7fe4adfe1f 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * 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; -public interface StartManualTransferRunsResponseOrBuilder extends +public interface StartManualTransferRunsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The transfer runs that were created.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List - getRunsList(); + java.util.List getRunsList(); /** + * + * *
    * The transfer runs that were created.
    * 
@@ -26,6 +45,8 @@ public interface StartManualTransferRunsResponseOrBuilder extends */ com.google.cloud.bigquery.datatransfer.v1.TransferRun getRuns(int index); /** + * + * *
    * The transfer runs that were created.
    * 
@@ -34,21 +55,24 @@ public interface StartManualTransferRunsResponseOrBuilder extends */ int getRunsCount(); /** + * + * *
    * The transfer runs that were created.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - java.util.List + java.util.List getRunsOrBuilderList(); /** + * + * *
    * The transfer runs that were created.
    * 
* * repeated .google.cloud.bigquery.datatransfer.v1.TransferRun runs = 1; */ - com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder( - int index); + com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getRunsOrBuilder(int index); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java similarity index 72% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java index 6aa44fac9487..cb1cfa4e9c63 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,6 +20,8 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Represents a data transfer configuration. A transfer configuration
  * contains all metadata needed to perform a data transfer. For example,
@@ -16,15 +33,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferConfig}
  */
-public final class TransferConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TransferConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.TransferConfig)
     TransferConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransferConfig.newBuilder() to construct.
   private TransferConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TransferConfig() {
     name_ = "";
     displayName_ = "";
@@ -37,34 +55,39 @@ private TransferConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TransferConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class,
+            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
   }
 
   private int bitField0_;
   private int destinationCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object destination_;
+
   public enum DestinationCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     DESTINATION_DATASET_ID(2),
     DESTINATION_NOT_SET(0);
     private final int value;
+
     private DestinationCase(int value) {
       this.value = value;
     }
@@ -80,26 +103,31 @@ public static DestinationCase valueOf(int value) {
 
     public static DestinationCase forNumber(int value) {
       switch (value) {
-        case 2: return DESTINATION_DATASET_ID;
-        case 0: return DESTINATION_NOT_SET;
-        default: return null;
+        case 2:
+          return DESTINATION_DATASET_ID;
+        case 0:
+          return DESTINATION_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DestinationCase
-  getDestinationCase() {
-    return DestinationCase.forNumber(
-        destinationCase_);
+  public DestinationCase getDestinationCase() {
+    return DestinationCase.forNumber(destinationCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -111,6 +139,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -119,14 +148,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -138,16 +168,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -157,22 +186,28 @@ public java.lang.String getName() { public static final int DESTINATION_DATASET_ID_FIELD_NUMBER = 2; /** + * + * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; + * * @return Whether the destinationDatasetId field is set. */ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** + * + * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; + * * @return The destinationDatasetId. */ public java.lang.String getDestinationDatasetId() { @@ -183,8 +218,7 @@ public java.lang.String getDestinationDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -193,23 +227,24 @@ public java.lang.String getDestinationDatasetId() { } } /** + * + * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; + * * @return The bytes for destinationDatasetId. */ - public com.google.protobuf.ByteString - getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -220,14 +255,18 @@ public java.lang.String getDestinationDatasetId() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -236,29 +275,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -267,9 +306,12 @@ public java.lang.String getDisplayName() { } public static final int DATA_SOURCE_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object dataSourceId_ = ""; /** + * + * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -277,6 +319,7 @@ public java.lang.String getDisplayName() {
    * 
* * string data_source_id = 5; + * * @return The dataSourceId. */ @java.lang.Override @@ -285,14 +328,15 @@ public java.lang.String getDataSourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; } } /** + * + * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -300,16 +344,15 @@ public java.lang.String getDataSourceId() {
    * 
* * string data_source_id = 5; + * * @return The bytes for dataSourceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataSourceIdBytes() { + public com.google.protobuf.ByteString getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -320,6 +363,8 @@ public java.lang.String getDataSourceId() { public static final int PARAMS_FIELD_NUMBER = 9; private com.google.protobuf.Struct params_; /** + * + * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -328,6 +373,7 @@ public java.lang.String getDataSourceId() {
    * 
* * .google.protobuf.Struct params = 9; + * * @return Whether the params field is set. */ @java.lang.Override @@ -335,6 +381,8 @@ public boolean hasParams() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -343,6 +391,7 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 9; + * * @return The params. */ @java.lang.Override @@ -350,6 +399,8 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** + * + * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -365,9 +416,12 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
   }
 
   public static final int SCHEDULE_FIELD_NUMBER = 7;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object schedule_ = "";
   /**
+   *
+   *
    * 
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -386,6 +440,7 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
    * 
* * string schedule = 7; + * * @return The schedule. */ @java.lang.Override @@ -394,14 +449,15 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; } } /** + * + * *
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -420,16 +476,15 @@ public java.lang.String getSchedule() {
    * 
* * string schedule = 7; + * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schedule_ = b; return b; } else { @@ -440,11 +495,14 @@ public java.lang.String getSchedule() { public static final int SCHEDULE_OPTIONS_FIELD_NUMBER = 24; private com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions scheduleOptions_; /** + * + * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; + * * @return Whether the scheduleOptions field is set. */ @java.lang.Override @@ -452,18 +510,25 @@ public boolean hasScheduleOptions() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; + * * @return The scheduleOptions. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOptions() { - return scheduleOptions_ == null ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; + return scheduleOptions_ == null + ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() + : scheduleOptions_; } /** + * + * *
    * Options customizing the data transfer schedule.
    * 
@@ -471,13 +536,18 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOpti * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getScheduleOptionsOrBuilder() { - return scheduleOptions_ == null ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; + public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder + getScheduleOptionsOrBuilder() { + return scheduleOptions_ == null + ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() + : scheduleOptions_; } public static final int DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER = 12; private int dataRefreshWindowDays_ = 0; /** + * + * *
    * The number of days to look back to automatically refresh the data.
    * For example, if `data_refresh_window_days = 10`, then every day
@@ -488,6 +558,7 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getSch
    * 
* * int32 data_refresh_window_days = 12; + * * @return The dataRefreshWindowDays. */ @java.lang.Override @@ -498,12 +569,15 @@ public int getDataRefreshWindowDays() { public static final int DISABLED_FIELD_NUMBER = 13; private boolean disabled_ = false; /** + * + * *
    * Is this config disabled. When set to true, no runs are scheduled
    * for a given transfer.
    * 
* * bool disabled = 13; + * * @return The disabled. */ @java.lang.Override @@ -514,11 +588,15 @@ public boolean getDisabled() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -526,11 +604,15 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -538,11 +620,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -552,11 +637,16 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int NEXT_RUN_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp nextRunTime_; /** + * + * *
    * Output only. Next time when data transfer will run.
    * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the nextRunTime field is set. */ @java.lang.Override @@ -564,11 +654,16 @@ public boolean hasNextRunTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
    * Output only. Next time when data transfer will run.
    * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The nextRunTime. */ @java.lang.Override @@ -576,11 +671,15 @@ public com.google.protobuf.Timestamp getNextRunTime() { return nextRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextRunTime_; } /** + * + * *
    * Output only. Next time when data transfer will run.
    * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { @@ -590,37 +689,55 @@ public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 10; private int state_ = 0; /** + * + * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { + com.google.cloud.bigquery.datatransfer.v1.TransferState result = + com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED + : result; } public static final int USER_ID_FIELD_NUMBER = 11; private long userId_ = 0L; /** + * + * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; + * * @return The userId. */ @java.lang.Override @@ -629,14 +746,18 @@ public long getUserId() { } public static final int DATASET_REGION_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private volatile java.lang.Object datasetRegion_ = ""; /** + * + * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The datasetRegion. */ @java.lang.Override @@ -645,29 +766,29 @@ public java.lang.String getDatasetRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetRegion_ = s; return s; } } /** + * + * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for datasetRegion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatasetRegionBytes() { + public com.google.protobuf.ByteString getDatasetRegionBytes() { java.lang.Object ref = datasetRegion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetRegion_ = b; return b; } else { @@ -676,9 +797,12 @@ public java.lang.String getDatasetRegion() { } public static final int NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER = 15; + @SuppressWarnings("serial") private volatile java.lang.Object notificationPubsubTopic_ = ""; /** + * + * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -688,6 +812,7 @@ public java.lang.String getDatasetRegion() {
    * 
* * string notification_pubsub_topic = 15; + * * @return The notificationPubsubTopic. */ @java.lang.Override @@ -696,14 +821,15 @@ public java.lang.String getNotificationPubsubTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; } } /** + * + * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -713,16 +839,15 @@ public java.lang.String getNotificationPubsubTopic() {
    * 
* * string notification_pubsub_topic = 15; + * * @return The bytes for notificationPubsubTopic. */ @java.lang.Override - public com.google.protobuf.ByteString - getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -733,12 +858,15 @@ public java.lang.String getNotificationPubsubTopic() { public static final int EMAIL_PREFERENCES_FIELD_NUMBER = 18; private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; /** + * + * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; + * * @return Whether the emailPreferences field is set. */ @java.lang.Override @@ -746,19 +874,26 @@ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; + * * @return The emailPreferences. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { - return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; + return emailPreferences_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() + : emailPreferences_; } /** + * + * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
@@ -767,20 +902,28 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPrefer
    * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
    */
   @java.lang.Override
-  public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() {
-    return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_;
+  public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder
+      getEmailPreferencesOrBuilder() {
+    return emailPreferences_ == null
+        ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()
+        : emailPreferences_;
   }
 
   public static final int OWNER_INFO_FIELD_NUMBER = 27;
   private com.google.cloud.bigquery.datatransfer.v1.UserInfo ownerInfo_;
   /**
+   *
+   *
    * 
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the ownerInfo field is set. */ @java.lang.Override @@ -788,36 +931,52 @@ public boolean hasOwnerInfo() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The ownerInfo. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.UserInfo getOwnerInfo() { - return ownerInfo_ == null ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; + return ownerInfo_ == null + ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() + : ownerInfo_; } /** + * + * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoOrBuilder() { - return ownerInfo_ == null ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; + return ownerInfo_ == null + ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() + : ownerInfo_; } public static final int ENCRYPTION_CONFIGURATION_FIELD_NUMBER = 28; - private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryptionConfiguration_; + private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + encryptionConfiguration_; /** + * + * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -826,7 +985,10 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoO
    * otherwise try to apply project default keys if it is absent.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * * @return Whether the encryptionConfiguration field is set. */ @java.lang.Override @@ -834,6 +996,8 @@ public boolean hasEncryptionConfiguration() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -842,14 +1006,22 @@ public boolean hasEncryptionConfiguration() {
    * otherwise try to apply project default keys if it is absent.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * * @return The encryptionConfiguration. */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncryptionConfiguration() { - return encryptionConfiguration_ == null ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + getEncryptionConfiguration() { + return encryptionConfiguration_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() + : encryptionConfiguration_; } /** + * + * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -858,14 +1030,20 @@ public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncr
    * otherwise try to apply project default keys if it is absent.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder getEncryptionConfigurationOrBuilder() { - return encryptionConfiguration_ == null ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder + getEncryptionConfigurationOrBuilder() { + return encryptionConfiguration_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() + : encryptionConfiguration_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -877,8 +1055,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -903,7 +1080,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(9, getParams()); } - if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(10, state_); } if (userId_ != 0L) { @@ -952,8 +1131,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataSourceId_); @@ -962,50 +1140,45 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, schedule_); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getNextRunTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getNextRunTime()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getParams()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getParams()); } - if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, state_); + if (state_ + != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, state_); } if (userId_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(11, userId_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, userId_); } if (dataRefreshWindowDays_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(12, dataRefreshWindowDays_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(12, dataRefreshWindowDays_); } if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(13, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, disabled_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetRegion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, datasetRegion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(notificationPubsubTopic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, notificationPubsubTopic_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(15, notificationPubsubTopic_); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, getEmailPreferences()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getEmailPreferences()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, getScheduleOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getScheduleOptions()); } if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, getOwnerInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getOwnerInfo()); } if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, getEncryptionConfiguration()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 28, getEncryptionConfiguration()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1015,72 +1188,56 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.TransferConfig)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.TransferConfig other = (com.google.cloud.bigquery.datatransfer.v1.TransferConfig) obj; + com.google.cloud.bigquery.datatransfer.v1.TransferConfig other = + (com.google.cloud.bigquery.datatransfer.v1.TransferConfig) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDataSourceId() - .equals(other.getDataSourceId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDataSourceId().equals(other.getDataSourceId())) return false; if (hasParams() != other.hasParams()) return false; if (hasParams()) { - if (!getParams() - .equals(other.getParams())) return false; + if (!getParams().equals(other.getParams())) return false; } - if (!getSchedule() - .equals(other.getSchedule())) return false; + if (!getSchedule().equals(other.getSchedule())) return false; if (hasScheduleOptions() != other.hasScheduleOptions()) return false; if (hasScheduleOptions()) { - if (!getScheduleOptions() - .equals(other.getScheduleOptions())) return false; + if (!getScheduleOptions().equals(other.getScheduleOptions())) return false; } - if (getDataRefreshWindowDays() - != other.getDataRefreshWindowDays()) return false; - if (getDisabled() - != other.getDisabled()) return false; + if (getDataRefreshWindowDays() != other.getDataRefreshWindowDays()) return false; + if (getDisabled() != other.getDisabled()) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasNextRunTime() != other.hasNextRunTime()) return false; if (hasNextRunTime()) { - if (!getNextRunTime() - .equals(other.getNextRunTime())) return false; + if (!getNextRunTime().equals(other.getNextRunTime())) return false; } if (state_ != other.state_) return false; - if (getUserId() - != other.getUserId()) return false; - if (!getDatasetRegion() - .equals(other.getDatasetRegion())) return false; - if (!getNotificationPubsubTopic() - .equals(other.getNotificationPubsubTopic())) return false; + if (getUserId() != other.getUserId()) return false; + if (!getDatasetRegion().equals(other.getDatasetRegion())) return false; + if (!getNotificationPubsubTopic().equals(other.getNotificationPubsubTopic())) return false; if (hasEmailPreferences() != other.hasEmailPreferences()) return false; if (hasEmailPreferences()) { - if (!getEmailPreferences() - .equals(other.getEmailPreferences())) return false; + if (!getEmailPreferences().equals(other.getEmailPreferences())) return false; } if (hasOwnerInfo() != other.hasOwnerInfo()) return false; if (hasOwnerInfo()) { - if (!getOwnerInfo() - .equals(other.getOwnerInfo())) return false; + if (!getOwnerInfo().equals(other.getOwnerInfo())) return false; } if (hasEncryptionConfiguration() != other.hasEncryptionConfiguration()) return false; if (hasEncryptionConfiguration()) { - if (!getEncryptionConfiguration() - .equals(other.getEncryptionConfiguration())) return false; + if (!getEncryptionConfiguration().equals(other.getEncryptionConfiguration())) return false; } if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 2: - if (!getDestinationDatasetId() - .equals(other.getDestinationDatasetId())) return false; + if (!getDestinationDatasetId().equals(other.getDestinationDatasetId())) return false; break; case 0: default: @@ -1115,8 +1272,7 @@ public int hashCode() { hash = (37 * hash) + DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER; hash = (53 * hash) + getDataRefreshWindowDays(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); if (hasUpdateTime()) { hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getUpdateTime().hashCode(); @@ -1128,8 +1284,7 @@ public int hashCode() { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + USER_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getUserId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserId()); hash = (37 * hash) + DATASET_REGION_FIELD_NUMBER; hash = (53 * hash) + getDatasetRegion().hashCode(); hash = (37 * hash) + NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER; @@ -1160,98 +1315,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig 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.TransferConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferConfig 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.TransferConfig 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.TransferConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig 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.TransferConfig 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.TransferConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.TransferConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a data transfer configuration. A transfer configuration
    * contains all metadata needed to perform a data transfer. For example,
@@ -1263,21 +1424,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.TransferConfig)
       com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class,
+              com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.datatransfer.v1.TransferConfig.newBuilder()
@@ -1285,14 +1448,13 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getParamsFieldBuilder();
         getScheduleOptionsFieldBuilder();
         getUpdateTimeFieldBuilder();
@@ -1302,6 +1464,7 @@ private void maybeForceBuilderInitialization() {
         getEncryptionConfigurationFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1357,9 +1520,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.TransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1378,8 +1541,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.TransferConfig buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.TransferConfig result = new com.google.cloud.bigquery.datatransfer.v1.TransferConfig(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.TransferConfig result =
+          new com.google.cloud.bigquery.datatransfer.v1.TransferConfig(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1398,18 +1564,15 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferCon
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.params_ = paramsBuilder_ == null
-            ? params_
-            : paramsBuilder_.build();
+        result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.schedule_ = schedule_;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.scheduleOptions_ = scheduleOptionsBuilder_ == null
-            ? scheduleOptions_
-            : scheduleOptionsBuilder_.build();
+        result.scheduleOptions_ =
+            scheduleOptionsBuilder_ == null ? scheduleOptions_ : scheduleOptionsBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
@@ -1419,15 +1582,12 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferCon
         result.disabled_ = disabled_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.nextRunTime_ = nextRunTimeBuilder_ == null
-            ? nextRunTime_
-            : nextRunTimeBuilder_.build();
+        result.nextRunTime_ =
+            nextRunTimeBuilder_ == null ? nextRunTime_ : nextRunTimeBuilder_.build();
         to_bitField0_ |= 0x00000008;
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
@@ -1443,27 +1603,26 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferCon
         result.notificationPubsubTopic_ = notificationPubsubTopic_;
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
-        result.emailPreferences_ = emailPreferencesBuilder_ == null
-            ? emailPreferences_
-            : emailPreferencesBuilder_.build();
+        result.emailPreferences_ =
+            emailPreferencesBuilder_ == null ? emailPreferences_ : emailPreferencesBuilder_.build();
         to_bitField0_ |= 0x00000010;
       }
       if (((from_bitField0_ & 0x00010000) != 0)) {
-        result.ownerInfo_ = ownerInfoBuilder_ == null
-            ? ownerInfo_
-            : ownerInfoBuilder_.build();
+        result.ownerInfo_ = ownerInfoBuilder_ == null ? ownerInfo_ : ownerInfoBuilder_.build();
         to_bitField0_ |= 0x00000020;
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
-        result.encryptionConfiguration_ = encryptionConfigurationBuilder_ == null
-            ? encryptionConfiguration_
-            : encryptionConfigurationBuilder_.build();
+        result.encryptionConfiguration_ =
+            encryptionConfigurationBuilder_ == null
+                ? encryptionConfiguration_
+                : encryptionConfigurationBuilder_.build();
         to_bitField0_ |= 0x00000040;
       }
       result.bitField0_ |= to_bitField0_;
     }
 
-    private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.TransferConfig result) {
+    private void buildPartialOneofs(
+        com.google.cloud.bigquery.datatransfer.v1.TransferConfig result) {
       result.destinationCase_ = destinationCase_;
       result.destination_ = this.destination_;
     }
@@ -1472,38 +1631,39 @@ private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.Transf
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.TransferConfig) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferConfig)other);
+        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1511,7 +1671,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferConfig other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -1576,15 +1737,17 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferConfi
         mergeEncryptionConfiguration(other.getEncryptionConfiguration());
       }
       switch (other.getDestinationCase()) {
-        case DESTINATION_DATASET_ID: {
-          destinationCase_ = 2;
-          destination_ = other.destination_;
-          onChanged();
-          break;
-        }
-        case DESTINATION_NOT_SET: {
-          break;
-        }
+        case DESTINATION_DATASET_ID:
+          {
+            destinationCase_ = 2;
+            destination_ = other.destination_;
+            onChanged();
+            break;
+          }
+        case DESTINATION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1612,117 +1775,124 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              destinationCase_ = 2;
-              destination_ = s;
-              break;
-            } // case 18
-            case 26: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 34
-            case 42: {
-              dataSourceId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 42
-            case 58: {
-              schedule_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getNextRunTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getParamsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 74
-            case 80: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 80
-            case 88: {
-              userId_ = input.readInt64();
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 88
-            case 96: {
-              dataRefreshWindowDays_ = input.readInt32();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 96
-            case 104: {
-              disabled_ = input.readBool();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 104
-            case 114: {
-              datasetRegion_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00002000;
-              break;
-            } // case 114
-            case 122: {
-              notificationPubsubTopic_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00004000;
-              break;
-            } // case 122
-            case 146: {
-              input.readMessage(
-                  getEmailPreferencesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 146
-            case 194: {
-              input.readMessage(
-                  getScheduleOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 194
-            case 218: {
-              input.readMessage(
-                  getOwnerInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00010000;
-              break;
-            } // case 218
-            case 226: {
-              input.readMessage(
-                  getEncryptionConfigurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00020000;
-              break;
-            } // case 226
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                destinationCase_ = 2;
+                destination_ = s;
+                break;
+              } // case 18
+            case 26:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 34
+            case 42:
+              {
+                dataSourceId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 42
+            case 58:
+              {
+                schedule_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getNextRunTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 74
+            case 80:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 80
+            case 88:
+              {
+                userId_ = input.readInt64();
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 88
+            case 96:
+              {
+                dataRefreshWindowDays_ = input.readInt32();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 96
+            case 104:
+              {
+                disabled_ = input.readBool();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 104
+            case 114:
+              {
+                datasetRegion_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00002000;
+                break;
+              } // case 114
+            case 122:
+              {
+                notificationPubsubTopic_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00004000;
+                break;
+              } // case 122
+            case 146:
+              {
+                input.readMessage(
+                    getEmailPreferencesFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 146
+            case 194:
+              {
+                input.readMessage(getScheduleOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 194
+            case 218:
+              {
+                input.readMessage(getOwnerInfoFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00010000;
+                break;
+              } // case 218
+            case 226:
+              {
+                input.readMessage(
+                    getEncryptionConfigurationFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00020000;
+                break;
+              } // case 226
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1732,12 +1902,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int destinationCase_ = 0;
     private java.lang.Object destination_;
-    public DestinationCase
-        getDestinationCase() {
-      return DestinationCase.forNumber(
-          destinationCase_);
+
+    public DestinationCase getDestinationCase() {
+      return DestinationCase.forNumber(destinationCase_);
     }
 
     public Builder clearDestination() {
@@ -1751,6 +1921,8 @@ public Builder clearDestination() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1762,13 +1934,13 @@ public Builder clearDestination() {
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1777,6 +1949,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1788,15 +1962,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1804,6 +1977,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1815,18 +1990,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1838,6 +2017,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1847,6 +2027,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the transfer config.
      * Transfer config names have the form either
@@ -1858,12 +2040,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1872,11 +2056,14 @@ public Builder setNameBytes( } /** + * + * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; + * * @return Whether the destinationDatasetId field is set. */ @java.lang.Override @@ -1884,11 +2071,14 @@ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** + * + * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; + * * @return The destinationDatasetId. */ @java.lang.Override @@ -1898,8 +2088,7 @@ public java.lang.String getDestinationDatasetId() { ref = destination_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -1910,24 +2099,25 @@ public java.lang.String getDestinationDatasetId() { } } /** + * + * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; + * * @return The bytes for destinationDatasetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -1937,28 +2127,35 @@ public java.lang.String getDestinationDatasetId() { } } /** + * + * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; + * * @param value The destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationDatasetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationCase_ = 2; destination_ = value; onChanged(); return this; } /** + * + * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; + * * @return This builder for chaining. */ public Builder clearDestinationDatasetId() { @@ -1970,17 +2167,21 @@ public Builder clearDestinationDatasetId() { return this; } /** + * + * *
      * The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2; + * * @param value The bytes for destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationCase_ = 2; destination_ = value; @@ -1990,18 +2191,20 @@ public Builder setDestinationDatasetIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2010,20 +2213,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -2031,28 +2235,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2062,17 +2273,21 @@ public Builder clearDisplayName() { return this; } /** - *
+     *
+     *
+     * 
      * User specified display name for the data transfer.
      * 
* * string display_name = 3; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -2082,6 +2297,8 @@ public Builder setDisplayNameBytes( private java.lang.Object dataSourceId_ = ""; /** + * + * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2089,13 +2306,13 @@ public Builder setDisplayNameBytes(
      * 
* * string data_source_id = 5; + * * @return The dataSourceId. */ public java.lang.String getDataSourceId() { java.lang.Object ref = dataSourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; @@ -2104,6 +2321,8 @@ public java.lang.String getDataSourceId() { } } /** + * + * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2111,15 +2330,14 @@ public java.lang.String getDataSourceId() {
      * 
* * string data_source_id = 5; + * * @return The bytes for dataSourceId. */ - public com.google.protobuf.ByteString - getDataSourceIdBytes() { + public com.google.protobuf.ByteString getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -2127,6 +2345,8 @@ public java.lang.String getDataSourceId() { } } /** + * + * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2134,18 +2354,22 @@ public java.lang.String getDataSourceId() {
      * 
* * string data_source_id = 5; + * * @param value The dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSourceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataSourceId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2153,6 +2377,7 @@ public Builder setDataSourceId(
      * 
* * string data_source_id = 5; + * * @return This builder for chaining. */ public Builder clearDataSourceId() { @@ -2162,6 +2387,8 @@ public Builder clearDataSourceId() { return this; } /** + * + * *
      * Data source ID. This cannot be changed once data transfer is created. The
      * full list of available data source IDs can be returned through an API call:
@@ -2169,12 +2396,14 @@ public Builder clearDataSourceId() {
      * 
* * string data_source_id = 5; + * * @param value The bytes for dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataSourceId_ = value; bitField0_ |= 0x00000008; @@ -2184,8 +2413,13 @@ public Builder setDataSourceIdBytes( private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + paramsBuilder_; /** + * + * *
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2194,12 +2428,15 @@ public Builder setDataSourceIdBytes(
      * 
* * .google.protobuf.Struct params = 9; + * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2208,6 +2445,7 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 9; + * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -2218,6 +2456,8 @@ public com.google.protobuf.Struct getParams() { } } /** + * + * *
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2241,6 +2481,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2250,8 +2492,7 @@ public Builder setParams(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct params = 9;
      */
-    public Builder setParams(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
       if (paramsBuilder_ == null) {
         params_ = builderForValue.build();
       } else {
@@ -2262,6 +2503,8 @@ public Builder setParams(
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2273,9 +2516,9 @@ public Builder setParams(
      */
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          params_ != null &&
-          params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && params_ != null
+            && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getParamsBuilder().mergeFrom(value);
         } else {
           params_ = value;
@@ -2290,6 +2533,8 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2310,6 +2555,8 @@ public Builder clearParams() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2325,6 +2572,8 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
       return getParamsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2338,11 +2587,12 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       if (paramsBuilder_ != null) {
         return paramsBuilder_.getMessageOrBuilder();
       } else {
-        return params_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : params_;
+        return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
       }
     }
     /**
+     *
+     *
      * 
      * Parameters specific to each data source. For more information see the
      * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -2353,14 +2603,17 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * .google.protobuf.Struct params = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getParamsFieldBuilder() {
       if (paramsBuilder_ == null) {
-        paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getParams(),
-                getParentForChildren(),
-                isClean());
+        paramsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                getParams(), getParentForChildren(), isClean());
         params_ = null;
       }
       return paramsBuilder_;
@@ -2368,6 +2621,8 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
 
     private java.lang.Object schedule_ = "";
     /**
+     *
+     *
      * 
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2386,13 +2641,13 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * 
* * string schedule = 7; + * * @return The schedule. */ public java.lang.String getSchedule() { java.lang.Object ref = schedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; @@ -2401,6 +2656,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2419,15 +2676,14 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 7; + * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schedule_ = b; return b; } else { @@ -2435,6 +2691,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2453,18 +2711,22 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 7; + * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSchedule(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } schedule_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2483,6 +2745,7 @@ public Builder setSchedule(
      * 
* * string schedule = 7; + * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -2492,6 +2755,8 @@ public Builder clearSchedule() { return this; } /** + * + * *
      * Data transfer schedule.
      * If the data source does not support a custom schedule, this should be
@@ -2510,12 +2775,14 @@ public Builder clearSchedule() {
      * 
* * string schedule = 7; + * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setScheduleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); schedule_ = value; bitField0_ |= 0x00000020; @@ -2525,41 +2792,55 @@ public Builder setScheduleBytes( private com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions scheduleOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> scheduleOptionsBuilder_; + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> + scheduleOptionsBuilder_; /** + * + * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; + * * @return Whether the scheduleOptions field is set. */ public boolean hasScheduleOptions() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; + * * @return The scheduleOptions. */ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOptions() { if (scheduleOptionsBuilder_ == null) { - return scheduleOptions_ == null ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; + return scheduleOptions_ == null + ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() + : scheduleOptions_; } else { return scheduleOptionsBuilder_.getMessage(); } } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public Builder setScheduleOptions(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { + public Builder setScheduleOptions( + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { if (scheduleOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2573,6 +2854,8 @@ public Builder setScheduleOptions(com.google.cloud.bigquery.datatransfer.v1.Sche return this; } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
@@ -2591,17 +2874,21 @@ public Builder setScheduleOptions( return this; } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public Builder mergeScheduleOptions(com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { + public Builder mergeScheduleOptions( + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions value) { if (scheduleOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - scheduleOptions_ != null && - scheduleOptions_ != com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && scheduleOptions_ != null + && scheduleOptions_ + != com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance()) { getScheduleOptionsBuilder().mergeFrom(value); } else { scheduleOptions_ = value; @@ -2616,6 +2903,8 @@ public Builder mergeScheduleOptions(com.google.cloud.bigquery.datatransfer.v1.Sc return this; } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
@@ -2633,33 +2922,42 @@ public Builder clearScheduleOptions() { return this; } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder getScheduleOptionsBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder + getScheduleOptionsBuilder() { bitField0_ |= 0x00000040; onChanged(); return getScheduleOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ - public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getScheduleOptionsOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder + getScheduleOptionsOrBuilder() { if (scheduleOptionsBuilder_ != null) { return scheduleOptionsBuilder_.getMessageOrBuilder(); } else { - return scheduleOptions_ == null ? - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() : scheduleOptions_; + return scheduleOptions_ == null + ? com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.getDefaultInstance() + : scheduleOptions_; } } /** + * + * *
      * Options customizing the data transfer schedule.
      * 
@@ -2667,21 +2965,26 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getSch * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder> getScheduleOptionsFieldBuilder() { if (scheduleOptionsBuilder_ == null) { - scheduleOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder>( - getScheduleOptions(), - getParentForChildren(), - isClean()); + scheduleOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions.Builder, + com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder>( + getScheduleOptions(), getParentForChildren(), isClean()); scheduleOptions_ = null; } return scheduleOptionsBuilder_; } - private int dataRefreshWindowDays_ ; + private int dataRefreshWindowDays_; /** + * + * *
      * The number of days to look back to automatically refresh the data.
      * For example, if `data_refresh_window_days = 10`, then every day
@@ -2692,6 +2995,7 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getSch
      * 
* * int32 data_refresh_window_days = 12; + * * @return The dataRefreshWindowDays. */ @java.lang.Override @@ -2699,6 +3003,8 @@ public int getDataRefreshWindowDays() { return dataRefreshWindowDays_; } /** + * + * *
      * The number of days to look back to automatically refresh the data.
      * For example, if `data_refresh_window_days = 10`, then every day
@@ -2709,6 +3015,7 @@ public int getDataRefreshWindowDays() {
      * 
* * int32 data_refresh_window_days = 12; + * * @param value The dataRefreshWindowDays to set. * @return This builder for chaining. */ @@ -2720,6 +3027,8 @@ public Builder setDataRefreshWindowDays(int value) { return this; } /** + * + * *
      * The number of days to look back to automatically refresh the data.
      * For example, if `data_refresh_window_days = 10`, then every day
@@ -2730,6 +3039,7 @@ public Builder setDataRefreshWindowDays(int value) {
      * 
* * int32 data_refresh_window_days = 12; + * * @return This builder for chaining. */ public Builder clearDataRefreshWindowDays() { @@ -2739,14 +3049,17 @@ public Builder clearDataRefreshWindowDays() { return this; } - private boolean disabled_ ; + private boolean disabled_; /** + * + * *
      * Is this config disabled. When set to true, no runs are scheduled
      * for a given transfer.
      * 
* * bool disabled = 13; + * * @return The disabled. */ @java.lang.Override @@ -2754,12 +3067,15 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
      * Is this config disabled. When set to true, no runs are scheduled
      * for a given transfer.
      * 
* * bool disabled = 13; + * * @param value The disabled to set. * @return This builder for chaining. */ @@ -2771,12 +3087,15 @@ public Builder setDisabled(boolean value) { return this; } /** + * + * *
      * Is this config disabled. When set to true, no runs are scheduled
      * for a given transfer.
      * 
* * bool disabled = 13; + * * @return This builder for chaining. */ public Builder clearDisabled() { @@ -2788,39 +3107,58 @@ public Builder clearDisabled() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2836,14 +3174,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2854,17 +3195,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2879,11 +3224,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -2896,11 +3245,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000200; @@ -2908,36 +3261,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Data transfer modification time. Ignored by server on input.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2945,39 +3310,58 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp nextRunTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> nextRunTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + nextRunTimeBuilder_; /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the nextRunTime field is set. */ public boolean hasNextRunTime() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The nextRunTime. */ public com.google.protobuf.Timestamp getNextRunTime() { if (nextRunTimeBuilder_ == null) { - return nextRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextRunTime_; + return nextRunTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : nextRunTime_; } else { return nextRunTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setNextRunTime(com.google.protobuf.Timestamp value) { if (nextRunTimeBuilder_ == null) { @@ -2993,14 +3377,17 @@ public Builder setNextRunTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setNextRunTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setNextRunTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (nextRunTimeBuilder_ == null) { nextRunTime_ = builderForValue.build(); } else { @@ -3011,17 +3398,21 @@ public Builder setNextRunTime( return this; } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeNextRunTime(com.google.protobuf.Timestamp value) { if (nextRunTimeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - nextRunTime_ != null && - nextRunTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && nextRunTime_ != null + && nextRunTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getNextRunTimeBuilder().mergeFrom(value); } else { nextRunTime_ = value; @@ -3036,11 +3427,15 @@ public Builder mergeNextRunTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearNextRunTime() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3053,11 +3448,15 @@ public Builder clearNextRunTime() { return this; } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getNextRunTimeBuilder() { bitField0_ |= 0x00000400; @@ -3065,36 +3464,48 @@ public com.google.protobuf.Timestamp.Builder getNextRunTimeBuilder() { return getNextRunTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { if (nextRunTimeBuilder_ != null) { return nextRunTimeBuilder_.getMessageOrBuilder(); } else { - return nextRunTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : nextRunTime_; + return nextRunTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : nextRunTime_; } } /** + * + * *
      * Output only. Next time when data transfer will run.
      * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getNextRunTimeFieldBuilder() { if (nextRunTimeBuilder_ == null) { - nextRunTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getNextRunTime(), - getParentForChildren(), - isClean()); + nextRunTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getNextRunTime(), getParentForChildren(), isClean()); nextRunTime_ = null; } return nextRunTimeBuilder_; @@ -3102,22 +3513,33 @@ public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3128,24 +3550,37 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; + com.google.cloud.bigquery.datatransfer.v1.TransferState result = + com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -3159,11 +3594,16 @@ public Builder setState(com.google.cloud.bigquery.datatransfer.v1.TransferState return this; } /** + * + * *
      * Output only. State of the most recently updated transfer run.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -3173,13 +3613,16 @@ public Builder clearState() { return this; } - private long userId_ ; + private long userId_; /** + * + * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; + * * @return The userId. */ @java.lang.Override @@ -3187,11 +3630,14 @@ public long getUserId() { return userId_; } /** + * + * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; + * * @param value The userId to set. * @return This builder for chaining. */ @@ -3203,11 +3649,14 @@ public Builder setUserId(long value) { return this; } /** + * + * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; + * * @return This builder for chaining. */ public Builder clearUserId() { @@ -3219,18 +3668,20 @@ public Builder clearUserId() { private java.lang.Object datasetRegion_ = ""; /** + * + * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The datasetRegion. */ public java.lang.String getDatasetRegion() { java.lang.Object ref = datasetRegion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetRegion_ = s; return s; @@ -3239,20 +3690,21 @@ public java.lang.String getDatasetRegion() { } } /** + * + * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for datasetRegion. */ - public com.google.protobuf.ByteString - getDatasetRegionBytes() { + public com.google.protobuf.ByteString getDatasetRegionBytes() { java.lang.Object ref = datasetRegion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetRegion_ = b; return b; } else { @@ -3260,28 +3712,35 @@ public java.lang.String getDatasetRegion() { } } /** + * + * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The datasetRegion to set. * @return This builder for chaining. */ - public Builder setDatasetRegion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatasetRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } datasetRegion_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDatasetRegion() { @@ -3291,17 +3750,21 @@ public Builder clearDatasetRegion() { return this; } /** + * + * *
      * Output only. Region in which BigQuery dataset is located.
      * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for datasetRegion to set. * @return This builder for chaining. */ - public Builder setDatasetRegionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatasetRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); datasetRegion_ = value; bitField0_ |= 0x00002000; @@ -3311,6 +3774,8 @@ public Builder setDatasetRegionBytes( private java.lang.Object notificationPubsubTopic_ = ""; /** + * + * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3320,13 +3785,13 @@ public Builder setDatasetRegionBytes(
      * 
* * string notification_pubsub_topic = 15; + * * @return The notificationPubsubTopic. */ public java.lang.String getNotificationPubsubTopic() { java.lang.Object ref = notificationPubsubTopic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; @@ -3335,6 +3800,8 @@ public java.lang.String getNotificationPubsubTopic() { } } /** + * + * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3344,15 +3811,14 @@ public java.lang.String getNotificationPubsubTopic() {
      * 
* * string notification_pubsub_topic = 15; + * * @return The bytes for notificationPubsubTopic. */ - public com.google.protobuf.ByteString - getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -3360,6 +3826,8 @@ public java.lang.String getNotificationPubsubTopic() { } } /** + * + * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3369,18 +3837,22 @@ public java.lang.String getNotificationPubsubTopic() {
      * 
* * string notification_pubsub_topic = 15; + * * @param value The notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopic( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNotificationPubsubTopic(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } notificationPubsubTopic_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** + * + * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3390,6 +3862,7 @@ public Builder setNotificationPubsubTopic(
      * 
* * string notification_pubsub_topic = 15; + * * @return This builder for chaining. */ public Builder clearNotificationPubsubTopic() { @@ -3399,6 +3872,8 @@ public Builder clearNotificationPubsubTopic() { return this; } /** + * + * *
      * Pub/Sub topic where notifications will be sent after transfer runs
      * associated with this transfer config finish.
@@ -3408,12 +3883,14 @@ public Builder clearNotificationPubsubTopic() {
      * 
* * string notification_pubsub_topic = 15; + * * @param value The bytes for notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopicBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); notificationPubsubTopic_ = value; bitField0_ |= 0x00004000; @@ -3423,36 +3900,49 @@ public Builder setNotificationPubsubTopicBytes( private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> emailPreferencesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> + emailPreferencesBuilder_; /** + * + * *
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
      * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; + * * @return Whether the emailPreferences field is set. */ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * *
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
      * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; + * * @return The emailPreferences. */ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { if (emailPreferencesBuilder_ == null) { - return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; + return emailPreferences_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() + : emailPreferences_; } else { return emailPreferencesBuilder_.getMessage(); } } /** + * + * *
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3460,7 +3950,8 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPrefer
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public Builder setEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
+    public Builder setEmailPreferences(
+        com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
       if (emailPreferencesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3474,6 +3965,8 @@ public Builder setEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.Ema
       return this;
     }
     /**
+     *
+     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3493,6 +3986,8 @@ public Builder setEmailPreferences(
       return this;
     }
     /**
+     *
+     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3500,11 +3995,14 @@ public Builder setEmailPreferences(
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public Builder mergeEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
+    public Builder mergeEmailPreferences(
+        com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) {
       if (emailPreferencesBuilder_ == null) {
-        if (((bitField0_ & 0x00008000) != 0) &&
-          emailPreferences_ != null &&
-          emailPreferences_ != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()) {
+        if (((bitField0_ & 0x00008000) != 0)
+            && emailPreferences_ != null
+            && emailPreferences_
+                != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences
+                    .getDefaultInstance()) {
           getEmailPreferencesBuilder().mergeFrom(value);
         } else {
           emailPreferences_ = value;
@@ -3519,6 +4017,8 @@ public Builder mergeEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.E
       return this;
     }
     /**
+     *
+     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3537,6 +4037,8 @@ public Builder clearEmailPreferences() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3544,12 +4046,15 @@ public Builder clearEmailPreferences() {
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder getEmailPreferencesBuilder() {
+    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder
+        getEmailPreferencesBuilder() {
       bitField0_ |= 0x00008000;
       onChanged();
       return getEmailPreferencesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3557,15 +4062,19 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder getEma
      *
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
-    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() {
+    public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder
+        getEmailPreferencesOrBuilder() {
       if (emailPreferencesBuilder_ != null) {
         return emailPreferencesBuilder_.getMessageOrBuilder();
       } else {
-        return emailPreferences_ == null ?
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_;
+        return emailPreferences_ == null
+            ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()
+            : emailPreferences_;
       }
     }
     /**
+     *
+     *
      * 
      * Email notifications will be sent according to these preferences
      * to the email address of the user who owns this transfer config.
@@ -3574,14 +4083,17 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEm
      * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> 
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences,
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder,
+            com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>
         getEmailPreferencesFieldBuilder() {
       if (emailPreferencesBuilder_ == null) {
-        emailPreferencesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>(
-                getEmailPreferences(),
-                getParentForChildren(),
-                isClean());
+        emailPreferencesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.bigquery.datatransfer.v1.EmailPreferences,
+                com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder,
+                com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>(
+                getEmailPreferences(), getParentForChildren(), isClean());
         emailPreferences_ = null;
       }
       return emailPreferencesBuilder_;
@@ -3589,45 +4101,64 @@ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEm
 
     private com.google.cloud.bigquery.datatransfer.v1.UserInfo ownerInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.datatransfer.v1.UserInfo, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder> ownerInfoBuilder_;
+            com.google.cloud.bigquery.datatransfer.v1.UserInfo,
+            com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder,
+            com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder>
+        ownerInfoBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the ownerInfo field is set. */ public boolean hasOwnerInfo() { return ((bitField0_ & 0x00010000) != 0); } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The ownerInfo. */ public com.google.cloud.bigquery.datatransfer.v1.UserInfo getOwnerInfo() { if (ownerInfoBuilder_ == null) { - return ownerInfo_ == null ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; + return ownerInfo_ == null + ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() + : ownerInfo_; } else { return ownerInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo value) { if (ownerInfoBuilder_ == null) { @@ -3643,13 +4174,17 @@ public Builder setOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo v return this; } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOwnerInfo( com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder builderForValue) { @@ -3663,19 +4198,24 @@ public Builder setOwnerInfo( return this; } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo value) { if (ownerInfoBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) && - ownerInfo_ != null && - ownerInfo_ != com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00010000) != 0) + && ownerInfo_ != null + && ownerInfo_ + != com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) { getOwnerInfoBuilder().mergeFrom(value); } else { ownerInfo_ = value; @@ -3690,13 +4230,17 @@ public Builder mergeOwnerInfo(com.google.cloud.bigquery.datatransfer.v1.UserInfo return this; } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearOwnerInfo() { bitField0_ = (bitField0_ & ~0x00010000); @@ -3709,13 +4253,17 @@ public Builder clearOwnerInfo() { return this; } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder getOwnerInfoBuilder() { bitField0_ |= 0x00010000; @@ -3723,49 +4271,67 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder getOwnerInfoBu return getOwnerInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoOrBuilder() { if (ownerInfoBuilder_ != null) { return ownerInfoBuilder_.getMessageOrBuilder(); } else { - return ownerInfo_ == null ? - com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() : ownerInfo_; + return ownerInfo_ == null + ? com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance() + : ownerInfo_; } } /** + * + * *
      * Output only. Information about the user whose credentials are used to
      * transfer data. Populated only for `transferConfigs.get` requests. In case
      * the user information is not available, this field will not be populated.
      * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.UserInfo, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.UserInfo, + com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, + com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder> getOwnerInfoFieldBuilder() { if (ownerInfoBuilder_ == null) { - ownerInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.UserInfo, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder>( - getOwnerInfo(), - getParentForChildren(), - isClean()); + ownerInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.UserInfo, + com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder, + com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder>( + getOwnerInfo(), getParentForChildren(), isClean()); ownerInfo_ = null; } return ownerInfoBuilder_; } - private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryptionConfiguration_; + private com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + encryptionConfiguration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> encryptionConfigurationBuilder_; + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> + encryptionConfigurationBuilder_; /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3774,13 +4340,18 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoO
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * * @return Whether the encryptionConfiguration field is set. */ public boolean hasEncryptionConfiguration() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3789,17 +4360,25 @@ public boolean hasEncryptionConfiguration() {
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * * @return The encryptionConfiguration. */ - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncryptionConfiguration() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + getEncryptionConfiguration() { if (encryptionConfigurationBuilder_ == null) { - return encryptionConfiguration_ == null ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; + return encryptionConfiguration_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() + : encryptionConfiguration_; } else { return encryptionConfigurationBuilder_.getMessage(); } } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3808,9 +4387,12 @@ public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncr
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ - public Builder setEncryptionConfiguration(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { + public Builder setEncryptionConfiguration( + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { if (encryptionConfigurationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3824,6 +4406,8 @@ public Builder setEncryptionConfiguration(com.google.cloud.bigquery.datatransfer return this; } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3832,7 +4416,9 @@ public Builder setEncryptionConfiguration(com.google.cloud.bigquery.datatransfer
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ public Builder setEncryptionConfiguration( com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder builderForValue) { @@ -3846,6 +4432,8 @@ public Builder setEncryptionConfiguration( return this; } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3854,13 +4442,18 @@ public Builder setEncryptionConfiguration(
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ - public Builder mergeEncryptionConfiguration(com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { + public Builder mergeEncryptionConfiguration( + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration value) { if (encryptionConfigurationBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) && - encryptionConfiguration_ != null && - encryptionConfiguration_ != com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) + && encryptionConfiguration_ != null + && encryptionConfiguration_ + != com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration + .getDefaultInstance()) { getEncryptionConfigurationBuilder().mergeFrom(value); } else { encryptionConfiguration_ = value; @@ -3875,6 +4468,8 @@ public Builder mergeEncryptionConfiguration(com.google.cloud.bigquery.datatransf return this; } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3883,7 +4478,9 @@ public Builder mergeEncryptionConfiguration(com.google.cloud.bigquery.datatransf
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ public Builder clearEncryptionConfiguration() { bitField0_ = (bitField0_ & ~0x00020000); @@ -3896,6 +4493,8 @@ public Builder clearEncryptionConfiguration() { return this; } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3904,14 +4503,19 @@ public Builder clearEncryptionConfiguration() {
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder getEncryptionConfigurationBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder + getEncryptionConfigurationBuilder() { bitField0_ |= 0x00020000; onChanged(); return getEncryptionConfigurationFieldBuilder().getBuilder(); } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3920,17 +4524,23 @@ public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ - public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder getEncryptionConfigurationOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder + getEncryptionConfigurationOrBuilder() { if (encryptionConfigurationBuilder_ != null) { return encryptionConfigurationBuilder_.getMessageOrBuilder(); } else { - return encryptionConfiguration_ == null ? - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() : encryptionConfiguration_; + return encryptionConfiguration_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.getDefaultInstance() + : encryptionConfiguration_; } } /** + * + * *
      * The encryption configuration part. Currently, it is only used for the
      * optional KMS key name. The BigQuery service account of your project must be
@@ -3939,24 +4549,29 @@ public com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilde
      * otherwise try to apply project default keys if it is absent.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder> getEncryptionConfigurationFieldBuilder() { if (encryptionConfigurationBuilder_ == null) { - encryptionConfigurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder>( - getEncryptionConfiguration(), - getParentForChildren(), - isClean()); + encryptionConfigurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration.Builder, + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder>( + getEncryptionConfiguration(), getParentForChildren(), isClean()); encryptionConfiguration_ = null; } return encryptionConfigurationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3966,12 +4581,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.TransferConfig) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.TransferConfig) private static final com.google.cloud.bigquery.datatransfer.v1.TransferConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.TransferConfig(); } @@ -3980,27 +4595,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.TransferConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4015,6 +4630,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java similarity index 81% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java index eb87cbb6c1d2..99e48ae5df33 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java @@ -1,14 +1,32 @@ +/* + * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface TransferConfigOrBuilder extends +public interface TransferConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.TransferConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -20,10 +38,13 @@ public interface TransferConfigOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the transfer config.
    * Transfer config names have the form either
@@ -35,61 +56,76 @@ public interface TransferConfigOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; + * * @return Whether the destinationDatasetId field is set. */ boolean hasDestinationDatasetId(); /** + * + * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; + * * @return The destinationDatasetId. */ java.lang.String getDestinationDatasetId(); /** + * + * *
    * The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2; + * * @return The bytes for destinationDatasetId. */ - com.google.protobuf.ByteString - getDestinationDatasetIdBytes(); + com.google.protobuf.ByteString getDestinationDatasetIdBytes(); /** + * + * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * User specified display name for the data transfer.
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -97,10 +133,13 @@ public interface TransferConfigOrBuilder extends
    * 
* * string data_source_id = 5; + * * @return The dataSourceId. */ java.lang.String getDataSourceId(); /** + * + * *
    * Data source ID. This cannot be changed once data transfer is created. The
    * full list of available data source IDs can be returned through an API call:
@@ -108,12 +147,14 @@ public interface TransferConfigOrBuilder extends
    * 
* * string data_source_id = 5; + * * @return The bytes for dataSourceId. */ - com.google.protobuf.ByteString - getDataSourceIdBytes(); + com.google.protobuf.ByteString getDataSourceIdBytes(); /** + * + * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -122,10 +163,13 @@ public interface TransferConfigOrBuilder extends
    * 
* * .google.protobuf.Struct params = 9; + * * @return Whether the params field is set. */ boolean hasParams(); /** + * + * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -134,10 +178,13 @@ public interface TransferConfigOrBuilder extends
    * 
* * .google.protobuf.Struct params = 9; + * * @return The params. */ com.google.protobuf.Struct getParams(); /** + * + * *
    * Parameters specific to each data source. For more information see the
    * bq tab in the 'Setting up a data transfer' section for each data source.
@@ -150,6 +197,8 @@ public interface TransferConfigOrBuilder extends
   com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -168,10 +217,13 @@ public interface TransferConfigOrBuilder extends
    * 
* * string schedule = 7; + * * @return The schedule. */ java.lang.String getSchedule(); /** + * + * *
    * Data transfer schedule.
    * If the data source does not support a custom schedule, this should be
@@ -190,30 +242,38 @@ public interface TransferConfigOrBuilder extends
    * 
* * string schedule = 7; + * * @return The bytes for schedule. */ - com.google.protobuf.ByteString - getScheduleBytes(); + com.google.protobuf.ByteString getScheduleBytes(); /** + * + * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; + * * @return Whether the scheduleOptions field is set. */ boolean hasScheduleOptions(); /** + * + * *
    * Options customizing the data transfer schedule.
    * 
* * .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24; + * * @return The scheduleOptions. */ com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOptions(); /** + * + * *
    * Options customizing the data transfer schedule.
    * 
@@ -223,6 +283,8 @@ public interface TransferConfigOrBuilder extends com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsOrBuilder getScheduleOptionsOrBuilder(); /** + * + * *
    * The number of days to look back to automatically refresh the data.
    * For example, if `data_refresh_window_days = 10`, then every day
@@ -233,125 +295,174 @@ public interface TransferConfigOrBuilder extends
    * 
* * int32 data_refresh_window_days = 12; + * * @return The dataRefreshWindowDays. */ int getDataRefreshWindowDays(); /** + * + * *
    * Is this config disabled. When set to true, no runs are scheduled
    * for a given transfer.
    * 
* * bool disabled = 13; + * * @return The disabled. */ boolean getDisabled(); /** + * + * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Data transfer modification time. Ignored by server on input.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Next time when data transfer will run.
    * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the nextRunTime field is set. */ boolean hasNextRunTime(); /** + * + * *
    * Output only. Next time when data transfer will run.
    * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The nextRunTime. */ com.google.protobuf.Timestamp getNextRunTime(); /** + * + * *
    * Output only. Next time when data transfer will run.
    * 
* - * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder(); /** + * + * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. State of the most recently updated transfer run.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.bigquery.datatransfer.v1.TransferState getState(); /** + * + * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; + * * @return The userId. */ long getUserId(); /** + * + * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The datasetRegion. */ java.lang.String getDatasetRegion(); /** + * + * *
    * Output only. Region in which BigQuery dataset is located.
    * 
* * string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for datasetRegion. */ - com.google.protobuf.ByteString - getDatasetRegionBytes(); + com.google.protobuf.ByteString getDatasetRegionBytes(); /** + * + * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -361,10 +472,13 @@ public interface TransferConfigOrBuilder extends
    * 
* * string notification_pubsub_topic = 15; + * * @return The notificationPubsubTopic. */ java.lang.String getNotificationPubsubTopic(); /** + * + * *
    * Pub/Sub topic where notifications will be sent after transfer runs
    * associated with this transfer config finish.
@@ -374,32 +488,40 @@ public interface TransferConfigOrBuilder extends
    * 
* * string notification_pubsub_topic = 15; + * * @return The bytes for notificationPubsubTopic. */ - com.google.protobuf.ByteString - getNotificationPubsubTopicBytes(); + com.google.protobuf.ByteString getNotificationPubsubTopicBytes(); /** + * + * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; + * * @return Whether the emailPreferences field is set. */ boolean hasEmailPreferences(); /** + * + * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
    * 
* * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18; + * * @return The emailPreferences. */ com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences(); /** + * + * *
    * Email notifications will be sent according to these preferences
    * to the email address of the user who owns this transfer config.
@@ -407,42 +529,59 @@ public interface TransferConfigOrBuilder extends
    *
    * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
    */
-  com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder();
+  com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder
+      getEmailPreferencesOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the ownerInfo field is set. */ boolean hasOwnerInfo(); /** + * + * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The ownerInfo. */ com.google.cloud.bigquery.datatransfer.v1.UserInfo getOwnerInfo(); /** + * + * *
    * Output only. Information about the user whose credentials are used to
    * transfer data. Populated only for `transferConfigs.get` requests. In case
    * the user information is not available, this field will not be populated.
    * 
* - * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder getOwnerInfoOrBuilder(); /** + * + * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -451,11 +590,16 @@ public interface TransferConfigOrBuilder extends
    * otherwise try to apply project default keys if it is absent.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * * @return Whether the encryptionConfiguration field is set. */ boolean hasEncryptionConfiguration(); /** + * + * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -464,11 +608,16 @@ public interface TransferConfigOrBuilder extends
    * otherwise try to apply project default keys if it is absent.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * * @return The encryptionConfiguration. */ com.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration getEncryptionConfiguration(); /** + * + * *
    * The encryption configuration part. Currently, it is only used for the
    * optional KMS key name. The BigQuery service account of your project must be
@@ -477,9 +626,12 @@ public interface TransferConfigOrBuilder extends
    * otherwise try to apply project default keys if it is absent.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * + * .google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28; + * */ - com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder getEncryptionConfigurationOrBuilder(); + com.google.cloud.bigquery.datatransfer.v1.EncryptionConfigurationOrBuilder + getEncryptionConfigurationOrBuilder(); com.google.cloud.bigquery.datatransfer.v1.TransferConfig.DestinationCase getDestinationCase(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java similarity index 68% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java index 4ce63973e0e7..0d168c1d6df6 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Represents a user facing message for a particular data transfer run.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferMessage} */ -public final class TransferMessage extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransferMessage extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.TransferMessage) TransferMessageOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferMessage.newBuilder() to construct. private TransferMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransferMessage() { severity_ = 0; messageText_ = ""; @@ -27,34 +45,38 @@ private TransferMessage() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferMessage(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); } /** + * + * *
    * Represents data transfer user facing message severity.
    * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity} */ - public enum MessageSeverity - implements com.google.protobuf.ProtocolMessageEnum { + public enum MessageSeverity implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No severity specified.
      * 
@@ -63,6 +85,8 @@ public enum MessageSeverity */ MESSAGE_SEVERITY_UNSPECIFIED(0), /** + * + * *
      * Informational message.
      * 
@@ -71,6 +95,8 @@ public enum MessageSeverity */ INFO(1), /** + * + * *
      * Warning message.
      * 
@@ -79,6 +105,8 @@ public enum MessageSeverity */ WARNING(2), /** + * + * *
      * Error message.
      * 
@@ -90,6 +118,8 @@ public enum MessageSeverity ; /** + * + * *
      * No severity specified.
      * 
@@ -98,6 +128,8 @@ public enum MessageSeverity */ public static final int MESSAGE_SEVERITY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Informational message.
      * 
@@ -106,6 +138,8 @@ public enum MessageSeverity */ public static final int INFO_VALUE = 1; /** + * + * *
      * Warning message.
      * 
@@ -114,6 +148,8 @@ public enum MessageSeverity */ public static final int WARNING_VALUE = 2; /** + * + * *
      * Error message.
      * 
@@ -122,7 +158,6 @@ public enum MessageSeverity */ public static final int ERROR_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -147,41 +182,47 @@ public static MessageSeverity valueOf(int value) { */ public static MessageSeverity forNumber(int value) { switch (value) { - case 0: return MESSAGE_SEVERITY_UNSPECIFIED; - case 1: return INFO; - case 2: return WARNING; - case 3: return ERROR; - default: return null; + case 0: + return MESSAGE_SEVERITY_UNSPECIFIED; + case 1: + return INFO; + case 2: + return WARNING; + case 3: + return ERROR; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - MessageSeverity> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MessageSeverity findValueByNumber(int number) { - return MessageSeverity.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MessageSeverity findValueByNumber(int number) { + return MessageSeverity.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDescriptor() + .getEnumTypes() + .get(0); } private static final MessageSeverity[] VALUES = values(); @@ -189,8 +230,7 @@ public MessageSeverity findValueByNumber(int number) { public static MessageSeverity valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -211,11 +251,14 @@ private MessageSeverity(int value) { public static final int MESSAGE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp messageTime_; /** + * + * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; + * * @return Whether the messageTime field is set. */ @java.lang.Override @@ -223,11 +266,14 @@ public boolean hasMessageTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; + * * @return The messageTime. */ @java.lang.Override @@ -235,6 +281,8 @@ public com.google.protobuf.Timestamp getMessageTime() { return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; } /** + * + * *
    * Time when message was logged.
    * 
@@ -249,38 +297,56 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { public static final int SEVERITY_FIELD_NUMBER = 2; private int severity_ = 0; /** + * + * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @return The enum numeric value on the wire for severity. */ - @java.lang.Override public int getSeverityValue() { + @java.lang.Override + public int getSeverityValue() { return severity_; } /** + * + * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @return The severity. */ - @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity() { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber(severity_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity() { + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber( + severity_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED + : result; } public static final int MESSAGE_TEXT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object messageText_ = ""; /** + * + * *
    * Message text.
    * 
* * string message_text = 3; + * * @return The messageText. */ @java.lang.Override @@ -289,29 +355,29 @@ public java.lang.String getMessageText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); messageText_ = s; return s; } } /** + * + * *
    * Message text.
    * 
* * string message_text = 3; + * * @return The bytes for messageText. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageTextBytes() { + public com.google.protobuf.ByteString getMessageTextBytes() { java.lang.Object ref = messageText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); messageText_ = b; return b; } else { @@ -320,6 +386,7 @@ public java.lang.String getMessageText() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -331,12 +398,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getMessageTime()); } - if (severity_ != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.MESSAGE_SEVERITY_UNSPECIFIED.getNumber()) { + if (severity_ + != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity + .MESSAGE_SEVERITY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, severity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(messageText_)) { @@ -352,12 +421,13 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMessageTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMessageTime()); } - if (severity_ != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.MESSAGE_SEVERITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, severity_); + if (severity_ + != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity + .MESSAGE_SEVERITY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, severity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(messageText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, messageText_); @@ -370,21 +440,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.TransferMessage)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.TransferMessage other = (com.google.cloud.bigquery.datatransfer.v1.TransferMessage) obj; + com.google.cloud.bigquery.datatransfer.v1.TransferMessage other = + (com.google.cloud.bigquery.datatransfer.v1.TransferMessage) obj; if (hasMessageTime() != other.hasMessageTime()) return false; if (hasMessageTime()) { - if (!getMessageTime() - .equals(other.getMessageTime())) return false; + if (!getMessageTime().equals(other.getMessageTime())) return false; } if (severity_ != other.severity_) return false; - if (!getMessageText() - .equals(other.getMessageText())) return false; + if (!getMessageText().equals(other.getMessageText())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -410,119 +479,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage 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.TransferMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferMessage 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.TransferMessage 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.TransferMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage 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.TransferMessage 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.TransferMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.TransferMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferMessage prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a user facing message for a particular data transfer run.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferMessage} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.TransferMessage) com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.class, + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.TransferMessage.newBuilder() @@ -530,17 +607,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMessageTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -556,9 +633,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; } @java.lang.Override @@ -577,8 +654,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage result = new com.google.cloud.bigquery.datatransfer.v1.TransferMessage(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.TransferMessage result = + new com.google.cloud.bigquery.datatransfer.v1.TransferMessage(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -587,9 +667,8 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferMes int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.messageTime_ = messageTimeBuilder_ == null - ? messageTime_ - : messageTimeBuilder_.build(); + result.messageTime_ = + messageTimeBuilder_ == null ? messageTime_ : messageTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { @@ -605,38 +684,39 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferMes public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.TransferMessage) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferMessage)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferMessage) other); } else { super.mergeFrom(other); return this; @@ -644,7 +724,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferMessage other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.TransferMessage.getDefaultInstance()) + return this; if (other.hasMessageTime()) { mergeMessageTime(other.getMessageTime()); } @@ -682,29 +763,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getMessageTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - severity_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - messageText_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getMessageTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + severity_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + messageText_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -714,38 +797,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp messageTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> messageTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + messageTimeBuilder_; /** + * + * *
      * Time when message was logged.
      * 
* * .google.protobuf.Timestamp message_time = 1; + * * @return Whether the messageTime field is set. */ public boolean hasMessageTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Time when message was logged.
      * 
* * .google.protobuf.Timestamp message_time = 1; + * * @return The messageTime. */ public com.google.protobuf.Timestamp getMessageTime() { if (messageTimeBuilder_ == null) { - return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; + return messageTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : messageTime_; } else { return messageTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when message was logged.
      * 
@@ -766,14 +863,15 @@ public Builder setMessageTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when message was logged.
      * 
* * .google.protobuf.Timestamp message_time = 1; */ - public Builder setMessageTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setMessageTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (messageTimeBuilder_ == null) { messageTime_ = builderForValue.build(); } else { @@ -784,6 +882,8 @@ public Builder setMessageTime( return this; } /** + * + * *
      * Time when message was logged.
      * 
@@ -792,9 +892,9 @@ public Builder setMessageTime( */ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { if (messageTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - messageTime_ != null && - messageTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && messageTime_ != null + && messageTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getMessageTimeBuilder().mergeFrom(value); } else { messageTime_ = value; @@ -809,6 +909,8 @@ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when message was logged.
      * 
@@ -826,6 +928,8 @@ public Builder clearMessageTime() { return this; } /** + * + * *
      * Time when message was logged.
      * 
@@ -838,6 +942,8 @@ public com.google.protobuf.Timestamp.Builder getMessageTimeBuilder() { return getMessageTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when message was logged.
      * 
@@ -848,11 +954,14 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { if (messageTimeBuilder_ != null) { return messageTimeBuilder_.getMessageOrBuilder(); } else { - return messageTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; + return messageTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : messageTime_; } } /** + * + * *
      * Time when message was logged.
      * 
@@ -860,14 +969,17 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { * .google.protobuf.Timestamp message_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getMessageTimeFieldBuilder() { if (messageTimeBuilder_ == null) { - messageTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getMessageTime(), - getParentForChildren(), - isClean()); + messageTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getMessageTime(), getParentForChildren(), isClean()); messageTime_ = null; } return messageTimeBuilder_; @@ -875,22 +987,31 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { private int severity_ = 0; /** + * + * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @return The enum numeric value on the wire for severity. */ - @java.lang.Override public int getSeverityValue() { + @java.lang.Override + public int getSeverityValue() { return severity_; } /** + * + * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @param value The enum numeric value on the wire for severity to set. * @return This builder for chaining. */ @@ -901,28 +1022,41 @@ public Builder setSeverityValue(int value) { return this; } /** + * + * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @return The severity. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity() { - com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber(severity_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED : result; + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity result = + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.forNumber( + severity_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity.UNRECOGNIZED + : result; } /** + * + * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity(com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { + public Builder setSeverity( + com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) { if (value == null) { throw new NullPointerException(); } @@ -932,11 +1066,15 @@ public Builder setSeverity(com.google.cloud.bigquery.datatransfer.v1.TransferMes return this; } /** + * + * *
      * Message severity.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @return This builder for chaining. */ public Builder clearSeverity() { @@ -948,18 +1086,20 @@ public Builder clearSeverity() { private java.lang.Object messageText_ = ""; /** + * + * *
      * Message text.
      * 
* * string message_text = 3; + * * @return The messageText. */ public java.lang.String getMessageText() { java.lang.Object ref = messageText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); messageText_ = s; return s; @@ -968,20 +1108,21 @@ public java.lang.String getMessageText() { } } /** + * + * *
      * Message text.
      * 
* * string message_text = 3; + * * @return The bytes for messageText. */ - public com.google.protobuf.ByteString - getMessageTextBytes() { + public com.google.protobuf.ByteString getMessageTextBytes() { java.lang.Object ref = messageText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); messageText_ = b; return b; } else { @@ -989,28 +1130,35 @@ public java.lang.String getMessageText() { } } /** + * + * *
      * Message text.
      * 
* * string message_text = 3; + * * @param value The messageText to set. * @return This builder for chaining. */ - public Builder setMessageText( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageText(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } messageText_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Message text.
      * 
* * string message_text = 3; + * * @return This builder for chaining. */ public Builder clearMessageText() { @@ -1020,26 +1168,30 @@ public Builder clearMessageText() { return this; } /** + * + * *
      * Message text.
      * 
* * string message_text = 3; + * * @param value The bytes for messageText to set. * @return This builder for chaining. */ - public Builder setMessageTextBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageTextBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); messageText_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1049,12 +1201,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.TransferMessage) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.TransferMessage) private static final com.google.cloud.bigquery.datatransfer.v1.TransferMessage DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.TransferMessage(); } @@ -1063,27 +1215,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.TransferMessage getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1098,6 +1250,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java similarity index 66% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java index 467992092e26..0e9b4035b43e 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java @@ -1,32 +1,56 @@ +/* + * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface TransferMessageOrBuilder extends +public interface TransferMessageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.TransferMessage) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; + * * @return Whether the messageTime field is set. */ boolean hasMessageTime(); /** + * + * *
    * Time when message was logged.
    * 
* * .google.protobuf.Timestamp message_time = 1; + * * @return The messageTime. */ com.google.protobuf.Timestamp getMessageTime(); /** + * + * *
    * Time when message was logged.
    * 
@@ -36,41 +60,54 @@ public interface TransferMessageOrBuilder extends com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder(); /** + * + * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @return The enum numeric value on the wire for severity. */ int getSeverityValue(); /** + * + * *
    * Message severity.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2; + * + * * @return The severity. */ com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity(); /** + * + * *
    * Message text.
    * 
* * string message_text = 3; + * * @return The messageText. */ java.lang.String getMessageText(); /** + * + * *
    * Message text.
    * 
* * string message_text = 3; + * * @return The bytes for messageText. */ - com.google.protobuf.ByteString - getMessageTextBytes(); + com.google.protobuf.ByteString getMessageTextBytes(); } diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java new file mode 100644 index 000000000000..3a9069e8b6f7 --- /dev/null +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java @@ -0,0 +1,266 @@ +/* + * 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/transfer.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.datatransfer.v1; + +public final class TransferProto { + private TransferProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n4google/cloud/bigquery/datatransfer/v1/" + + "transfer.proto\022%google.cloud.bigquery.da" + + "tatransfer.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\034googl" + + "e/protobuf/struct.proto\032\037google/protobuf" + + "/timestamp.proto\032\036google/protobuf/wrappe" + + "rs.proto\032\027google/rpc/status.proto\"0\n\020Ema" + + "ilPreferences\022\034\n\024enable_failure_email\030\001 " + + "\001(\010\"\220\001\n\017ScheduleOptions\022\037\n\027disable_auto_" + + "scheduling\030\003 \001(\010\022.\n\nstart_time\030\001 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022,\n\010end_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\"(\n\010UserIn" + + "fo\022\022\n\005email\030\001 \001(\tH\000\210\001\001B\010\n\006_email\"\227\010\n\016Tra" + + "nsferConfig\022\014\n\004name\030\001 \001(\t\022 \n\026destination" + + "_dataset_id\030\002 \001(\tH\000\022\024\n\014display_name\030\003 \001(" + + "\t\022\026\n\016data_source_id\030\005 \001(\t\022\'\n\006params\030\t \001(" + + "\0132\027.google.protobuf.Struct\022\020\n\010schedule\030\007" + + " \001(\t\022P\n\020schedule_options\030\030 \001(\01326.google." + + "cloud.bigquery.datatransfer.v1.ScheduleO" + + "ptions\022 \n\030data_refresh_window_days\030\014 \001(\005" + + "\022\020\n\010disabled\030\r \001(\010\0224\n\013update_time\030\004 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\0226\n\rnext" + + "_run_time\030\010 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022H\n\005state\030\n \001(\01624.google.cloud.b" + + "igquery.datatransfer.v1.TransferStateB\003\340" + + "A\003\022\017\n\007user_id\030\013 \001(\003\022\033\n\016dataset_region\030\016 " + + "\001(\tB\003\340A\003\022!\n\031notification_pubsub_topic\030\017 " + + "\001(\t\022R\n\021email_preferences\030\022 \001(\01327.google." + + "cloud.bigquery.datatransfer.v1.EmailPref" + + "erences\022M\n\nowner_info\030\033 \001(\0132/.google.clo" + + "ud.bigquery.datatransfer.v1.UserInfoB\003\340A" + + "\003H\001\210\001\001\022`\n\030encryption_configuration\030\034 \001(\013" + + "2>.google.cloud.bigquery.datatransfer.v1" + + ".EncryptionConfiguration:\271\001\352A\265\001\n2bigquer" + + "ydatatransfer.googleapis.com/TransferCon" + + "fig\0224projects/{project}/transferConfigs/" + + "{transfer_config}\022Iprojects/{project}/lo" + + "cations/{location}/transferConfigs/{tran" + + "sfer_config}B\r\n\013destinationB\r\n\013_owner_in" + + "fo\"M\n\027EncryptionConfiguration\0222\n\014kms_key" + + "_name\030\001 \001(\0132\034.google.protobuf.StringValu" + + "e\"\372\006\n\013TransferRun\022\014\n\004name\030\001 \001(\t\0221\n\rsched" + + "ule_time\030\003 \001(\0132\032.google.protobuf.Timesta" + + "mp\022,\n\010run_time\030\n \001(\0132\032.google.protobuf.T" + + "imestamp\022(\n\014error_status\030\025 \001(\0132\022.google." + + "rpc.Status\0223\n\nstart_time\030\004 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" + + "date_time\030\006 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022,\n\006params\030\t \001(\0132\027.google.protob" + + "uf.StructB\003\340A\003\022%\n\026destination_dataset_id" + + "\030\002 \001(\tB\003\340A\003H\000\022\033\n\016data_source_id\030\007 \001(\tB\003\340" + + "A\003\022C\n\005state\030\010 \001(\01624.google.cloud.bigquer" + + "y.datatransfer.v1.TransferState\022\017\n\007user_" + + "id\030\013 \001(\003\022\025\n\010schedule\030\014 \001(\tB\003\340A\003\022&\n\031notif" + + "ication_pubsub_topic\030\027 \001(\tB\003\340A\003\022W\n\021email" + + "_preferences\030\031 \001(\01327.google.cloud.bigque" + + "ry.datatransfer.v1.EmailPreferencesB\003\340A\003" + + ":\304\001\352A\300\001\n\'bigquerydatatransfer.googleapis" + + ".com/Run\022?projects/{project}/transferCon" + + "figs/{transfer_config}/runs/{run}\022Tproje" + + "cts/{project}/locations/{location}/trans" + + "ferConfigs/{transfer_config}/runs/{run}B" + + "\r\n\013destination\"\212\002\n\017TransferMessage\0220\n\014me" + + "ssage_time\030\001 \001(\0132\032.google.protobuf.Times" + + "tamp\022X\n\010severity\030\002 \001(\0162F.google.cloud.bi" + + "gquery.datatransfer.v1.TransferMessage.M" + + "essageSeverity\022\024\n\014message_text\030\003 \001(\t\"U\n\017" + + "MessageSeverity\022 \n\034MESSAGE_SEVERITY_UNSP" + + "ECIFIED\020\000\022\010\n\004INFO\020\001\022\013\n\007WARNING\020\002\022\t\n\005ERRO" + + "R\020\003*K\n\014TransferType\022\035\n\031TRANSFER_TYPE_UNS" + + "PECIFIED\020\000\022\t\n\005BATCH\020\001\022\r\n\tSTREAMING\020\002\032\002\030\001" + + "*s\n\rTransferState\022\036\n\032TRANSFER_STATE_UNSP" + + "ECIFIED\020\000\022\013\n\007PENDING\020\002\022\013\n\007RUNNING\020\003\022\r\n\tS" + + "UCCEEDED\020\004\022\n\n\006FAILED\020\005\022\r\n\tCANCELLED\020\006B\217\002" + + "\n)com.google.cloud.bigquery.datatransfer" + + ".v1B\rTransferProtoP\001ZMcloud.google.com/g" + + "o/bigquery/datatransfer/apiv1/datatransf" + + "erpb;datatransferpb\242\002\005GCBDT\252\002%Google.Clo" + + "ud.BigQuery.DataTransfer.V1\312\002%Google\\Clo" + + "ud\\BigQuery\\DataTransfer\\V1\352\002)Google::Cl" + + "oud::Bigquery::DataTransfer::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor, + new java.lang.String[] { + "EnableFailureEmail", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor, + new java.lang.String[] { + "DisableAutoScheduling", "StartTime", "EndTime", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor, + new java.lang.String[] { + "Email", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor, + new java.lang.String[] { + "Name", + "DestinationDatasetId", + "DisplayName", + "DataSourceId", + "Params", + "Schedule", + "ScheduleOptions", + "DataRefreshWindowDays", + "Disabled", + "UpdateTime", + "NextRunTime", + "State", + "UserId", + "DatasetRegion", + "NotificationPubsubTopic", + "EmailPreferences", + "OwnerInfo", + "EncryptionConfiguration", + "Destination", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor, + new java.lang.String[] { + "KmsKeyName", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor, + new java.lang.String[] { + "Name", + "ScheduleTime", + "RunTime", + "ErrorStatus", + "StartTime", + "EndTime", + "UpdateTime", + "Params", + "DestinationDatasetId", + "DataSourceId", + "State", + "UserId", + "Schedule", + "NotificationPubsubTopic", + "EmailPreferences", + "Destination", + }); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor, + new java.lang.String[] { + "MessageTime", "Severity", "MessageText", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java similarity index 73% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java index 0d224cd7fb9c..dfc9bdceaa34 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,21 +20,24 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Represents a data transfer run.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferRun} */ -public final class TransferRun extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransferRun extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.TransferRun) TransferRunOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferRun.newBuilder() to construct. private TransferRun(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransferRun() { name_ = ""; dataSourceId_ = ""; @@ -30,34 +48,39 @@ private TransferRun() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferRun(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); } private int bitField0_; private int destinationCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object destination_; + public enum DestinationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DESTINATION_DATASET_ID(2), DESTINATION_NOT_SET(0); private final int value; + private DestinationCase(int value) { this.value = value; } @@ -73,26 +96,31 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 2: return DESTINATION_DATASET_ID; - case 0: return DESTINATION_NOT_SET; - default: return null; + case 2: + return DESTINATION_DATASET_ID; + case 0: + return DESTINATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -101,6 +129,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,14 +138,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -125,16 +155,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -145,11 +174,14 @@ public java.lang.String getName() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -157,18 +189,25 @@ public boolean hasScheduleTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Minimum time after which a transfer run can be started.
    * 
@@ -177,18 +216,23 @@ public com.google.protobuf.Timestamp getScheduleTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } public static final int RUN_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp runTime_; /** + * + * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; + * * @return Whether the runTime field is set. */ @java.lang.Override @@ -196,12 +240,15 @@ public boolean hasRunTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; + * * @return The runTime. */ @java.lang.Override @@ -209,6 +256,8 @@ public com.google.protobuf.Timestamp getRunTime() { return runTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runTime_; } /** + * + * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
@@ -224,11 +273,14 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
   public static final int ERROR_STATUS_FIELD_NUMBER = 21;
   private com.google.rpc.Status errorStatus_;
   /**
+   *
+   *
    * 
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; + * * @return Whether the errorStatus field is set. */ @java.lang.Override @@ -236,11 +288,14 @@ public boolean hasErrorStatus() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; + * * @return The errorStatus. */ @java.lang.Override @@ -248,6 +303,8 @@ public com.google.rpc.Status getErrorStatus() { return errorStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : errorStatus_; } /** + * + * *
    * Status of the transfer run.
    * 
@@ -262,12 +319,16 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -275,12 +336,16 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ @java.lang.Override @@ -288,12 +353,15 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -303,12 +371,16 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -316,12 +388,16 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -329,12 +405,15 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -344,11 +423,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -356,11 +439,15 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -368,11 +455,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -382,6 +472,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int PARAMS_FIELD_NUMBER = 9; private com.google.protobuf.Struct params_; /** + * + * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -391,6 +483,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the params field is set. */ @java.lang.Override @@ -398,6 +491,8 @@ public boolean hasParams() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -407,6 +502,7 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The params. */ @java.lang.Override @@ -414,6 +510,8 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** + * + * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -431,22 +529,28 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
 
   public static final int DESTINATION_DATASET_ID_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the destinationDatasetId field is set. */ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** + * + * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The destinationDatasetId. */ public java.lang.String getDestinationDatasetId() { @@ -457,8 +561,7 @@ public java.lang.String getDestinationDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -467,23 +570,24 @@ public java.lang.String getDestinationDatasetId() { } } /** + * + * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for destinationDatasetId. */ - public com.google.protobuf.ByteString - getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -494,14 +598,18 @@ public java.lang.String getDestinationDatasetId() { } public static final int DATA_SOURCE_ID_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object dataSourceId_ = ""; /** + * + * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dataSourceId. */ @java.lang.Override @@ -510,29 +618,29 @@ public java.lang.String getDataSourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; } } /** + * + * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dataSourceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataSourceIdBytes() { + public com.google.protobuf.ByteString getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -543,37 +651,51 @@ public java.lang.String getDataSourceId() { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** + * + * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @return The state. */ - @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { + com.google.cloud.bigquery.datatransfer.v1.TransferState result = + com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED + : result; } public static final int USER_ID_FIELD_NUMBER = 11; private long userId_ = 0L; /** + * + * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; + * * @return The userId. */ @java.lang.Override @@ -582,9 +704,12 @@ public long getUserId() { } public static final int SCHEDULE_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object schedule_ = ""; /** + * + * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -594,6 +719,7 @@ public long getUserId() {
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The schedule. */ @java.lang.Override @@ -602,14 +728,15 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; } } /** + * + * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -619,16 +746,15 @@ public java.lang.String getSchedule() {
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schedule_ = b; return b; } else { @@ -637,9 +763,12 @@ public java.lang.String getSchedule() { } public static final int NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER = 23; + @SuppressWarnings("serial") private volatile java.lang.Object notificationPubsubTopic_ = ""; /** + * + * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -648,7 +777,9 @@ public java.lang.String getSchedule() {
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The notificationPubsubTopic. */ @java.lang.Override @@ -657,14 +788,15 @@ public java.lang.String getNotificationPubsubTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; } } /** + * + * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -673,17 +805,17 @@ public java.lang.String getNotificationPubsubTopic() {
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for notificationPubsubTopic. */ @java.lang.Override - public com.google.protobuf.ByteString - getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -694,13 +826,18 @@ public java.lang.String getNotificationPubsubTopic() { public static final int EMAIL_PREFERENCES_FIELD_NUMBER = 25; private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; /** + * + * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the emailPreferences field is set. */ @java.lang.Override @@ -708,34 +845,49 @@ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The emailPreferences. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { - return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; + return emailPreferences_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() + : emailPreferences_; } /** + * + * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() { - return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; + public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder + getEmailPreferencesOrBuilder() { + return emailPreferences_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() + : emailPreferences_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -747,8 +899,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -770,7 +921,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, dataSourceId_); } - if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(8, state_); } if (((bitField0_ & 0x00000040) != 0)) { @@ -810,53 +963,46 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destination_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getScheduleTime()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartTime()); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndTime()); } if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, dataSourceId_); } - if (state_ != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, state_); + if (state_ + != com.google.cloud.bigquery.datatransfer.v1.TransferState.TRANSFER_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); } if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getParams()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getParams()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getRunTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getRunTime()); } if (userId_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(11, userId_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, userId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schedule_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, schedule_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getErrorStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getErrorStatus()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(notificationPubsubTopic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, notificationPubsubTopic_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(23, notificationPubsubTopic_); } if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, getEmailPreferences()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getEmailPreferences()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -866,69 +1012,56 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.TransferRun)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.TransferRun other = (com.google.cloud.bigquery.datatransfer.v1.TransferRun) obj; + com.google.cloud.bigquery.datatransfer.v1.TransferRun other = + (com.google.cloud.bigquery.datatransfer.v1.TransferRun) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (hasRunTime() != other.hasRunTime()) return false; if (hasRunTime()) { - if (!getRunTime() - .equals(other.getRunTime())) return false; + if (!getRunTime().equals(other.getRunTime())) return false; } if (hasErrorStatus() != other.hasErrorStatus()) return false; if (hasErrorStatus()) { - if (!getErrorStatus() - .equals(other.getErrorStatus())) return false; + if (!getErrorStatus().equals(other.getErrorStatus())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasParams() != other.hasParams()) return false; if (hasParams()) { - if (!getParams() - .equals(other.getParams())) return false; + if (!getParams().equals(other.getParams())) return false; } - if (!getDataSourceId() - .equals(other.getDataSourceId())) return false; + if (!getDataSourceId().equals(other.getDataSourceId())) return false; if (state_ != other.state_) return false; - if (getUserId() - != other.getUserId()) return false; - if (!getSchedule() - .equals(other.getSchedule())) return false; - if (!getNotificationPubsubTopic() - .equals(other.getNotificationPubsubTopic())) return false; + if (getUserId() != other.getUserId()) return false; + if (!getSchedule().equals(other.getSchedule())) return false; + if (!getNotificationPubsubTopic().equals(other.getNotificationPubsubTopic())) return false; if (hasEmailPreferences() != other.hasEmailPreferences()) return false; if (hasEmailPreferences()) { - if (!getEmailPreferences() - .equals(other.getEmailPreferences())) return false; + if (!getEmailPreferences().equals(other.getEmailPreferences())) return false; } if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 2: - if (!getDestinationDatasetId() - .equals(other.getDestinationDatasetId())) return false; + if (!getDestinationDatasetId().equals(other.getDestinationDatasetId())) return false; break; case 0: default: @@ -979,8 +1112,7 @@ public int hashCode() { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + USER_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getUserId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserId()); hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getSchedule().hashCode(); hash = (37 * hash) + NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER; @@ -1003,119 +1135,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferRun parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferRun 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.TransferRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TransferRun 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.TransferRun 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.TransferRun parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.TransferRun 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.TransferRun 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.TransferRun parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.TransferRun parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.TransferRun parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.TransferRun prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.TransferRun prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a data transfer run.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.TransferRun} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.TransferRun) com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, + com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.TransferRun.newBuilder() @@ -1123,14 +1263,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getScheduleTimeFieldBuilder(); getRunTimeFieldBuilder(); getErrorStatusFieldBuilder(); @@ -1141,6 +1280,7 @@ private void maybeForceBuilderInitialization() { getEmailPreferencesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1197,9 +1337,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; } @java.lang.Override @@ -1218,8 +1358,11 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferRun buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.TransferRun result = new com.google.cloud.bigquery.datatransfer.v1.TransferRun(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.TransferRun result = + new com.google.cloud.bigquery.datatransfer.v1.TransferRun(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1232,45 +1375,33 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferRun } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.scheduleTime_ = scheduleTimeBuilder_ == null - ? scheduleTime_ - : scheduleTimeBuilder_.build(); + result.scheduleTime_ = + scheduleTimeBuilder_ == null ? scheduleTime_ : scheduleTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.runTime_ = runTimeBuilder_ == null - ? runTime_ - : runTimeBuilder_.build(); + result.runTime_ = runTimeBuilder_ == null ? runTime_ : runTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.errorStatus_ = errorStatusBuilder_ == null - ? errorStatus_ - : errorStatusBuilder_.build(); + result.errorStatus_ = + errorStatusBuilder_ == null ? errorStatus_ : errorStatusBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.params_ = paramsBuilder_ == null - ? params_ - : paramsBuilder_.build(); + result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build(); to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000200) != 0)) { @@ -1289,9 +1420,8 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.TransferRun result.notificationPubsubTopic_ = notificationPubsubTopic_; } if (((from_bitField0_ & 0x00004000) != 0)) { - result.emailPreferences_ = emailPreferencesBuilder_ == null - ? emailPreferences_ - : emailPreferencesBuilder_.build(); + result.emailPreferences_ = + emailPreferencesBuilder_ == null ? emailPreferences_ : emailPreferencesBuilder_.build(); to_bitField0_ |= 0x00000080; } result.bitField0_ |= to_bitField0_; @@ -1306,38 +1436,39 @@ private void buildPartialOneofs(com.google.cloud.bigquery.datatransfer.v1.Transf public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.TransferRun) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferRun)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.TransferRun) other); } else { super.mergeFrom(other); return this; @@ -1345,7 +1476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferRun other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1397,15 +1529,17 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.TransferRun o mergeEmailPreferences(other.getEmailPreferences()); } switch (other.getDestinationCase()) { - case DESTINATION_DATASET_ID: { - destinationCase_ = 2; - destination_ = other.destination_; - onChanged(); - break; - } - case DESTINATION_NOT_SET: { - break; - } + case DESTINATION_DATASET_ID: + { + destinationCase_ = 2; + destination_ = other.destination_; + onChanged(); + break; + } + case DESTINATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1433,104 +1567,105 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - destinationCase_ = 2; - destination_ = s; - break; - } // case 18 - case 26: { - input.readMessage( - getScheduleTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 50: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 58: { - dataSourceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 58 - case 64: { - state_ = input.readEnum(); - bitField0_ |= 0x00000400; - break; - } // case 64 - case 74: { - input.readMessage( - getParamsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 74 - case 82: { - input.readMessage( - getRunTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 82 - case 88: { - userId_ = input.readInt64(); - bitField0_ |= 0x00000800; - break; - } // case 88 - case 98: { - schedule_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 98 - case 170: { - input.readMessage( - getErrorStatusFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 170 - case 186: { - notificationPubsubTopic_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 186 - case 202: { - input.readMessage( - getEmailPreferencesFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 202 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + destinationCase_ = 2; + destination_ = s; + break; + } // case 18 + case 26: + { + input.readMessage(getScheduleTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 50: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 58: + { + dataSourceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 58 + case 64: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000400; + break; + } // case 64 + case 74: + { + input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: + { + input.readMessage(getRunTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 82 + case 88: + { + userId_ = input.readInt64(); + bitField0_ |= 0x00000800; + break; + } // case 88 + case 98: + { + schedule_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 98 + case 170: + { + input.readMessage(getErrorStatusFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 170 + case 186: + { + notificationPubsubTopic_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 186 + case 202: + { + input.readMessage( + getEmailPreferencesFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 202 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1540,12 +1675,12 @@ public Builder mergeFrom( } // finally return this; } + private int destinationCase_ = 0; private java.lang.Object destination_; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public Builder clearDestination() { @@ -1559,6 +1694,8 @@ public Builder clearDestination() { private java.lang.Object name_ = ""; /** + * + * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1567,13 +1704,13 @@ public Builder clearDestination() {
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1582,6 +1719,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1590,15 +1729,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1606,6 +1744,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1614,18 +1754,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1634,6 +1778,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1643,6 +1788,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the transfer run.
      * Transfer run names have the form
@@ -1651,12 +1798,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1666,34 +1815,47 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
* * .google.protobuf.Timestamp schedule_time = 3; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
* * .google.protobuf.Timestamp schedule_time = 3; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1714,14 +1876,15 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
* * .google.protobuf.Timestamp schedule_time = 3; */ - public Builder setScheduleTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); } else { @@ -1732,6 +1895,8 @@ public Builder setScheduleTime( return this; } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1740,9 +1905,9 @@ public Builder setScheduleTime( */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - scheduleTime_ != null && - scheduleTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && scheduleTime_ != null + && scheduleTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getScheduleTimeBuilder().mergeFrom(value); } else { scheduleTime_ = value; @@ -1757,6 +1922,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1774,6 +1941,8 @@ public Builder clearScheduleTime() { return this; } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1786,6 +1955,8 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { return getScheduleTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1796,11 +1967,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } } /** + * + * *
      * Minimum time after which a transfer run can be started.
      * 
@@ -1808,14 +1982,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { * .google.protobuf.Timestamp schedule_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), - getParentForChildren(), - isClean()); + scheduleTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), getParentForChildren(), isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -1823,26 +2000,35 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private com.google.protobuf.Timestamp runTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> runTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + runTimeBuilder_; /** + * + * *
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
      * 
* * .google.protobuf.Timestamp run_time = 10; + * * @return Whether the runTime field is set. */ public boolean hasRunTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
      * 
* * .google.protobuf.Timestamp run_time = 10; + * * @return The runTime. */ public com.google.protobuf.Timestamp getRunTime() { @@ -1853,6 +2039,8 @@ public com.google.protobuf.Timestamp getRunTime() { } } /** + * + * *
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -1874,6 +2062,8 @@ public Builder setRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -1881,8 +2071,7 @@ public Builder setRunTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp run_time = 10;
      */
-    public Builder setRunTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setRunTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (runTimeBuilder_ == null) {
         runTime_ = builderForValue.build();
       } else {
@@ -1893,6 +2082,8 @@ public Builder setRunTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -1902,9 +2093,9 @@ public Builder setRunTime(
      */
     public Builder mergeRunTime(com.google.protobuf.Timestamp value) {
       if (runTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          runTime_ != null &&
-          runTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && runTime_ != null
+            && runTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getRunTimeBuilder().mergeFrom(value);
         } else {
           runTime_ = value;
@@ -1919,6 +2110,8 @@ public Builder mergeRunTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -1937,6 +2130,8 @@ public Builder clearRunTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -1950,6 +2145,8 @@ public com.google.protobuf.Timestamp.Builder getRunTimeBuilder() {
       return getRunTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -1961,11 +2158,12 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
       if (runTimeBuilder_ != null) {
         return runTimeBuilder_.getMessageOrBuilder();
       } else {
-        return runTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : runTime_;
+        return runTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runTime_;
       }
     }
     /**
+     *
+     *
      * 
      * For batch transfer runs, specifies the date and time of the data should be
      * ingested.
@@ -1974,14 +2172,17 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
      * .google.protobuf.Timestamp run_time = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getRunTimeFieldBuilder() {
       if (runTimeBuilder_ == null) {
-        runTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getRunTime(),
-                getParentForChildren(),
-                isClean());
+        runTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getRunTime(), getParentForChildren(), isClean());
         runTime_ = null;
       }
       return runTimeBuilder_;
@@ -1989,24 +2190,31 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
 
     private com.google.rpc.Status errorStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorStatusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        errorStatusBuilder_;
     /**
+     *
+     *
      * 
      * Status of the transfer run.
      * 
* * .google.rpc.Status error_status = 21; + * * @return Whether the errorStatus field is set. */ public boolean hasErrorStatus() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Status of the transfer run.
      * 
* * .google.rpc.Status error_status = 21; + * * @return The errorStatus. */ public com.google.rpc.Status getErrorStatus() { @@ -2017,6 +2225,8 @@ public com.google.rpc.Status getErrorStatus() { } } /** + * + * *
      * Status of the transfer run.
      * 
@@ -2037,14 +2247,15 @@ public Builder setErrorStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Status of the transfer run.
      * 
* * .google.rpc.Status error_status = 21; */ - public Builder setErrorStatus( - com.google.rpc.Status.Builder builderForValue) { + public Builder setErrorStatus(com.google.rpc.Status.Builder builderForValue) { if (errorStatusBuilder_ == null) { errorStatus_ = builderForValue.build(); } else { @@ -2055,6 +2266,8 @@ public Builder setErrorStatus( return this; } /** + * + * *
      * Status of the transfer run.
      * 
@@ -2063,9 +2276,9 @@ public Builder setErrorStatus( */ public Builder mergeErrorStatus(com.google.rpc.Status value) { if (errorStatusBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - errorStatus_ != null && - errorStatus_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && errorStatus_ != null + && errorStatus_ != com.google.rpc.Status.getDefaultInstance()) { getErrorStatusBuilder().mergeFrom(value); } else { errorStatus_ = value; @@ -2080,6 +2293,8 @@ public Builder mergeErrorStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Status of the transfer run.
      * 
@@ -2097,6 +2312,8 @@ public Builder clearErrorStatus() { return this; } /** + * + * *
      * Status of the transfer run.
      * 
@@ -2109,6 +2326,8 @@ public com.google.rpc.Status.Builder getErrorStatusBuilder() { return getErrorStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Status of the transfer run.
      * 
@@ -2119,11 +2338,12 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { if (errorStatusBuilder_ != null) { return errorStatusBuilder_.getMessageOrBuilder(); } else { - return errorStatus_ == null ? - com.google.rpc.Status.getDefaultInstance() : errorStatus_; + return errorStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : errorStatus_; } } /** + * + * *
      * Status of the transfer run.
      * 
@@ -2131,14 +2351,15 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { * .google.rpc.Status error_status = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorStatusFieldBuilder() { if (errorStatusBuilder_ == null) { - errorStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getErrorStatus(), - getParentForChildren(), - isClean()); + errorStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>( + getErrorStatus(), getParentForChildren(), isClean()); errorStatus_ = null; } return errorStatusBuilder_; @@ -2146,26 +2367,37 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2176,12 +2408,15 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -2197,15 +2432,17 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -2216,18 +2453,21 @@ public Builder setStartTime( return this; } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -2242,12 +2482,15 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2260,12 +2503,15 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000010; @@ -2273,38 +2519,46 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Output only. Time when transfer run was started.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -2312,26 +2566,37 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2342,12 +2607,15 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -2363,15 +2631,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -2382,18 +2652,21 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -2408,12 +2681,15 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2426,12 +2702,15 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000020; @@ -2439,38 +2718,46 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. Time when transfer run ended.
      * Parameter ignored by server for input requests.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -2478,39 +2765,58 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2526,14 +2832,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2544,17 +2853,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2569,11 +2882,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2586,11 +2903,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000040; @@ -2598,36 +2919,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Last time the data transfer run state was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2635,8 +2968,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + paramsBuilder_; /** + * + * *
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2646,12 +2984,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2661,6 +3002,7 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -2671,6 +3013,8 @@ public com.google.protobuf.Struct getParams() { } } /** + * + * *
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2695,6 +3039,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2705,8 +3051,7 @@ public Builder setParams(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
-    public Builder setParams(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
       if (paramsBuilder_ == null) {
         params_ = builderForValue.build();
       } else {
@@ -2717,6 +3062,8 @@ public Builder setParams(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2729,9 +3076,9 @@ public Builder setParams(
      */
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
-        if (((bitField0_ & 0x00000080) != 0) &&
-          params_ != null &&
-          params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000080) != 0)
+            && params_ != null
+            && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getParamsBuilder().mergeFrom(value);
         } else {
           params_ = value;
@@ -2746,6 +3093,8 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2767,6 +3116,8 @@ public Builder clearParams() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2783,6 +3134,8 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
       return getParamsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2797,11 +3150,12 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       if (paramsBuilder_ != null) {
         return paramsBuilder_.getMessageOrBuilder();
       } else {
-        return params_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : params_;
+        return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. Parameters specific to each data source. For more information
      * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -2813,25 +3167,31 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getParamsFieldBuilder() {
       if (paramsBuilder_ == null) {
-        paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getParams(),
-                getParentForChildren(),
-                isClean());
+        paramsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                getParams(), getParentForChildren(), isClean());
         params_ = null;
       }
       return paramsBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the destinationDatasetId field is set. */ @java.lang.Override @@ -2839,11 +3199,14 @@ public boolean hasDestinationDatasetId() { return destinationCase_ == 2; } /** + * + * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The destinationDatasetId. */ @java.lang.Override @@ -2853,8 +3216,7 @@ public java.lang.String getDestinationDatasetId() { ref = destination_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (destinationCase_ == 2) { destination_ = s; @@ -2865,24 +3227,25 @@ public java.lang.String getDestinationDatasetId() { } } /** + * + * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for destinationDatasetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationDatasetIdBytes() { + public com.google.protobuf.ByteString getDestinationDatasetIdBytes() { java.lang.Object ref = ""; if (destinationCase_ == 2) { ref = destination_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (destinationCase_ == 2) { destination_ = b; } @@ -2892,28 +3255,35 @@ public java.lang.String getDestinationDatasetId() { } } /** + * + * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationDatasetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationCase_ = 2; destination_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDestinationDatasetId() { @@ -2925,17 +3295,21 @@ public Builder clearDestinationDatasetId() { return this; } /** + * + * *
      * Output only. The BigQuery target dataset id.
      * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for destinationDatasetId to set. * @return This builder for chaining. */ - public Builder setDestinationDatasetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationCase_ = 2; destination_ = value; @@ -2945,18 +3319,20 @@ public Builder setDestinationDatasetIdBytes( private java.lang.Object dataSourceId_ = ""; /** + * + * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dataSourceId. */ public java.lang.String getDataSourceId() { java.lang.Object ref = dataSourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSourceId_ = s; return s; @@ -2965,20 +3341,21 @@ public java.lang.String getDataSourceId() { } } /** + * + * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dataSourceId. */ - public com.google.protobuf.ByteString - getDataSourceIdBytes() { + public com.google.protobuf.ByteString getDataSourceIdBytes() { java.lang.Object ref = dataSourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSourceId_ = b; return b; } else { @@ -2986,28 +3363,35 @@ public java.lang.String getDataSourceId() { } } /** + * + * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSourceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataSourceId_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDataSourceId() { @@ -3017,17 +3401,21 @@ public Builder clearDataSourceId() { return this; } /** + * + * *
      * Output only. Data source id.
      * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for dataSourceId to set. * @return This builder for chaining. */ - public Builder setDataSourceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataSourceId_ = value; bitField0_ |= 0x00000200; @@ -3037,22 +3425,29 @@ public Builder setDataSourceIdBytes( private int state_ = 0; /** + * + * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3063,24 +3458,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @return The state. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() { - com.google.cloud.bigquery.datatransfer.v1.TransferState result = com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); - return result == null ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED : result; + com.google.cloud.bigquery.datatransfer.v1.TransferState result = + com.google.cloud.bigquery.datatransfer.v1.TransferState.forNumber(state_); + return result == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferState.UNRECOGNIZED + : result; } /** + * + * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @param value The state to set. * @return This builder for chaining. */ @@ -3094,11 +3498,14 @@ public Builder setState(com.google.cloud.bigquery.datatransfer.v1.TransferState return this; } /** + * + * *
      * Data transfer run state. Ignored for input requests.
      * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @return This builder for chaining. */ public Builder clearState() { @@ -3108,13 +3515,16 @@ public Builder clearState() { return this; } - private long userId_ ; + private long userId_; /** + * + * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; + * * @return The userId. */ @java.lang.Override @@ -3122,11 +3532,14 @@ public long getUserId() { return userId_; } /** + * + * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; + * * @param value The userId to set. * @return This builder for chaining. */ @@ -3138,11 +3551,14 @@ public Builder setUserId(long value) { return this; } /** + * + * *
      * Deprecated. Unique ID of the user on whose behalf transfer is done.
      * 
* * int64 user_id = 11; + * * @return This builder for chaining. */ public Builder clearUserId() { @@ -3154,6 +3570,8 @@ public Builder clearUserId() { private java.lang.Object schedule_ = ""; /** + * + * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3163,13 +3581,13 @@ public Builder clearUserId() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The schedule. */ public java.lang.String getSchedule() { java.lang.Object ref = schedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; @@ -3178,6 +3596,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3187,15 +3607,14 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schedule_ = b; return b; } else { @@ -3203,6 +3622,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3212,18 +3633,22 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSchedule(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } schedule_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3233,6 +3658,7 @@ public Builder setSchedule(
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -3242,6 +3668,8 @@ public Builder clearSchedule() { return this; } /** + * + * *
      * Output only. Describes the schedule of this transfer run if it was
      * created as part of a regular schedule. For batch transfer runs that are
@@ -3251,12 +3679,14 @@ public Builder clearSchedule() {
      * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setScheduleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); schedule_ = value; bitField0_ |= 0x00001000; @@ -3266,6 +3696,8 @@ public Builder setScheduleBytes( private java.lang.Object notificationPubsubTopic_ = ""; /** + * + * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3274,14 +3706,15 @@ public Builder setScheduleBytes(
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The notificationPubsubTopic. */ public java.lang.String getNotificationPubsubTopic() { java.lang.Object ref = notificationPubsubTopic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notificationPubsubTopic_ = s; return s; @@ -3290,6 +3723,8 @@ public java.lang.String getNotificationPubsubTopic() { } } /** + * + * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3298,16 +3733,16 @@ public java.lang.String getNotificationPubsubTopic() {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for notificationPubsubTopic. */ - public com.google.protobuf.ByteString - getNotificationPubsubTopicBytes() { + public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() { java.lang.Object ref = notificationPubsubTopic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); notificationPubsubTopic_ = b; return b; } else { @@ -3315,6 +3750,8 @@ public java.lang.String getNotificationPubsubTopic() { } } /** + * + * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3323,19 +3760,24 @@ public java.lang.String getNotificationPubsubTopic() {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopic( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNotificationPubsubTopic(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } notificationPubsubTopic_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3344,7 +3786,9 @@ public Builder setNotificationPubsubTopic(
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearNotificationPubsubTopic() { @@ -3354,6 +3798,8 @@ public Builder clearNotificationPubsubTopic() { return this; } /** + * + * *
      * Output only. Pub/Sub topic where a notification will be sent after this
      * transfer run finishes.
@@ -3362,13 +3808,16 @@ public Builder clearNotificationPubsubTopic() {
      * `projects/{project}/topics/{topic}`
      * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for notificationPubsubTopic to set. * @return This builder for chaining. */ - public Builder setNotificationPubsubTopicBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); notificationPubsubTopic_ = value; bitField0_ |= 0x00002000; @@ -3378,47 +3827,67 @@ public Builder setNotificationPubsubTopicBytes( private com.google.cloud.bigquery.datatransfer.v1.EmailPreferences emailPreferences_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> emailPreferencesBuilder_; + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> + emailPreferencesBuilder_; /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the emailPreferences field is set. */ public boolean hasEmailPreferences() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The emailPreferences. */ public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() { if (emailPreferencesBuilder_ == null) { - return emailPreferences_ == null ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; + return emailPreferences_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() + : emailPreferences_; } else { return emailPreferencesBuilder_.getMessage(); } } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { + public Builder setEmailPreferences( + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { if (emailPreferencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3432,13 +3901,17 @@ public Builder setEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.Ema return this; } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEmailPreferences( com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder builderForValue) { @@ -3452,19 +3925,26 @@ public Builder setEmailPreferences( return this; } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { + public Builder mergeEmailPreferences( + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences value) { if (emailPreferencesBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) && - emailPreferences_ != null && - emailPreferences_ != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) + && emailPreferences_ != null + && emailPreferences_ + != com.google.cloud.bigquery.datatransfer.v1.EmailPreferences + .getDefaultInstance()) { getEmailPreferencesBuilder().mergeFrom(value); } else { emailPreferences_ = value; @@ -3479,13 +3959,17 @@ public Builder mergeEmailPreferences(com.google.cloud.bigquery.datatransfer.v1.E return this; } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEmailPreferences() { bitField0_ = (bitField0_ & ~0x00004000); @@ -3498,61 +3982,79 @@ public Builder clearEmailPreferences() { return this; } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder getEmailPreferencesBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder + getEmailPreferencesBuilder() { bitField0_ |= 0x00004000; onChanged(); return getEmailPreferencesFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder + getEmailPreferencesOrBuilder() { if (emailPreferencesBuilder_ != null) { return emailPreferencesBuilder_.getMessageOrBuilder(); } else { - return emailPreferences_ == null ? - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() : emailPreferences_; + return emailPreferences_ == null + ? com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.getDefaultInstance() + : emailPreferences_; } } /** + * + * *
      * Output only. Email notifications will be sent according to these
      * preferences to the email address of the user who owns the transfer config
      * this run was derived from.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder> getEmailPreferencesFieldBuilder() { if (emailPreferencesBuilder_ == null) { - emailPreferencesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>( - getEmailPreferences(), - getParentForChildren(), - isClean()); + emailPreferencesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferences.Builder, + com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder>( + getEmailPreferences(), getParentForChildren(), isClean()); emailPreferences_ = null; } return emailPreferencesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3562,12 +4064,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.TransferRun) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.TransferRun) private static final com.google.cloud.bigquery.datatransfer.v1.TransferRun DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.TransferRun(); } @@ -3576,27 +4078,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.TransferRun getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferRun parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferRun parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3611,6 +4113,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.TransferRun getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java similarity index 82% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java index 995bc52417f7..28de8be79425 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java @@ -1,14 +1,32 @@ +/* + * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface TransferRunOrBuilder extends +public interface TransferRunOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.TransferRun) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -17,10 +35,13 @@ public interface TransferRunOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the transfer run.
    * Transfer run names have the form
@@ -29,30 +50,38 @@ public interface TransferRunOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Minimum time after which a transfer run can be started.
    * 
* * .google.protobuf.Timestamp schedule_time = 3; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Minimum time after which a transfer run can be started.
    * 
@@ -62,26 +91,34 @@ public interface TransferRunOrBuilder extends com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** + * + * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; + * * @return Whether the runTime field is set. */ boolean hasRunTime(); /** + * + * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
    * 
* * .google.protobuf.Timestamp run_time = 10; + * * @return The runTime. */ com.google.protobuf.Timestamp getRunTime(); /** + * + * *
    * For batch transfer runs, specifies the date and time of the data should be
    * ingested.
@@ -92,24 +129,32 @@ public interface TransferRunOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; + * * @return Whether the errorStatus field is set. */ boolean hasErrorStatus(); /** + * + * *
    * Status of the transfer run.
    * 
* * .google.rpc.Status error_status = 21; + * * @return The errorStatus. */ com.google.rpc.Status getErrorStatus(); /** + * + * *
    * Status of the transfer run.
    * 
@@ -119,93 +164,128 @@ public interface TransferRunOrBuilder extends com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder(); /** + * + * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Output only. Time when transfer run was started.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. Time when transfer run ended.
    * Parameter ignored by server for input requests.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Last time the data transfer run state was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -215,10 +295,13 @@ public interface TransferRunOrBuilder extends
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the params field is set. */ boolean hasParams(); /** + * + * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -228,10 +311,13 @@ public interface TransferRunOrBuilder extends
    * 
* * .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The params. */ com.google.protobuf.Struct getParams(); /** + * + * *
    * Output only. Parameters specific to each data source. For more information
    * see the bq tab in the 'Setting up a data transfer' section for each data
@@ -245,84 +331,108 @@ public interface TransferRunOrBuilder extends
   com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the destinationDatasetId field is set. */ boolean hasDestinationDatasetId(); /** + * + * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The destinationDatasetId. */ java.lang.String getDestinationDatasetId(); /** + * + * *
    * Output only. The BigQuery target dataset id.
    * 
* * string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for destinationDatasetId. */ - com.google.protobuf.ByteString - getDestinationDatasetIdBytes(); + com.google.protobuf.ByteString getDestinationDatasetIdBytes(); /** + * + * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dataSourceId. */ java.lang.String getDataSourceId(); /** + * + * *
    * Output only. Data source id.
    * 
* * string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dataSourceId. */ - com.google.protobuf.ByteString - getDataSourceIdBytes(); + com.google.protobuf.ByteString getDataSourceIdBytes(); /** + * + * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Data transfer run state. Ignored for input requests.
    * 
* * .google.cloud.bigquery.datatransfer.v1.TransferState state = 8; + * * @return The state. */ com.google.cloud.bigquery.datatransfer.v1.TransferState getState(); /** + * + * *
    * Deprecated. Unique ID of the user on whose behalf transfer is done.
    * 
* * int64 user_id = 11; + * * @return The userId. */ long getUserId(); /** + * + * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -332,10 +442,13 @@ public interface TransferRunOrBuilder extends
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The schedule. */ java.lang.String getSchedule(); /** + * + * *
    * Output only. Describes the schedule of this transfer run if it was
    * created as part of a regular schedule. For batch transfer runs that are
@@ -345,12 +458,14 @@ public interface TransferRunOrBuilder extends
    * 
* * string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for schedule. */ - com.google.protobuf.ByteString - getScheduleBytes(); + com.google.protobuf.ByteString getScheduleBytes(); /** + * + * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -359,11 +474,15 @@ public interface TransferRunOrBuilder extends
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The notificationPubsubTopic. */ java.lang.String getNotificationPubsubTopic(); /** + * + * *
    * Output only. Pub/Sub topic where a notification will be sent after this
    * transfer run finishes.
@@ -372,44 +491,60 @@ public interface TransferRunOrBuilder extends
    * `projects/{project}/topics/{topic}`
    * 
* - * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for notificationPubsubTopic. */ - com.google.protobuf.ByteString - getNotificationPubsubTopicBytes(); + com.google.protobuf.ByteString getNotificationPubsubTopicBytes(); /** + * + * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the emailPreferences field is set. */ boolean hasEmailPreferences(); /** + * + * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The emailPreferences. */ com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences(); /** + * + * *
    * Output only. Email notifications will be sent according to these
    * preferences to the email address of the user who owns the transfer config
    * this run was derived from.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder getEmailPreferencesOrBuilder(); + com.google.cloud.bigquery.datatransfer.v1.EmailPreferencesOrBuilder + getEmailPreferencesOrBuilder(); com.google.cloud.bigquery.datatransfer.v1.TransferRun.DestinationCase getDestinationCase(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java similarity index 69% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java index 13e9d96000ba..175545e30564 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,15 +20,18 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Represents data transfer run state.
  * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.TransferState} */ -public enum TransferState - implements com.google.protobuf.ProtocolMessageEnum { +public enum TransferState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * State placeholder (0).
    * 
@@ -22,6 +40,8 @@ public enum TransferState */ TRANSFER_STATE_UNSPECIFIED(0), /** + * + * *
    * Data transfer is scheduled and is waiting to be picked up by
    * data transfer backend (2).
@@ -31,6 +51,8 @@ public enum TransferState
    */
   PENDING(2),
   /**
+   *
+   *
    * 
    * Data transfer is in progress (3).
    * 
@@ -39,6 +61,8 @@ public enum TransferState */ RUNNING(3), /** + * + * *
    * Data transfer completed successfully (4).
    * 
@@ -47,6 +71,8 @@ public enum TransferState */ SUCCEEDED(4), /** + * + * *
    * Data transfer failed (5).
    * 
@@ -55,6 +81,8 @@ public enum TransferState */ FAILED(5), /** + * + * *
    * Data transfer is cancelled (6).
    * 
@@ -66,6 +94,8 @@ public enum TransferState ; /** + * + * *
    * State placeholder (0).
    * 
@@ -74,6 +104,8 @@ public enum TransferState */ public static final int TRANSFER_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Data transfer is scheduled and is waiting to be picked up by
    * data transfer backend (2).
@@ -83,6 +115,8 @@ public enum TransferState
    */
   public static final int PENDING_VALUE = 2;
   /**
+   *
+   *
    * 
    * Data transfer is in progress (3).
    * 
@@ -91,6 +125,8 @@ public enum TransferState */ public static final int RUNNING_VALUE = 3; /** + * + * *
    * Data transfer completed successfully (4).
    * 
@@ -99,6 +135,8 @@ public enum TransferState */ public static final int SUCCEEDED_VALUE = 4; /** + * + * *
    * Data transfer failed (5).
    * 
@@ -107,6 +145,8 @@ public enum TransferState */ public static final int FAILED_VALUE = 5; /** + * + * *
    * Data transfer is cancelled (6).
    * 
@@ -115,7 +155,6 @@ public enum TransferState */ public static final int CANCELLED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -140,52 +179,57 @@ public static TransferState valueOf(int value) { */ public static TransferState forNumber(int value) { switch (value) { - case 0: return TRANSFER_STATE_UNSPECIFIED; - case 2: return PENDING; - case 3: return RUNNING; - case 4: return SUCCEEDED; - case 5: return FAILED; - case 6: return CANCELLED; - default: return null; + case 0: + return TRANSFER_STATE_UNSPECIFIED; + case 2: + return PENDING; + case 3: + return RUNNING; + case 4: + return SUCCEEDED; + case 5: + return FAILED; + case 6: + return CANCELLED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - TransferState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TransferState findValueByNumber(int number) { - return TransferState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TransferState findValueByNumber(int number) { + return TransferState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor() + .getEnumTypes() + .get(1); } private static final TransferState[] VALUES = values(); - public static TransferState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TransferState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -201,4 +245,3 @@ private TransferState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.datatransfer.v1.TransferState) } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java similarity index 67% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java index e4fc0ce04599..eaef528a5be1 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,15 +20,19 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * DEPRECATED. Represents data transfer type.
  * 
* * Protobuf enum {@code google.cloud.bigquery.datatransfer.v1.TransferType} */ -@java.lang.Deprecated public enum TransferType - implements com.google.protobuf.ProtocolMessageEnum { +@java.lang.Deprecated +public enum TransferType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Invalid or Unknown transfer type placeholder.
    * 
@@ -22,6 +41,8 @@ */ TRANSFER_TYPE_UNSPECIFIED(0), /** + * + * *
    * Batch data transfer.
    * 
@@ -30,6 +51,8 @@ */ BATCH(1), /** + * + * *
    * Streaming data transfer. Streaming data source currently doesn't
    * support multiple transfer configs per project.
@@ -42,6 +65,8 @@
   ;
 
   /**
+   *
+   *
    * 
    * Invalid or Unknown transfer type placeholder.
    * 
@@ -50,6 +75,8 @@ */ public static final int TRANSFER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Batch data transfer.
    * 
@@ -58,6 +85,8 @@ */ public static final int BATCH_VALUE = 1; /** + * + * *
    * Streaming data transfer. Streaming data source currently doesn't
    * support multiple transfer configs per project.
@@ -67,7 +96,6 @@
    */
   public static final int STREAMING_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -92,49 +120,51 @@ public static TransferType valueOf(int value) {
    */
   public static TransferType forNumber(int value) {
     switch (value) {
-      case 0: return TRANSFER_TYPE_UNSPECIFIED;
-      case 1: return BATCH;
-      case 2: return STREAMING;
-      default: return null;
+      case 0:
+        return TRANSFER_TYPE_UNSPECIFIED;
+      case 1:
+        return BATCH;
+      case 2:
+        return STREAMING;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      TransferType> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public TransferType findValueByNumber(int number) {
-            return TransferType.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public TransferType findValueByNumber(int number) {
+          return TransferType.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor().getEnumTypes().get(0);
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor()
+        .getEnumTypes()
+        .get(0);
   }
 
   private static final TransferType[] VALUES = values();
 
-  public static TransferType valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static TransferType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -150,4 +180,3 @@ private TransferType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.datatransfer.v1.TransferType)
 }
-
diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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
similarity index 67%
rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java
rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java
index 0917a7a48454..42a9e867eb7c 100644
--- a/owl-bot-staging/java-bigquerydatatransfer/v1/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
@@ -1,3 +1,18 @@
+/*
+ * 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
 
@@ -5,6 +20,8 @@
 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.
@@ -12,50 +29,55 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest}
  */
-public final class UnenrollDataSourcesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+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;
+  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();
+    dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter 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;
+  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
+    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);
+            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 @@ -64,29 +86,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -95,41 +117,50 @@ public java.lang.String getName() { } 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() { + 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. */ @@ -137,21 +168,24 @@ 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) { + 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; @@ -163,8 +197,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -199,17 +232,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + 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; + 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 (!getName().equals(other.getName())) return false; + if (!getDataSourceIdsList().equals(other.getDataSourceIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,98 +265,105 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + 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) + 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 { + + 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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + 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) 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 + 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); + 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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + 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) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + 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.
@@ -332,52 +371,53 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest)
       com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequestOrBuilder {
-    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;
+    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
+      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);
+              com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.class,
+              com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       name_ = "";
-      dataSourceIds_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UnenrollDataSourcesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_UnenrollDataSourcesRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -391,13 +431,17 @@ public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest buil
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest result = new com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest result =
+          new com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest result) {
+    private void buildPartial0(
+        com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -412,46 +456,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UnenrollDat
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest)other);
+        return mergeFrom(
+            (com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest other) {
+      if (other
+          == com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -493,23 +542,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureDataSourceIdsIsMutable();
-              dataSourceIds_.add(s);
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureDataSourceIdsIsMutable();
+                dataSourceIds_.add(s);
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -519,22 +571,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -543,20 +598,21 @@ public java.lang.String getName() { } } /** + * + * *
      * 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -564,28 +620,35 @@ public java.lang.String getName() { } } /** + * + * *
      * 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(); } + 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() { @@ -595,17 +658,21 @@ public Builder clearName() { 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -615,6 +682,7 @@ public Builder setNameBytes( private com.google.protobuf.LazyStringArrayList dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDataSourceIdsIsMutable() { if (!dataSourceIds_.isModifiable()) { dataSourceIds_ = new com.google.protobuf.LazyStringArrayList(dataSourceIds_); @@ -622,38 +690,46 @@ private void ensureDataSourceIdsIsMutable() { 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() { + 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. */ @@ -661,33 +737,39 @@ 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) { + 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(); } + public Builder setDataSourceIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDataSourceIdsIsMutable(); dataSourceIds_.set(index, value); bitField0_ |= 0x00000002; @@ -695,18 +777,22 @@ public Builder setDataSourceIds( 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(); } + public Builder addDataSourceIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); bitField0_ |= 0x00000002; @@ -714,53 +800,61 @@ public Builder addDataSourceIds( 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 values) { + public Builder addAllDataSourceIds(java.lang.Iterable values) { ensureDataSourceIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataSourceIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataSourceIds_); 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; + * * @return This builder for chaining. */ public Builder clearDataSourceIds() { - dataSourceIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + 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(); } + public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDataSourceIdsIsMutable(); dataSourceIds_.add(value); @@ -768,9 +862,9 @@ public Builder addDataSourceIdsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -780,41 +874,43 @@ public final Builder mergeUnknownFields( 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; + 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() { + public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnenrollDataSourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnenrollDataSourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,9 +922,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java index 8ad85b036b8c..1e2e80522172 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequestOrBuilder.java @@ -1,75 +1,106 @@ +/* + * 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; -public interface UnenrollDataSourcesRequestOrBuilder extends +public interface UnenrollDataSourcesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * 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(); + 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 - getDataSourceIdsList(); + java.util.List getDataSourceIdsList(); /** + * + * *
    * 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); + com.google.protobuf.ByteString getDataSourceIdsBytes(int index); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java similarity index 74% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java index 64370567fea7..cac48df2c7e2 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java @@ -1,3 +1,18 @@ +/* + * 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 @@ -5,6 +20,8 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * A request to update a transfer configuration. To update the user id of the
  * transfer configuration, authorization info needs to be provided.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest}
  */
-public final class UpdateTransferConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateTransferConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)
     UpdateTransferConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateTransferConfigRequest.newBuilder() to construct.
   private UpdateTransferConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UpdateTransferConfigRequest() {
     authorizationCode_ = "";
     versionInfo_ = "";
@@ -29,33 +47,39 @@ private UpdateTransferConfigRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateTransferConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_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_UpdateTransferConfigRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+        .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
+            com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class,
+            com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int TRANSFER_CONFIG_FIELD_NUMBER = 1;
   private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_;
   /**
+   *
+   *
    * 
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferConfig field is set. */ @java.lang.Override @@ -63,33 +87,50 @@ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferConfig. */ @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { - return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { - return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder + getTransferConfigOrBuilder() { + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } public static final int AUTHORIZATION_CODE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object authorizationCode_ = ""; /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -108,6 +149,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran
    * 
* * string authorization_code = 3; + * * @return The authorizationCode. */ @java.lang.Override @@ -116,14 +158,15 @@ public java.lang.String getAuthorizationCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; } } /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -142,16 +185,15 @@ public java.lang.String getAuthorizationCode() {
    * 
* * string authorization_code = 3; + * * @return The bytes for authorizationCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -162,11 +204,15 @@ public java.lang.String getAuthorizationCode() { public static final int UPDATE_MASK_FIELD_NUMBER = 4; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -174,11 +220,15 @@ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -186,11 +236,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -198,9 +251,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } public static final int VERSION_INFO_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object versionInfo_ = ""; /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -219,6 +275,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
    * 
* * string version_info = 5; + * * @return The versionInfo. */ @java.lang.Override @@ -227,14 +284,15 @@ public java.lang.String getVersionInfo() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; } } /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -253,16 +311,15 @@ public java.lang.String getVersionInfo() {
    * 
* * string version_info = 5; + * * @return The bytes for versionInfo. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionInfoBytes() { + public com.google.protobuf.ByteString getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -271,9 +328,12 @@ public java.lang.String getVersionInfo() { } public static final int SERVICE_ACCOUNT_NAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object serviceAccountName_ = ""; /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -287,6 +347,7 @@ public java.lang.String getVersionInfo() {
    * 
* * string service_account_name = 6; + * * @return The serviceAccountName. */ @java.lang.Override @@ -295,14 +356,15 @@ public java.lang.String getServiceAccountName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; } } /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -316,16 +378,15 @@ public java.lang.String getServiceAccountName() {
    * 
* * string service_account_name = 6; + * * @return The bytes for serviceAccountName. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountNameBytes() { + public com.google.protobuf.ByteString getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -334,6 +395,7 @@ public java.lang.String getServiceAccountName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,8 +407,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getTransferConfig()); } @@ -372,15 +433,13 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTransferConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTransferConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizationCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authorizationCode_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateMask()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionInfo_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, versionInfo_); @@ -396,29 +455,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other = (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) obj; + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other = + (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) obj; if (hasTransferConfig() != other.hasTransferConfig()) return false; if (hasTransferConfig()) { - if (!getTransferConfig() - .equals(other.getTransferConfig())) return false; + if (!getTransferConfig().equals(other.getTransferConfig())) return false; } - if (!getAuthorizationCode() - .equals(other.getAuthorizationCode())) return false; + if (!getAuthorizationCode().equals(other.getAuthorizationCode())) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } - if (!getVersionInfo() - .equals(other.getVersionInfo())) return false; - if (!getServiceAccountName() - .equals(other.getServiceAccountName())) return false; + if (!getVersionInfo().equals(other.getVersionInfo())) return false; + if (!getServiceAccountName().equals(other.getServiceAccountName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -450,98 +505,105 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateTransferConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest + 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.UpdateTransferConfigRequest 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.UpdateTransferConfigRequest + 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.UpdateTransferConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.UpdateTransferConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to update a transfer configuration. To update the user id of the
    * transfer configuration, authorization info needs to be provided.
@@ -549,40 +611,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)
       com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_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_UpdateTransferConfigRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
+              com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class,
+              com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.newBuilder()
+    // Construct using
+    // com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getTransferConfigFieldBuilder();
         getUpdateMaskFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -604,14 +669,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto
+          .internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest getDefaultInstanceForType() {
-      return com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.getDefaultInstance();
+    public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -625,28 +692,29 @@ public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest bui
 
     @java.lang.Override
     public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest buildPartial() {
-      com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result = new com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result =
+          new com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result) {
+    private void buildPartial0(
+        com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.transferConfig_ = transferConfigBuilder_ == null
-            ? transferConfig_
-            : transferConfigBuilder_.build();
+        result.transferConfig_ =
+            transferConfigBuilder_ == null ? transferConfig_ : transferConfigBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.authorizationCode_ = authorizationCode_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
@@ -662,46 +730,51 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UpdateTrans
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) {
-        return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest)other);
+        return mergeFrom(
+            (com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other) {
-      if (other == com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest other) {
+      if (other
+          == com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest
+              .getDefaultInstance()) return this;
       if (other.hasTransferConfig()) {
         mergeTransferConfig(other.getTransferConfig());
       }
@@ -749,41 +822,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTransferConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 26: {
-              authorizationCode_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 34
-            case 42: {
-              versionInfo_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 42
-            case 50: {
-              serviceAccountName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getTransferConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 26:
+              {
+                authorizationCode_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 34
+            case 42:
+              {
+                versionInfo_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 42
+            case 50:
+              {
+                serviceAccountName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -793,45 +868,66 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.bigquery.datatransfer.v1.TransferConfig transferConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> transferConfigBuilder_;
+            com.google.cloud.bigquery.datatransfer.v1.TransferConfig,
+            com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder,
+            com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>
+        transferConfigBuilder_;
     /**
+     *
+     *
      * 
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferConfig field is set. */ public boolean hasTransferConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferConfig. */ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() { if (transferConfigBuilder_ == null) { - return transferConfig_ == null ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } else { return transferConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder setTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -845,11 +941,15 @@ public Builder setTransferConfig(com.google.cloud.bigquery.datatransfer.v1.Trans return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTransferConfig( com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder builderForValue) { @@ -863,17 +963,23 @@ public Builder setTransferConfig( return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeTransferConfig(com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { + public Builder mergeTransferConfig( + com.google.cloud.bigquery.datatransfer.v1.TransferConfig value) { if (transferConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - transferConfig_ != null && - transferConfig_ != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && transferConfig_ != null + && transferConfig_ + != com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance()) { getTransferConfigBuilder().mergeFrom(value); } else { transferConfig_ = value; @@ -888,11 +994,15 @@ public Builder mergeTransferConfig(com.google.cloud.bigquery.datatransfer.v1.Tra return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTransferConfig() { bitField0_ = (bitField0_ & ~0x00000001); @@ -905,48 +1015,66 @@ public Builder clearTransferConfig() { return this; } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder getTransferConfigBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder + getTransferConfigBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTransferConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder() { + public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder + getTransferConfigOrBuilder() { if (transferConfigBuilder_ != null) { return transferConfigBuilder_.getMessageOrBuilder(); } else { - return transferConfig_ == null ? - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() : transferConfig_; + return transferConfig_ == null + ? com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance() + : transferConfig_; } } /** + * + * *
      * Required. Data transfer configuration to create.
      * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder> getTransferConfigFieldBuilder() { if (transferConfigBuilder_ == null) { - transferConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.datatransfer.v1.TransferConfig, com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( - getTransferConfig(), - getParentForChildren(), - isClean()); + transferConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.datatransfer.v1.TransferConfig, + com.google.cloud.bigquery.datatransfer.v1.TransferConfig.Builder, + com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder>( + getTransferConfig(), getParentForChildren(), isClean()); transferConfig_ = null; } return transferConfigBuilder_; @@ -954,6 +1082,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran private java.lang.Object authorizationCode_ = ""; /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -972,13 +1102,13 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTran
      * 
* * string authorization_code = 3; + * * @return The authorizationCode. */ public java.lang.String getAuthorizationCode() { java.lang.Object ref = authorizationCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCode_ = s; return s; @@ -987,6 +1117,8 @@ public java.lang.String getAuthorizationCode() { } } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1005,15 +1137,14 @@ public java.lang.String getAuthorizationCode() {
      * 
* * string authorization_code = 3; + * * @return The bytes for authorizationCode. */ - public com.google.protobuf.ByteString - getAuthorizationCodeBytes() { + public com.google.protobuf.ByteString getAuthorizationCodeBytes() { java.lang.Object ref = authorizationCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authorizationCode_ = b; return b; } else { @@ -1021,6 +1152,8 @@ public java.lang.String getAuthorizationCode() { } } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1039,18 +1172,22 @@ public java.lang.String getAuthorizationCode() {
      * 
* * string authorization_code = 3; + * * @param value The authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAuthorizationCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } authorizationCode_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1069,6 +1206,7 @@ public Builder setAuthorizationCode(
      * 
* * string authorization_code = 3; + * * @return This builder for chaining. */ public Builder clearAuthorizationCode() { @@ -1078,6 +1216,8 @@ public Builder clearAuthorizationCode() { return this; } /** + * + * *
      * Optional OAuth2 authorization code to use with this transfer configuration.
      * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -1096,12 +1236,14 @@ public Builder clearAuthorizationCode() {
      * 
* * string authorization_code = 3; + * * @param value The bytes for authorizationCode to set. * @return This builder for chaining. */ - public Builder setAuthorizationCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); authorizationCode_ = value; bitField0_ |= 0x00000002; @@ -1111,39 +1253,55 @@ public Builder setAuthorizationCodeBytes( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1159,14 +1317,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -1177,17 +1337,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1202,11 +1365,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1219,11 +1385,14 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1231,36 +1400,46 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Required list of fields to be updated in this request.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -1268,6 +1447,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private java.lang.Object versionInfo_ = ""; /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1286,13 +1467,13 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * 
* * string version_info = 5; + * * @return The versionInfo. */ public java.lang.String getVersionInfo() { java.lang.Object ref = versionInfo_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; @@ -1301,6 +1482,8 @@ public java.lang.String getVersionInfo() { } } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1319,15 +1502,14 @@ public java.lang.String getVersionInfo() {
      * 
* * string version_info = 5; + * * @return The bytes for versionInfo. */ - public com.google.protobuf.ByteString - getVersionInfoBytes() { + public com.google.protobuf.ByteString getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); versionInfo_ = b; return b; } else { @@ -1335,6 +1517,8 @@ public java.lang.String getVersionInfo() { } } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1353,18 +1537,22 @@ public java.lang.String getVersionInfo() {
      * 
* * string version_info = 5; + * * @param value The versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfo( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionInfo(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } versionInfo_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1383,6 +1571,7 @@ public Builder setVersionInfo(
      * 
* * string version_info = 5; + * * @return This builder for chaining. */ public Builder clearVersionInfo() { @@ -1392,6 +1581,8 @@ public Builder clearVersionInfo() { return this; } /** + * + * *
      * Optional version info. This is required only if
      * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -1410,12 +1601,14 @@ public Builder clearVersionInfo() {
      * 
* * string version_info = 5; + * * @param value The bytes for versionInfo to set. * @return This builder for chaining. */ - public Builder setVersionInfoBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); versionInfo_ = value; bitField0_ |= 0x00000008; @@ -1425,6 +1618,8 @@ public Builder setVersionInfoBytes( private java.lang.Object serviceAccountName_ = ""; /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1438,13 +1633,13 @@ public Builder setVersionInfoBytes(
      * 
* * string service_account_name = 6; + * * @return The serviceAccountName. */ public java.lang.String getServiceAccountName() { java.lang.Object ref = serviceAccountName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountName_ = s; return s; @@ -1453,6 +1648,8 @@ public java.lang.String getServiceAccountName() { } } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1466,15 +1663,14 @@ public java.lang.String getServiceAccountName() {
      * 
* * string service_account_name = 6; + * * @return The bytes for serviceAccountName. */ - public com.google.protobuf.ByteString - getServiceAccountNameBytes() { + public com.google.protobuf.ByteString getServiceAccountNameBytes() { java.lang.Object ref = serviceAccountName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountName_ = b; return b; } else { @@ -1482,6 +1678,8 @@ public java.lang.String getServiceAccountName() { } } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1495,18 +1693,22 @@ public java.lang.String getServiceAccountName() {
      * 
* * string service_account_name = 6; + * * @param value The serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1520,6 +1722,7 @@ public Builder setServiceAccountName(
      * 
* * string service_account_name = 6; + * * @return This builder for chaining. */ public Builder clearServiceAccountName() { @@ -1529,6 +1732,8 @@ public Builder clearServiceAccountName() { return this; } /** + * + * *
      * Optional service account email. If this field is set, the transfer config
      * will be created with this service account's credentials. It requires that
@@ -1542,21 +1747,23 @@ public Builder clearServiceAccountName() {
      * 
* * string service_account_name = 6; + * * @param value The bytes for serviceAccountName to set. * @return This builder for chaining. */ - public Builder setServiceAccountNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccountName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1566,41 +1773,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) - private static final com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest(); } - public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest getDefaultInstance() { + public static com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTransferConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTransferConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1612,9 +1821,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java index a4682ec74429..7c0dab4138f3 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java @@ -1,41 +1,73 @@ +/* + * 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; -public interface UpdateTransferConfigRequestOrBuilder extends +public interface UpdateTransferConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferConfig field is set. */ boolean hasTransferConfig(); /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferConfig. */ com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig(); /** + * + * *
    * Required. Data transfer configuration to create.
    * 
* - * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferConfigOrBuilder(); /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -54,10 +86,13 @@ public interface UpdateTransferConfigRequestOrBuilder extends
    * 
* * string authorization_code = 3; + * * @return The authorizationCode. */ java.lang.String getAuthorizationCode(); /** + * + * *
    * Optional OAuth2 authorization code to use with this transfer configuration.
    * This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
@@ -76,39 +111,52 @@ public interface UpdateTransferConfigRequestOrBuilder extends
    * 
* * string authorization_code = 3; + * * @return The bytes for authorizationCode. */ - com.google.protobuf.ByteString - getAuthorizationCodeBytes(); + com.google.protobuf.ByteString getAuthorizationCodeBytes(); /** + * + * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Required list of fields to be updated in this request.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -127,10 +175,13 @@ public interface UpdateTransferConfigRequestOrBuilder extends
    * 
* * string version_info = 5; + * * @return The versionInfo. */ java.lang.String getVersionInfo(); /** + * + * *
    * Optional version info. This is required only if
    * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials
@@ -149,12 +200,14 @@ public interface UpdateTransferConfigRequestOrBuilder extends
    * 
* * string version_info = 5; + * * @return The bytes for versionInfo. */ - com.google.protobuf.ByteString - getVersionInfoBytes(); + com.google.protobuf.ByteString getVersionInfoBytes(); /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -168,10 +221,13 @@ public interface UpdateTransferConfigRequestOrBuilder extends
    * 
* * string service_account_name = 6; + * * @return The serviceAccountName. */ java.lang.String getServiceAccountName(); /** + * + * *
    * Optional service account email. If this field is set, the transfer config
    * will be created with this service account's credentials. It requires that
@@ -185,8 +241,8 @@ public interface UpdateTransferConfigRequestOrBuilder extends
    * 
* * string service_account_name = 6; + * * @return The bytes for serviceAccountName. */ - com.google.protobuf.ByteString - getServiceAccountNameBytes(); + com.google.protobuf.ByteString getServiceAccountNameBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java similarity index 67% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java index f41ea298f864..6b2b8276865a 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfo.java @@ -1,3 +1,18 @@ +/* + * 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/transfer.proto @@ -5,55 +20,63 @@ package com.google.cloud.bigquery.datatransfer.v1; /** + * + * *
  * Information about a user.
  * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UserInfo} */ -public final class UserInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UserInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.UserInfo) UserInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UserInfo.newBuilder() to construct. private UserInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UserInfo() { email_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UserInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, + com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); } private int bitField0_; public static final int EMAIL_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object email_ = ""; /** + * + * *
    * E-mail address of the user.
    * 
* * optional string email = 1; + * * @return Whether the email field is set. */ @java.lang.Override @@ -61,11 +84,14 @@ public boolean hasEmail() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * E-mail address of the user.
    * 
* * optional string email = 1; + * * @return The email. */ @java.lang.Override @@ -74,29 +100,29 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** + * + * *
    * E-mail address of the user.
    * 
* * optional string email = 1; + * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -105,6 +131,7 @@ public java.lang.String getEmail() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +143,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, email_); } @@ -141,17 +167,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.UserInfo)) { return super.equals(obj); } - com.google.cloud.bigquery.datatransfer.v1.UserInfo other = (com.google.cloud.bigquery.datatransfer.v1.UserInfo) obj; + com.google.cloud.bigquery.datatransfer.v1.UserInfo other = + (com.google.cloud.bigquery.datatransfer.v1.UserInfo) obj; if (hasEmail() != other.hasEmail()) return false; if (hasEmail()) { - if (!getEmail() - .equals(other.getEmail())) return false; + if (!getEmail().equals(other.getEmail())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -174,131 +200,135 @@ public int hashCode() { } public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UserInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.UserInfo 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.UserInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UserInfo 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.UserInfo 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.UserInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.datatransfer.v1.UserInfo 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.UserInfo 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.UserInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.datatransfer.v1.UserInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.UserInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.datatransfer.v1.UserInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information about a user.
    * 
* * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UserInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.datatransfer.v1.UserInfo) com.google.cloud.bigquery.datatransfer.v1.UserInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); + com.google.cloud.bigquery.datatransfer.v1.UserInfo.class, + com.google.cloud.bigquery.datatransfer.v1.UserInfo.Builder.class); } // Construct using com.google.cloud.bigquery.datatransfer.v1.UserInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -308,9 +338,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.datatransfer.v1.TransferProto.internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.datatransfer.v1.TransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; } @java.lang.Override @@ -329,8 +359,11 @@ public com.google.cloud.bigquery.datatransfer.v1.UserInfo build() { @java.lang.Override public com.google.cloud.bigquery.datatransfer.v1.UserInfo buildPartial() { - com.google.cloud.bigquery.datatransfer.v1.UserInfo result = new com.google.cloud.bigquery.datatransfer.v1.UserInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.datatransfer.v1.UserInfo result = + new com.google.cloud.bigquery.datatransfer.v1.UserInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -349,38 +382,39 @@ private void buildPartial0(com.google.cloud.bigquery.datatransfer.v1.UserInfo re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.datatransfer.v1.UserInfo) { - return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UserInfo)other); + return mergeFrom((com.google.cloud.bigquery.datatransfer.v1.UserInfo) other); } else { super.mergeFrom(other); return this; @@ -388,7 +422,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.UserInfo other) { - if (other == com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.datatransfer.v1.UserInfo.getDefaultInstance()) + return this; if (other.hasEmail()) { email_ = other.email_; bitField0_ |= 0x00000001; @@ -420,17 +455,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - email_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + email_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -440,33 +477,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object email_ = ""; /** + * + * *
      * E-mail address of the user.
      * 
* * optional string email = 1; + * * @return Whether the email field is set. */ public boolean hasEmail() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * E-mail address of the user.
      * 
* * optional string email = 1; + * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -475,20 +518,21 @@ public java.lang.String getEmail() { } } /** + * + * *
      * E-mail address of the user.
      * 
* * optional string email = 1; + * * @return The bytes for email. */ - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -496,28 +540,35 @@ public java.lang.String getEmail() { } } /** + * + * *
      * E-mail address of the user.
      * 
* * optional string email = 1; + * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } email_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * E-mail address of the user.
      * 
* * optional string email = 1; + * * @return This builder for chaining. */ public Builder clearEmail() { @@ -527,26 +578,30 @@ public Builder clearEmail() { return this; } /** + * + * *
      * E-mail address of the user.
      * 
* * optional string email = 1; + * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); email_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -556,12 +611,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.UserInfo) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.UserInfo) private static final com.google.cloud.bigquery.datatransfer.v1.UserInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.UserInfo(); } @@ -570,27 +625,27 @@ public static com.google.cloud.bigquery.datatransfer.v1.UserInfo getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -605,6 +660,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.datatransfer.v1.UserInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java similarity index 53% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java index b285397716d1..15c63c4cb7dc 100644 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UserInfoOrBuilder.java @@ -1,39 +1,63 @@ +/* + * 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/transfer.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.datatransfer.v1; -public interface UserInfoOrBuilder extends +public interface UserInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.UserInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * E-mail address of the user.
    * 
* * optional string email = 1; + * * @return Whether the email field is set. */ boolean hasEmail(); /** + * + * *
    * E-mail address of the user.
    * 
* * optional string email = 1; + * * @return The email. */ java.lang.String getEmail(); /** + * + * *
    * E-mail address of the user.
    * 
* * optional string email = 1; + * * @return The bytes for email. */ - com.google.protobuf.ByteString - getEmailBytes(); + com.google.protobuf.ByteString getEmailBytes(); } diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto rename to java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/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 similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/SyncUnenrollDataSources.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java similarity index 100% rename from owl-bot-staging/java-bigquerydatatransfer/v1/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java b/owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java deleted file mode 100644 index ab5ddcb83a8b..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java +++ /dev/null @@ -1,1701 +0,0 @@ -package com.google.cloud.bigquery.datatransfer.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * This API allows users to manage their data transfers into BigQuery.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataTransferServiceGrpc { - - private DataTransferServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.bigquery.datatransfer.v1.DataTransferService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getGetDataSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataSource", - requestType = com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.DataSource.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataSourceMethod() { - io.grpc.MethodDescriptor getGetDataSourceMethod; - if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getGetDataSourceMethod = DataTransferServiceGrpc.getGetDataSourceMethod) == null) { - DataTransferServiceGrpc.getGetDataSourceMethod = getGetDataSourceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.DataSource.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("GetDataSource")) - .build(); - } - } - } - return getGetDataSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDataSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataSources", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDataSourcesMethod() { - io.grpc.MethodDescriptor getListDataSourcesMethod; - if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListDataSourcesMethod = DataTransferServiceGrpc.getListDataSourcesMethod) == null) { - DataTransferServiceGrpc.getListDataSourcesMethod = getListDataSourcesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListDataSources")) - .build(); - } - } - } - return getListDataSourcesMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTransferConfigMethod() { - io.grpc.MethodDescriptor getCreateTransferConfigMethod; - if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getCreateTransferConfigMethod = DataTransferServiceGrpc.getCreateTransferConfigMethod) == null) { - DataTransferServiceGrpc.getCreateTransferConfigMethod = getCreateTransferConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("CreateTransferConfig")) - .build(); - } - } - } - return getCreateTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTransferConfigMethod() { - io.grpc.MethodDescriptor getUpdateTransferConfigMethod; - if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getUpdateTransferConfigMethod = DataTransferServiceGrpc.getUpdateTransferConfigMethod) == null) { - DataTransferServiceGrpc.getUpdateTransferConfigMethod = getUpdateTransferConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("UpdateTransferConfig")) - .build(); - } - } - } - return getUpdateTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTransferConfigMethod() { - io.grpc.MethodDescriptor getDeleteTransferConfigMethod; - if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getDeleteTransferConfigMethod = DataTransferServiceGrpc.getDeleteTransferConfigMethod) == null) { - DataTransferServiceGrpc.getDeleteTransferConfigMethod = getDeleteTransferConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("DeleteTransferConfig")) - .build(); - } - } - } - return getDeleteTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTransferConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTransferConfig", - requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTransferConfigMethod() { - io.grpc.MethodDescriptor getGetTransferConfigMethod; - if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getGetTransferConfigMethod = DataTransferServiceGrpc.getGetTransferConfigMethod) == null) { - DataTransferServiceGrpc.getGetTransferConfigMethod = getGetTransferConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferConfig.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("GetTransferConfig")) - .build(); - } - } - } - return getGetTransferConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTransferConfigsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTransferConfigs", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTransferConfigsMethod() { - io.grpc.MethodDescriptor getListTransferConfigsMethod; - if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListTransferConfigsMethod = DataTransferServiceGrpc.getListTransferConfigsMethod) == null) { - DataTransferServiceGrpc.getListTransferConfigsMethod = getListTransferConfigsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferConfigs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListTransferConfigs")) - .build(); - } - } - } - return getListTransferConfigsMethod; - } - - private static volatile io.grpc.MethodDescriptor getScheduleTransferRunsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ScheduleTransferRuns", - requestType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getScheduleTransferRunsMethod() { - io.grpc.MethodDescriptor getScheduleTransferRunsMethod; - if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getScheduleTransferRunsMethod = DataTransferServiceGrpc.getScheduleTransferRunsMethod) == null) { - DataTransferServiceGrpc.getScheduleTransferRunsMethod = getScheduleTransferRunsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ScheduleTransferRuns")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ScheduleTransferRuns")) - .build(); - } - } - } - return getScheduleTransferRunsMethod; - } - - private static volatile io.grpc.MethodDescriptor getStartManualTransferRunsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartManualTransferRuns", - requestType = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getStartManualTransferRunsMethod() { - io.grpc.MethodDescriptor getStartManualTransferRunsMethod; - if ((getStartManualTransferRunsMethod = DataTransferServiceGrpc.getStartManualTransferRunsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getStartManualTransferRunsMethod = DataTransferServiceGrpc.getStartManualTransferRunsMethod) == null) { - DataTransferServiceGrpc.getStartManualTransferRunsMethod = getStartManualTransferRunsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartManualTransferRuns")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("StartManualTransferRuns")) - .build(); - } - } - } - return getStartManualTransferRunsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTransferRunMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTransferRun", - requestType = com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.TransferRun.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTransferRunMethod() { - io.grpc.MethodDescriptor getGetTransferRunMethod; - if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getGetTransferRunMethod = DataTransferServiceGrpc.getGetTransferRunMethod) == null) { - DataTransferServiceGrpc.getGetTransferRunMethod = getGetTransferRunMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferRun")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.TransferRun.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("GetTransferRun")) - .build(); - } - } - } - return getGetTransferRunMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTransferRunMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTransferRun", - requestType = com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTransferRunMethod() { - io.grpc.MethodDescriptor getDeleteTransferRunMethod; - if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getDeleteTransferRunMethod = DataTransferServiceGrpc.getDeleteTransferRunMethod) == null) { - DataTransferServiceGrpc.getDeleteTransferRunMethod = getDeleteTransferRunMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransferRun")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("DeleteTransferRun")) - .build(); - } - } - } - return getDeleteTransferRunMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTransferRunsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTransferRuns", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTransferRunsMethod() { - io.grpc.MethodDescriptor getListTransferRunsMethod; - if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListTransferRunsMethod = DataTransferServiceGrpc.getListTransferRunsMethod) == null) { - DataTransferServiceGrpc.getListTransferRunsMethod = getListTransferRunsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferRuns")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListTransferRuns")) - .build(); - } - } - } - return getListTransferRunsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTransferLogsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTransferLogs", - requestType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTransferLogsMethod() { - io.grpc.MethodDescriptor getListTransferLogsMethod; - if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getListTransferLogsMethod = DataTransferServiceGrpc.getListTransferLogsMethod) == null) { - DataTransferServiceGrpc.getListTransferLogsMethod = getListTransferLogsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferLogs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("ListTransferLogs")) - .build(); - } - } - } - return getListTransferLogsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCheckValidCredsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CheckValidCreds", - requestType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.class, - responseType = com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCheckValidCredsMethod() { - io.grpc.MethodDescriptor getCheckValidCredsMethod; - if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getCheckValidCredsMethod = DataTransferServiceGrpc.getCheckValidCredsMethod) == null) { - DataTransferServiceGrpc.getCheckValidCredsMethod = getCheckValidCredsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckValidCreds")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("CheckValidCreds")) - .build(); - } - } - } - return getCheckValidCredsMethod; - } - - private static volatile io.grpc.MethodDescriptor getEnrollDataSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "EnrollDataSources", - requestType = com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getEnrollDataSourcesMethod() { - io.grpc.MethodDescriptor getEnrollDataSourcesMethod; - if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getEnrollDataSourcesMethod = DataTransferServiceGrpc.getEnrollDataSourcesMethod) == null) { - DataTransferServiceGrpc.getEnrollDataSourcesMethod = getEnrollDataSourcesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "EnrollDataSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("EnrollDataSources")) - .build(); - } - } - } - return getEnrollDataSourcesMethod; - } - - private static volatile io.grpc.MethodDescriptor getUnenrollDataSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UnenrollDataSources", - requestType = com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUnenrollDataSourcesMethod() { - io.grpc.MethodDescriptor getUnenrollDataSourcesMethod; - if ((getUnenrollDataSourcesMethod = DataTransferServiceGrpc.getUnenrollDataSourcesMethod) == null) { - synchronized (DataTransferServiceGrpc.class) { - if ((getUnenrollDataSourcesMethod = DataTransferServiceGrpc.getUnenrollDataSourcesMethod) == null) { - DataTransferServiceGrpc.getUnenrollDataSourcesMethod = getUnenrollDataSourcesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnenrollDataSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataTransferServiceMethodDescriptorSupplier("UnenrollDataSources")) - .build(); - } - } - } - return getUnenrollDataSourcesMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static DataTransferServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTransferServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceStub(channel, callOptions); - } - }; - return DataTransferServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataTransferServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTransferServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceBlockingStub(channel, callOptions); - } - }; - return DataTransferServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static DataTransferServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTransferServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceFutureStub(channel, callOptions); - } - }; - return DataTransferServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - default void getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataSourceMethod(), responseObserver); - } - - /** - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - default void listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataSourcesMethod(), responseObserver); - } - - /** - *
-     * Creates a new data transfer configuration.
-     * 
- */ - default void createTransferConfig(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTransferConfigMethod(), responseObserver); - } - - /** - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - default void updateTransferConfig(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTransferConfigMethod(), responseObserver); - } - - /** - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - default void deleteTransferConfig(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTransferConfigMethod(), responseObserver); - } - - /** - *
-     * Returns information about a data transfer config.
-     * 
- */ - default void getTransferConfig(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransferConfigMethod(), responseObserver); - } - - /** - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - default void listTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferConfigsMethod(), responseObserver); - } - - /** - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - default void scheduleTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getScheduleTransferRunsMethod(), responseObserver); - } - - /** - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - default void startManualTransferRuns(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartManualTransferRunsMethod(), responseObserver); - } - - /** - *
-     * Returns information about the particular transfer run.
-     * 
- */ - default void getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransferRunMethod(), responseObserver); - } - - /** - *
-     * Deletes the specified transfer run.
-     * 
- */ - default void deleteTransferRun(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTransferRunMethod(), responseObserver); - } - - /** - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - default void listTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferRunsMethod(), responseObserver); - } - - /** - *
-     * Returns log messages for the transfer run.
-     * 
- */ - default void listTransferLogs(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferLogsMethod(), responseObserver); - } - - /** - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - default void checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckValidCredsMethod(), responseObserver); - } - - /** - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - default void enrollDataSources(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getEnrollDataSourcesMethod(), responseObserver); - } - - /** - *
-     * 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnenrollDataSourcesMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DataTransferService. - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public static abstract class DataTransferServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return DataTransferServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DataTransferService. - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public static final class DataTransferServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private DataTransferServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTransferServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceStub(channel, callOptions); - } - - /** - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - public void getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - public void listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new data transfer configuration.
-     * 
- */ - public void createTransferConfig(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - public void updateTransferConfig(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - public void deleteTransferConfig(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns information about a data transfer config.
-     * 
- */ - public void getTransferConfig(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - public void listTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - public void scheduleTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - public void startManualTransferRuns(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns information about the particular transfer run.
-     * 
- */ - public void getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes the specified transfer run.
-     * 
- */ - public void deleteTransferRun(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - public void listTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns log messages for the transfer run.
-     * 
- */ - public void listTransferLogs(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - public void checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - public void enrollDataSources(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getEnrollDataSourcesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUnenrollDataSourcesMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DataTransferService. - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public static final class DataTransferServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataTransferServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTransferServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataSourceMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataSourcesMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new data transfer configuration.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig createTransferConfig(com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTransferConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig updateTransferConfig(com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTransferConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - public com.google.protobuf.Empty deleteTransferConfig(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTransferConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns information about a data transfer config.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig(com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTransferConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse listTransferConfigs(com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTransferConfigsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse scheduleTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getScheduleTransferRunsMethod(), getCallOptions(), request); - } - - /** - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse startManualTransferRuns(com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartManualTransferRunsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns information about the particular transfer run.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTransferRunMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes the specified transfer run.
-     * 
- */ - public com.google.protobuf.Empty deleteTransferRun(com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTransferRunMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse listTransferRuns(com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTransferRunsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns log messages for the transfer run.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse listTransferLogs(com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTransferLogsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCheckValidCredsMethod(), getCallOptions(), request); - } - - /** - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - public com.google.protobuf.Empty enrollDataSources(com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), 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.protobuf.Empty unenrollDataSources(com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUnenrollDataSourcesMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service DataTransferService. - *
-   * This API allows users to manage their data transfers into BigQuery.
-   * 
- */ - public static final class DataTransferServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataTransferServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTransferServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTransferServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Retrieves a supported data source and returns its settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataSource( - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists supported data sources and returns their settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDataSources( - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new data transfer configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a data transfer configuration, including any associated transfer
-     * runs and logs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns information about a data transfer config.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTransferConfig( - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns information about all transfer configs owned by a project in the
-     * specified location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTransferConfigs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.common.util.concurrent.ListenableFuture scheduleTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), request); - } - - /** - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture startManualTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns information about the particular transfer run.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTransferRun( - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes the specified transfer run.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTransferRun( - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns information about running and completed transfer runs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTransferRuns( - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns log messages for the transfer run.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTransferLogs( - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture checkValidCreds( - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCheckValidCredsMethod(), getCallOptions()), request); - } - - /** - *
-     * Enroll data sources in a user project. This allows users to create transfer
-     * configurations for these data sources. They will also appear in the
-     * ListDataSources RPC and as such, will appear in the
-     * [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
-     * can be found in the public guide for
-     * [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
-     * [Data Transfer
-     * Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture enrollDataSources( - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest request) { - 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 unenrollDataSources( - com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUnenrollDataSourcesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_DATA_SOURCE = 0; - private static final int METHODID_LIST_DATA_SOURCES = 1; - private static final int METHODID_CREATE_TRANSFER_CONFIG = 2; - private static final int METHODID_UPDATE_TRANSFER_CONFIG = 3; - private static final int METHODID_DELETE_TRANSFER_CONFIG = 4; - private static final int METHODID_GET_TRANSFER_CONFIG = 5; - private static final int METHODID_LIST_TRANSFER_CONFIGS = 6; - private static final int METHODID_SCHEDULE_TRANSFER_RUNS = 7; - private static final int METHODID_START_MANUAL_TRANSFER_RUNS = 8; - private static final int METHODID_GET_TRANSFER_RUN = 9; - private static final int METHODID_DELETE_TRANSFER_RUN = 10; - private static final int METHODID_LIST_TRANSFER_RUNS = 11; - private static final int METHODID_LIST_TRANSFER_LOGS = 12; - private static final int METHODID_CHECK_VALID_CREDS = 13; - private static final int METHODID_ENROLL_DATA_SOURCES = 14; - private static final int METHODID_UNENROLL_DATA_SOURCES = 15; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_DATA_SOURCE: - serviceImpl.getDataSource((com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DATA_SOURCES: - serviceImpl.listDataSources((com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TRANSFER_CONFIG: - serviceImpl.createTransferConfig((com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TRANSFER_CONFIG: - serviceImpl.updateTransferConfig((com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TRANSFER_CONFIG: - serviceImpl.deleteTransferConfig((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TRANSFER_CONFIG: - serviceImpl.getTransferConfig((com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TRANSFER_CONFIGS: - serviceImpl.listTransferConfigs((com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SCHEDULE_TRANSFER_RUNS: - serviceImpl.scheduleTransferRuns((com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_START_MANUAL_TRANSFER_RUNS: - serviceImpl.startManualTransferRuns((com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TRANSFER_RUN: - serviceImpl.getTransferRun((com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TRANSFER_RUN: - serviceImpl.deleteTransferRun((com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TRANSFER_RUNS: - serviceImpl.listTransferRuns((com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TRANSFER_LOGS: - serviceImpl.listTransferLogs((com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CHECK_VALID_CREDS: - serviceImpl.checkValidCreds((com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ENROLL_DATA_SOURCES: - serviceImpl.enrollDataSources((com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UNENROLL_DATA_SOURCES: - serviceImpl.unenrollDataSources((com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetDataSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest, - com.google.cloud.bigquery.datatransfer.v1.DataSource>( - service, METHODID_GET_DATA_SOURCE))) - .addMethod( - getListDataSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest, - com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse>( - service, METHODID_LIST_DATA_SOURCES))) - .addMethod( - getCreateTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( - service, METHODID_CREATE_TRANSFER_CONFIG))) - .addMethod( - getUpdateTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( - service, METHODID_UPDATE_TRANSFER_CONFIG))) - .addMethod( - getDeleteTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_TRANSFER_CONFIG))) - .addMethod( - getGetTransferConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferConfig>( - service, METHODID_GET_TRANSFER_CONFIG))) - .addMethod( - getListTransferConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse>( - service, METHODID_LIST_TRANSFER_CONFIGS))) - .addMethod( - getScheduleTransferRunsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse>( - service, METHODID_SCHEDULE_TRANSFER_RUNS))) - .addMethod( - getStartManualTransferRunsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse>( - service, METHODID_START_MANUAL_TRANSFER_RUNS))) - .addMethod( - getGetTransferRunMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest, - com.google.cloud.bigquery.datatransfer.v1.TransferRun>( - service, METHODID_GET_TRANSFER_RUN))) - .addMethod( - getDeleteTransferRunMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_TRANSFER_RUN))) - .addMethod( - getListTransferRunsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse>( - service, METHODID_LIST_TRANSFER_RUNS))) - .addMethod( - getListTransferLogsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest, - com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse>( - service, METHODID_LIST_TRANSFER_LOGS))) - .addMethod( - getCheckValidCredsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest, - com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse>( - service, METHODID_CHECK_VALID_CREDS))) - .addMethod( - getEnrollDataSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest, - com.google.protobuf.Empty>( - service, METHODID_ENROLL_DATA_SOURCES))) - .addMethod( - getUnenrollDataSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest, - com.google.protobuf.Empty>( - service, METHODID_UNENROLL_DATA_SOURCES))) - .build(); - } - - private static abstract class DataTransferServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataTransferServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataTransferService"); - } - } - - private static final class DataTransferServiceFileDescriptorSupplier - extends DataTransferServiceBaseDescriptorSupplier { - DataTransferServiceFileDescriptorSupplier() {} - } - - private static final class DataTransferServiceMethodDescriptorSupplier - extends DataTransferServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - DataTransferServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DataTransferServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataTransferServiceFileDescriptorSupplier()) - .addMethod(getGetDataSourceMethod()) - .addMethod(getListDataSourcesMethod()) - .addMethod(getCreateTransferConfigMethod()) - .addMethod(getUpdateTransferConfigMethod()) - .addMethod(getDeleteTransferConfigMethod()) - .addMethod(getGetTransferConfigMethod()) - .addMethod(getListTransferConfigsMethod()) - .addMethod(getScheduleTransferRunsMethod()) - .addMethod(getStartManualTransferRunsMethod()) - .addMethod(getGetTransferRunMethod()) - .addMethod(getDeleteTransferRunMethod()) - .addMethod(getListTransferRunsMethod()) - .addMethod(getListTransferLogsMethod()) - .addMethod(getCheckValidCredsMethod()) - .addMethod(getEnrollDataSourcesMethod()) - .addMethod(getUnenrollDataSourcesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java deleted file mode 100644 index 3dcc8c2f1f12..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// 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; - -public interface CheckValidCredsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The data source in the form:
-   * `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The data source in the form:
-   * `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java deleted file mode 100644 index 768f8bfb5d43..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java +++ /dev/null @@ -1,20 +0,0 @@ -// 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; - -public interface CheckValidCredsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * If set to `true`, the credentials exist and are valid.
-   * 
- * - * bool has_valid_creds = 1; - * @return The hasValidCreds. - */ - boolean getHasValidCreds(); -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java deleted file mode 100644 index 4856fa896cdf..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java +++ /dev/null @@ -1,313 +0,0 @@ -/* - * 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; - -import com.google.api.core.BetaApi; -import com.google.api.pathtemplate.PathTemplate; -import com.google.api.pathtemplate.ValidationException; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -@Generated("by gapic-generator-java") -public class DataSourceName implements ResourceName { - private static final PathTemplate PROJECT_DATA_SOURCE = - PathTemplate.createWithoutUrlEncoding("projects/{project}/dataSources/{data_source}"); - private static final PathTemplate PROJECT_LOCATION_DATA_SOURCE = - PathTemplate.createWithoutUrlEncoding( - "projects/{project}/locations/{location}/dataSources/{data_source}"); - private volatile Map fieldValuesMap; - private PathTemplate pathTemplate; - private String fixedValue; - private final String project; - private final String dataSource; - private final String location; - - @Deprecated - protected DataSourceName() { - project = null; - dataSource = null; - location = null; - } - - private DataSourceName(Builder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - dataSource = Preconditions.checkNotNull(builder.getDataSource()); - location = null; - pathTemplate = PROJECT_DATA_SOURCE; - } - - private DataSourceName(ProjectLocationDataSourceBuilder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - location = Preconditions.checkNotNull(builder.getLocation()); - dataSource = Preconditions.checkNotNull(builder.getDataSource()); - pathTemplate = PROJECT_LOCATION_DATA_SOURCE; - } - - public String getProject() { - return project; - } - - public String getDataSource() { - return dataSource; - } - - public String getLocation() { - return location; - } - - public static Builder newBuilder() { - return new Builder(); - } - - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static Builder newProjectDataSourceBuilder() { - return new Builder(); - } - - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static ProjectLocationDataSourceBuilder newProjectLocationDataSourceBuilder() { - return new ProjectLocationDataSourceBuilder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static DataSourceName of(String project, String dataSource) { - return newBuilder().setProject(project).setDataSource(dataSource).build(); - } - - @BetaApi("The static create methods are not stable yet and may be changed in the future.") - public static DataSourceName ofProjectDataSourceName(String project, String dataSource) { - return newBuilder().setProject(project).setDataSource(dataSource).build(); - } - - @BetaApi("The static create methods are not stable yet and may be changed in the future.") - public static DataSourceName ofProjectLocationDataSourceName( - String project, String location, String dataSource) { - return newProjectLocationDataSourceBuilder() - .setProject(project) - .setLocation(location) - .setDataSource(dataSource) - .build(); - } - - public static String format(String project, String dataSource) { - return newBuilder().setProject(project).setDataSource(dataSource).build().toString(); - } - - @BetaApi("The static format methods are not stable yet and may be changed in the future.") - public static String formatProjectDataSourceName(String project, String dataSource) { - return newBuilder().setProject(project).setDataSource(dataSource).build().toString(); - } - - @BetaApi("The static format methods are not stable yet and may be changed in the future.") - public static String formatProjectLocationDataSourceName( - String project, String location, String dataSource) { - return newProjectLocationDataSourceBuilder() - .setProject(project) - .setLocation(location) - .setDataSource(dataSource) - .build() - .toString(); - } - - public static DataSourceName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - if (PROJECT_DATA_SOURCE.matches(formattedString)) { - Map matchMap = PROJECT_DATA_SOURCE.match(formattedString); - return ofProjectDataSourceName(matchMap.get("project"), matchMap.get("data_source")); - } else if (PROJECT_LOCATION_DATA_SOURCE.matches(formattedString)) { - Map matchMap = PROJECT_LOCATION_DATA_SOURCE.match(formattedString); - return ofProjectLocationDataSourceName( - matchMap.get("project"), matchMap.get("location"), matchMap.get("data_source")); - } - throw new ValidationException("DataSourceName.parse: formattedString not in valid format"); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList<>(values.size()); - for (DataSourceName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PROJECT_DATA_SOURCE.matches(formattedString) - || PROJECT_LOCATION_DATA_SOURCE.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (project != null) { - fieldMapBuilder.put("project", project); - } - if (dataSource != null) { - fieldMapBuilder.put("data_source", dataSource); - } - if (location != null) { - fieldMapBuilder.put("location", location); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return fixedValue != null ? fixedValue : pathTemplate.instantiate(getFieldValuesMap()); - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o != null && getClass() == o.getClass()) { - DataSourceName that = ((DataSourceName) o); - return Objects.equals(this.project, that.project) - && Objects.equals(this.dataSource, that.dataSource) - && Objects.equals(this.location, that.location); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(fixedValue); - h *= 1000003; - h ^= Objects.hashCode(project); - h *= 1000003; - h ^= Objects.hashCode(dataSource); - h *= 1000003; - h ^= Objects.hashCode(location); - return h; - } - - /** Builder for projects/{project}/dataSources/{data_source}. */ - public static class Builder { - private String project; - private String dataSource; - - protected Builder() {} - - public String getProject() { - return project; - } - - public String getDataSource() { - return dataSource; - } - - public Builder setProject(String project) { - this.project = project; - return this; - } - - public Builder setDataSource(String dataSource) { - this.dataSource = dataSource; - return this; - } - - private Builder(DataSourceName dataSourceName) { - Preconditions.checkArgument( - Objects.equals(dataSourceName.pathTemplate, PROJECT_DATA_SOURCE), - "toBuilder is only supported when DataSourceName has the pattern of projects/{project}/dataSources/{data_source}"); - this.project = dataSourceName.project; - this.dataSource = dataSourceName.dataSource; - } - - public DataSourceName build() { - return new DataSourceName(this); - } - } - - /** Builder for projects/{project}/locations/{location}/dataSources/{data_source}. */ - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static class ProjectLocationDataSourceBuilder { - private String project; - private String location; - private String dataSource; - - protected ProjectLocationDataSourceBuilder() {} - - public String getProject() { - return project; - } - - public String getLocation() { - return location; - } - - public String getDataSource() { - return dataSource; - } - - public ProjectLocationDataSourceBuilder setProject(String project) { - this.project = project; - return this; - } - - public ProjectLocationDataSourceBuilder setLocation(String location) { - this.location = location; - return this; - } - - public ProjectLocationDataSourceBuilder setDataSource(String dataSource) { - this.dataSource = dataSource; - return this; - } - - public DataSourceName build() { - return new DataSourceName(this); - } - } -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java deleted file mode 100644 index 2ddf81d1a43d..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java +++ /dev/null @@ -1,616 +0,0 @@ -// 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; - -public final class DataTransferProto { - private DataTransferProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - 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; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n8google/cloud/bigquery/datatransfer/v1/" + - "datatransfer.proto\022%google.cloud.bigquer" + - "y.datatransfer.v1\032\034google/api/annotation" + - "s.proto\032\027google/api/client.proto\032\037google" + - "/api/field_behavior.proto\032\031google/api/re" + - "source.proto\0324google/cloud/bigquery/data" + - "transfer/v1/transfer.proto\032\036google/proto" + - "buf/duration.proto\032\033google/protobuf/empt" + - "y.proto\032 google/protobuf/field_mask.prot" + - "o\032\037google/protobuf/timestamp.proto\032\036goog" + - "le/protobuf/wrappers.proto\"\217\005\n\023DataSourc" + - "eParameter\022\020\n\010param_id\030\001 \001(\t\022\024\n\014display_" + - "name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022M\n\004type\030" + - "\004 \001(\0162?.google.cloud.bigquery.datatransf" + - "er.v1.DataSourceParameter.Type\022\020\n\010requir" + - "ed\030\005 \001(\010\022\020\n\010repeated\030\006 \001(\010\022\030\n\020validation" + - "_regex\030\007 \001(\t\022\026\n\016allowed_values\030\010 \003(\t\022/\n\t" + - "min_value\030\t \001(\0132\034.google.protobuf.Double" + - "Value\022/\n\tmax_value\030\n \001(\0132\034.google.protob" + - "uf.DoubleValue\022J\n\006fields\030\013 \003(\0132:.google." + - "cloud.bigquery.datatransfer.v1.DataSourc" + - "eParameter\022\036\n\026validation_description\030\014 \001" + - "(\t\022\033\n\023validation_help_url\030\r \001(\t\022\021\n\timmut" + - "able\030\016 \001(\010\022\017\n\007recurse\030\017 \001(\010\022\022\n\ndeprecate" + - "d\030\024 \001(\010\"s\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n" + - "\006STRING\020\001\022\013\n\007INTEGER\020\002\022\n\n\006DOUBLE\020\003\022\013\n\007BO" + - "OLEAN\020\004\022\n\n\006RECORD\020\005\022\r\n\tPLUS_PAGE\020\006\022\010\n\004LI" + - "ST\020\007\"\234\t\n\nDataSource\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\026" + - "\n\016data_source_id\030\002 \001(\t\022\024\n\014display_name\030\003" + - " \001(\t\022\023\n\013description\030\004 \001(\t\022\021\n\tclient_id\030\005" + - " \001(\t\022\016\n\006scopes\030\006 \003(\t\022N\n\rtransfer_type\030\007 " + - "\001(\01623.google.cloud.bigquery.datatransfer" + - ".v1.TransferTypeB\002\030\001\022\'\n\033supports_multipl" + - "e_transfers\030\010 \001(\010B\002\030\001\022\037\n\027update_deadline" + - "_seconds\030\t \001(\005\022\030\n\020default_schedule\030\n \001(\t" + - "\022 \n\030supports_custom_schedule\030\013 \001(\010\022N\n\npa" + - "rameters\030\014 \003(\0132:.google.cloud.bigquery.d" + - "atatransfer.v1.DataSourceParameter\022\020\n\010he" + - "lp_url\030\r \001(\t\022_\n\022authorization_type\030\016 \001(\016" + - "2C.google.cloud.bigquery.datatransfer.v1" + - ".DataSource.AuthorizationType\022\\\n\021data_re" + - "fresh_type\030\017 \001(\0162A.google.cloud.bigquery" + - ".datatransfer.v1.DataSource.DataRefreshT" + - "ype\022(\n default_data_refresh_window_days\030" + - "\020 \001(\005\022\034\n\024manual_runs_disabled\030\021 \001(\010\022<\n\031m" + - "inimum_schedule_interval\030\022 \001(\0132\031.google." + - "protobuf.Duration\"\212\001\n\021AuthorizationType\022" + - "\"\n\036AUTHORIZATION_TYPE_UNSPECIFIED\020\000\022\026\n\022A" + - "UTHORIZATION_CODE\020\001\022\"\n\036GOOGLE_PLUS_AUTHO" + - "RIZATION_CODE\020\002\022\025\n\021FIRST_PARTY_OAUTH\020\003\"c" + - "\n\017DataRefreshType\022!\n\035DATA_REFRESH_TYPE_U" + - "NSPECIFIED\020\000\022\022\n\016SLIDING_WINDOW\020\001\022\031\n\025CUST" + - "OM_SLIDING_WINDOW\020\002:\245\001\352A\241\001\n.bigquerydata" + - "transfer.googleapis.com/DataSource\022,proj" + - "ects/{project}/dataSources/{data_source}" + - "\022Aprojects/{project}/locations/{location" + - "}/dataSources/{data_source}\"\\\n\024GetDataSo" + - "urceRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.bigqu" + - "erydatatransfer.googleapis.com/DataSourc" + - "e\"\207\001\n\026ListDataSourcesRequest\022F\n\006parent\030\001" + - " \001(\tB6\340A\002\372A0\022.bigquerydatatransfer.googl" + - "eapis.com/DataSource\022\022\n\npage_token\030\003 \001(\t" + - "\022\021\n\tpage_size\030\004 \001(\005\"\200\001\n\027ListDataSourcesR" + - "esponse\022G\n\014data_sources\030\001 \003(\01321.google.c" + - "loud.bigquery.datatransfer.v1.DataSource" + - "\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\216\002\n\033Creat" + - "eTransferConfigRequest\022J\n\006parent\030\001 \001(\tB:" + - "\340A\002\372A4\0222bigquerydatatransfer.googleapis." + - "com/TransferConfig\022S\n\017transfer_config\030\002 " + - "\001(\01325.google.cloud.bigquery.datatransfer" + - ".v1.TransferConfigB\003\340A\002\022\032\n\022authorization" + - "_code\030\003 \001(\t\022\024\n\014version_info\030\005 \001(\t\022\034\n\024ser" + - "vice_account_name\030\006 \001(\t\"\370\001\n\033UpdateTransf" + - "erConfigRequest\022S\n\017transfer_config\030\001 \001(\013" + - "25.google.cloud.bigquery.datatransfer.v1" + - ".TransferConfigB\003\340A\002\022\032\n\022authorization_co" + - "de\030\003 \001(\t\0224\n\013update_mask\030\004 \001(\0132\032.google.p" + - "rotobuf.FieldMaskB\003\340A\002\022\024\n\014version_info\030\005" + - " \001(\t\022\034\n\024service_account_name\030\006 \001(\t\"d\n\030Ge" + - "tTransferConfigRequest\022H\n\004name\030\001 \001(\tB:\340A" + - "\002\372A4\n2bigquerydatatransfer.googleapis.co" + - "m/TransferConfig\"g\n\033DeleteTransferConfig" + - "Request\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bigqueryd" + - "atatransfer.googleapis.com/TransferConfi" + - "g\"V\n\025GetTransferRunRequest\022=\n\004name\030\001 \001(\t" + - "B/\340A\002\372A)\n\'bigquerydatatransfer.googleapi" + - "s.com/Run\"Y\n\030DeleteTransferRunRequest\022=\n" + - "\004name\030\001 \001(\tB/\340A\002\372A)\n\'bigquerydatatransfe" + - "r.googleapis.com/Run\"\250\001\n\032ListTransferCon" + - "figsRequest\022J\n\006parent\030\001 \001(\tB:\340A\002\372A4\0222big" + - "querydatatransfer.googleapis.com/Transfe" + - "rConfig\022\027\n\017data_source_ids\030\002 \003(\t\022\022\n\npage" + - "_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\"\221\001\n\033List" + - "TransferConfigsResponse\022T\n\020transfer_conf" + - "igs\030\001 \003(\01325.google.cloud.bigquery.datatr" + - "ansfer.v1.TransferConfigB\003\340A\003\022\034\n\017next_pa" + - "ge_token\030\002 \001(\tB\003\340A\003\"\336\002\n\027ListTransferRuns" + - "Request\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'bigquer" + - "ydatatransfer.googleapis.com/Run\022D\n\006stat" + - "es\030\002 \003(\01624.google.cloud.bigquery.datatra" + - "nsfer.v1.TransferState\022\022\n\npage_token\030\003 \001" + - "(\t\022\021\n\tpage_size\030\004 \001(\005\022^\n\013run_attempt\030\005 \001" + - "(\0162I.google.cloud.bigquery.datatransfer." + - "v1.ListTransferRunsRequest.RunAttempt\"5\n" + - "\nRunAttempt\022\033\n\027RUN_ATTEMPT_UNSPECIFIED\020\000" + - "\022\n\n\006LATEST\020\001\"\210\001\n\030ListTransferRunsRespons" + - "e\022N\n\rtransfer_runs\030\001 \003(\01322.google.cloud." + - "bigquery.datatransfer.v1.TransferRunB\003\340A" + - "\003\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\340\001\n\027List" + - "TransferLogsRequest\022?\n\006parent\030\001 \001(\tB/\340A\002" + - "\372A)\n\'bigquerydatatransfer.googleapis.com" + - "/Run\022\022\n\npage_token\030\004 \001(\t\022\021\n\tpage_size\030\005 " + - "\001(\005\022]\n\rmessage_types\030\006 \003(\0162F.google.clou" + - "d.bigquery.datatransfer.v1.TransferMessa" + - "ge.MessageSeverity\"\220\001\n\030ListTransferLogsR" + - "esponse\022V\n\021transfer_messages\030\001 \003(\01326.goo" + - "gle.cloud.bigquery.datatransfer.v1.Trans" + - "ferMessageB\003\340A\003\022\034\n\017next_page_token\030\002 \001(\t" + - "B\003\340A\003\"^\n\026CheckValidCredsRequest\022D\n\004name\030" + - "\001 \001(\tB6\340A\002\372A0\n.bigquerydatatransfer.goog" + - "leapis.com/DataSource\"2\n\027CheckValidCreds" + - "Response\022\027\n\017has_valid_creds\030\001 \001(\010\"\321\001\n\033Sc" + - "heduleTransferRunsRequest\022J\n\006parent\030\001 \001(" + - "\tB:\340A\002\372A4\n2bigquerydatatransfer.googleap" + - "is.com/TransferConfig\0223\n\nstart_time\030\002 \001(" + - "\0132\032.google.protobuf.TimestampB\003\340A\002\0221\n\010en" + - "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" + - "B\003\340A\002\"`\n\034ScheduleTransferRunsResponse\022@\n" + - "\004runs\030\001 \003(\01322.google.cloud.bigquery.data" + - "transfer.v1.TransferRun\"\207\003\n\036StartManualT" + - "ransferRunsRequest\022G\n\006parent\030\001 \001(\tB7\372A4\n" + - "2bigquerydatatransfer.googleapis.com/Tra" + - "nsferConfig\022o\n\024requested_time_range\030\003 \001(" + - "\0132O.google.cloud.bigquery.datatransfer.v" + - "1.StartManualTransferRunsRequest.TimeRan" + - "geH\000\0228\n\022requested_run_time\030\004 \001(\0132\032.googl" + - "e.protobuf.TimestampH\000\032i\n\tTimeRange\022.\n\ns" + - "tart_time\030\001 \001(\0132\032.google.protobuf.Timest" + - "amp\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf." + - "TimestampB\006\n\004time\"c\n\037StartManualTransfer" + - "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(\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(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor, - new java.lang.String[] { "ParamId", "DisplayName", "Description", "Type", "Required", "Repeated", "ValidationRegex", "AllowedValues", "MinValue", "MaxValue", "Fields", "ValidationDescription", "ValidationHelpUrl", "Immutable", "Recurse", "Deprecated", }); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DataSource_descriptor, - new java.lang.String[] { "Name", "DataSourceId", "DisplayName", "Description", "ClientId", "Scopes", "TransferType", "SupportsMultipleTransfers", "UpdateDeadlineSeconds", "DefaultSchedule", "SupportsCustomSchedule", "Parameters", "HelpUrl", "AuthorizationType", "DataRefreshType", "DefaultDataRefreshWindowDays", "ManualRunsDisabled", "MinimumScheduleInterval", }); - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_GetDataSourceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesRequest_descriptor, - new java.lang.String[] { "Parent", "PageToken", "PageSize", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListDataSourcesResponse_descriptor, - new java.lang.String[] { "DataSources", "NextPageToken", }); - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_CreateTransferConfigRequest_descriptor, - new java.lang.String[] { "Parent", "TransferConfig", "AuthorizationCode", "VersionInfo", "ServiceAccountName", }); - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_UpdateTransferConfigRequest_descriptor, - new java.lang.String[] { "TransferConfig", "AuthorizationCode", "UpdateMask", "VersionInfo", "ServiceAccountName", }); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_GetTransferRunRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_DeleteTransferRunRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsRequest_descriptor, - new java.lang.String[] { "Parent", "DataSourceIds", "PageToken", "PageSize", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferConfigsResponse_descriptor, - new java.lang.String[] { "TransferConfigs", "NextPageToken", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsRequest_descriptor, - new java.lang.String[] { "Parent", "States", "PageToken", "PageSize", "RunAttempt", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferRunsResponse_descriptor, - new java.lang.String[] { "TransferRuns", "NextPageToken", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsRequest_descriptor, - new java.lang.String[] { "Parent", "PageToken", "PageSize", "MessageTypes", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ListTransferLogsResponse_descriptor, - new java.lang.String[] { "TransferMessages", "NextPageToken", }); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_CheckValidCredsResponse_descriptor, - new java.lang.String[] { "HasValidCreds", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsRequest_descriptor, - new java.lang.String[] { "Parent", "StartTime", "EndTime", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleTransferRunsResponse_descriptor, - new java.lang.String[] { "Runs", }); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor, - new java.lang.String[] { "Parent", "RequestedTimeRange", "RequestedRunTime", "Time", }); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor = - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsRequest_TimeRange_descriptor, - new java.lang.String[] { "StartTime", "EndTime", }); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_StartManualTransferRunsResponse_descriptor, - new java.lang.String[] { "Runs", }); - internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor, - 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); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java deleted file mode 100644 index dd0152ac9918..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// 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; - -public interface DeleteTransferConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java deleted file mode 100644 index 66aaa7ee4a05..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java +++ /dev/null @@ -1,20 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/datatransfer/v1/transfer.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.datatransfer.v1; - -public interface EmailPreferencesOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.EmailPreferences) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * If true, email notifications will be sent on transfer run failures.
-   * 
- * - * bool enable_failure_email = 1; - * @return The enableFailureEmail. - */ - boolean getEnableFailureEmail(); -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java deleted file mode 100644 index 069d54757e3b..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// 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; - -public interface GetDataSourceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/dataSources/{data_source_id}` or
-   * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java deleted file mode 100644 index 9e179140acb7..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// 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; - -public interface GetTransferConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The field will contain name of the resource requested, for
-   * example: `projects/{project_id}/transferConfigs/{config_id}` or
-   * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java deleted file mode 100644 index 70204a76a167..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java +++ /dev/null @@ -1,371 +0,0 @@ -/* - * 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; - -import com.google.api.core.BetaApi; -import com.google.api.pathtemplate.PathTemplate; -import com.google.api.pathtemplate.ValidationException; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -@Generated("by gapic-generator-java") -public class RunName implements ResourceName { - private static final PathTemplate PROJECT_TRANSFER_CONFIG_RUN = - PathTemplate.createWithoutUrlEncoding( - "projects/{project}/transferConfigs/{transfer_config}/runs/{run}"); - private static final PathTemplate PROJECT_LOCATION_TRANSFER_CONFIG_RUN = - PathTemplate.createWithoutUrlEncoding( - "projects/{project}/locations/{location}/transferConfigs/{transfer_config}/runs/{run}"); - private volatile Map fieldValuesMap; - private PathTemplate pathTemplate; - private String fixedValue; - private final String project; - private final String transferConfig; - private final String run; - private final String location; - - @Deprecated - protected RunName() { - project = null; - transferConfig = null; - run = null; - location = null; - } - - private RunName(Builder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); - run = Preconditions.checkNotNull(builder.getRun()); - location = null; - pathTemplate = PROJECT_TRANSFER_CONFIG_RUN; - } - - private RunName(ProjectLocationTransferConfigRunBuilder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - location = Preconditions.checkNotNull(builder.getLocation()); - transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); - run = Preconditions.checkNotNull(builder.getRun()); - pathTemplate = PROJECT_LOCATION_TRANSFER_CONFIG_RUN; - } - - public String getProject() { - return project; - } - - public String getTransferConfig() { - return transferConfig; - } - - public String getRun() { - return run; - } - - public String getLocation() { - return location; - } - - public static Builder newBuilder() { - return new Builder(); - } - - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static Builder newProjectTransferConfigRunBuilder() { - return new Builder(); - } - - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static ProjectLocationTransferConfigRunBuilder - newProjectLocationTransferConfigRunBuilder() { - return new ProjectLocationTransferConfigRunBuilder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static RunName of(String project, String transferConfig, String run) { - return newBuilder().setProject(project).setTransferConfig(transferConfig).setRun(run).build(); - } - - @BetaApi("The static create methods are not stable yet and may be changed in the future.") - public static RunName ofProjectTransferConfigRunName( - String project, String transferConfig, String run) { - return newBuilder().setProject(project).setTransferConfig(transferConfig).setRun(run).build(); - } - - @BetaApi("The static create methods are not stable yet and may be changed in the future.") - public static RunName ofProjectLocationTransferConfigRunName( - String project, String location, String transferConfig, String run) { - return newProjectLocationTransferConfigRunBuilder() - .setProject(project) - .setLocation(location) - .setTransferConfig(transferConfig) - .setRun(run) - .build(); - } - - public static String format(String project, String transferConfig, String run) { - return newBuilder() - .setProject(project) - .setTransferConfig(transferConfig) - .setRun(run) - .build() - .toString(); - } - - @BetaApi("The static format methods are not stable yet and may be changed in the future.") - public static String formatProjectTransferConfigRunName( - String project, String transferConfig, String run) { - return newBuilder() - .setProject(project) - .setTransferConfig(transferConfig) - .setRun(run) - .build() - .toString(); - } - - @BetaApi("The static format methods are not stable yet and may be changed in the future.") - public static String formatProjectLocationTransferConfigRunName( - String project, String location, String transferConfig, String run) { - return newProjectLocationTransferConfigRunBuilder() - .setProject(project) - .setLocation(location) - .setTransferConfig(transferConfig) - .setRun(run) - .build() - .toString(); - } - - public static RunName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - if (PROJECT_TRANSFER_CONFIG_RUN.matches(formattedString)) { - Map matchMap = PROJECT_TRANSFER_CONFIG_RUN.match(formattedString); - return ofProjectTransferConfigRunName( - matchMap.get("project"), matchMap.get("transfer_config"), matchMap.get("run")); - } else if (PROJECT_LOCATION_TRANSFER_CONFIG_RUN.matches(formattedString)) { - Map matchMap = PROJECT_LOCATION_TRANSFER_CONFIG_RUN.match(formattedString); - return ofProjectLocationTransferConfigRunName( - matchMap.get("project"), - matchMap.get("location"), - matchMap.get("transfer_config"), - matchMap.get("run")); - } - throw new ValidationException("RunName.parse: formattedString not in valid format"); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList<>(values.size()); - for (RunName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PROJECT_TRANSFER_CONFIG_RUN.matches(formattedString) - || PROJECT_LOCATION_TRANSFER_CONFIG_RUN.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (project != null) { - fieldMapBuilder.put("project", project); - } - if (transferConfig != null) { - fieldMapBuilder.put("transfer_config", transferConfig); - } - if (run != null) { - fieldMapBuilder.put("run", run); - } - if (location != null) { - fieldMapBuilder.put("location", location); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return fixedValue != null ? fixedValue : pathTemplate.instantiate(getFieldValuesMap()); - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o != null && getClass() == o.getClass()) { - RunName that = ((RunName) o); - return Objects.equals(this.project, that.project) - && Objects.equals(this.transferConfig, that.transferConfig) - && Objects.equals(this.run, that.run) - && Objects.equals(this.location, that.location); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(fixedValue); - h *= 1000003; - h ^= Objects.hashCode(project); - h *= 1000003; - h ^= Objects.hashCode(transferConfig); - h *= 1000003; - h ^= Objects.hashCode(run); - h *= 1000003; - h ^= Objects.hashCode(location); - return h; - } - - /** Builder for projects/{project}/transferConfigs/{transfer_config}/runs/{run}. */ - public static class Builder { - private String project; - private String transferConfig; - private String run; - - protected Builder() {} - - public String getProject() { - return project; - } - - public String getTransferConfig() { - return transferConfig; - } - - public String getRun() { - return run; - } - - public Builder setProject(String project) { - this.project = project; - return this; - } - - public Builder setTransferConfig(String transferConfig) { - this.transferConfig = transferConfig; - return this; - } - - public Builder setRun(String run) { - this.run = run; - return this; - } - - private Builder(RunName runName) { - Preconditions.checkArgument( - Objects.equals(runName.pathTemplate, PROJECT_TRANSFER_CONFIG_RUN), - "toBuilder is only supported when RunName has the pattern of projects/{project}/transferConfigs/{transfer_config}/runs/{run}"); - this.project = runName.project; - this.transferConfig = runName.transferConfig; - this.run = runName.run; - } - - public RunName build() { - return new RunName(this); - } - } - - /** - * Builder for - * projects/{project}/locations/{location}/transferConfigs/{transfer_config}/runs/{run}. - */ - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static class ProjectLocationTransferConfigRunBuilder { - private String project; - private String location; - private String transferConfig; - private String run; - - protected ProjectLocationTransferConfigRunBuilder() {} - - public String getProject() { - return project; - } - - public String getLocation() { - return location; - } - - public String getTransferConfig() { - return transferConfig; - } - - public String getRun() { - return run; - } - - public ProjectLocationTransferConfigRunBuilder setProject(String project) { - this.project = project; - return this; - } - - public ProjectLocationTransferConfigRunBuilder setLocation(String location) { - this.location = location; - return this; - } - - public ProjectLocationTransferConfigRunBuilder setTransferConfig(String transferConfig) { - this.transferConfig = transferConfig; - return this; - } - - public ProjectLocationTransferConfigRunBuilder setRun(String run) { - this.run = run; - return this; - } - - public RunName build() { - return new RunName(this); - } - } -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java deleted file mode 100644 index 7b657f046635..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java +++ /dev/null @@ -1,314 +0,0 @@ -/* - * 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; - -import com.google.api.core.BetaApi; -import com.google.api.pathtemplate.PathTemplate; -import com.google.api.pathtemplate.ValidationException; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -@Generated("by gapic-generator-java") -public class TransferConfigName implements ResourceName { - private static final PathTemplate PROJECT_TRANSFER_CONFIG = - PathTemplate.createWithoutUrlEncoding("projects/{project}/transferConfigs/{transfer_config}"); - private static final PathTemplate PROJECT_LOCATION_TRANSFER_CONFIG = - PathTemplate.createWithoutUrlEncoding( - "projects/{project}/locations/{location}/transferConfigs/{transfer_config}"); - private volatile Map fieldValuesMap; - private PathTemplate pathTemplate; - private String fixedValue; - private final String project; - private final String transferConfig; - private final String location; - - @Deprecated - protected TransferConfigName() { - project = null; - transferConfig = null; - location = null; - } - - private TransferConfigName(Builder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); - location = null; - pathTemplate = PROJECT_TRANSFER_CONFIG; - } - - private TransferConfigName(ProjectLocationTransferConfigBuilder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - location = Preconditions.checkNotNull(builder.getLocation()); - transferConfig = Preconditions.checkNotNull(builder.getTransferConfig()); - pathTemplate = PROJECT_LOCATION_TRANSFER_CONFIG; - } - - public String getProject() { - return project; - } - - public String getTransferConfig() { - return transferConfig; - } - - public String getLocation() { - return location; - } - - public static Builder newBuilder() { - return new Builder(); - } - - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static Builder newProjectTransferConfigBuilder() { - return new Builder(); - } - - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static ProjectLocationTransferConfigBuilder newProjectLocationTransferConfigBuilder() { - return new ProjectLocationTransferConfigBuilder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static TransferConfigName of(String project, String transferConfig) { - return newBuilder().setProject(project).setTransferConfig(transferConfig).build(); - } - - @BetaApi("The static create methods are not stable yet and may be changed in the future.") - public static TransferConfigName ofProjectTransferConfigName( - String project, String transferConfig) { - return newBuilder().setProject(project).setTransferConfig(transferConfig).build(); - } - - @BetaApi("The static create methods are not stable yet and may be changed in the future.") - public static TransferConfigName ofProjectLocationTransferConfigName( - String project, String location, String transferConfig) { - return newProjectLocationTransferConfigBuilder() - .setProject(project) - .setLocation(location) - .setTransferConfig(transferConfig) - .build(); - } - - public static String format(String project, String transferConfig) { - return newBuilder().setProject(project).setTransferConfig(transferConfig).build().toString(); - } - - @BetaApi("The static format methods are not stable yet and may be changed in the future.") - public static String formatProjectTransferConfigName(String project, String transferConfig) { - return newBuilder().setProject(project).setTransferConfig(transferConfig).build().toString(); - } - - @BetaApi("The static format methods are not stable yet and may be changed in the future.") - public static String formatProjectLocationTransferConfigName( - String project, String location, String transferConfig) { - return newProjectLocationTransferConfigBuilder() - .setProject(project) - .setLocation(location) - .setTransferConfig(transferConfig) - .build() - .toString(); - } - - public static TransferConfigName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - if (PROJECT_TRANSFER_CONFIG.matches(formattedString)) { - Map matchMap = PROJECT_TRANSFER_CONFIG.match(formattedString); - return ofProjectTransferConfigName(matchMap.get("project"), matchMap.get("transfer_config")); - } else if (PROJECT_LOCATION_TRANSFER_CONFIG.matches(formattedString)) { - Map matchMap = PROJECT_LOCATION_TRANSFER_CONFIG.match(formattedString); - return ofProjectLocationTransferConfigName( - matchMap.get("project"), matchMap.get("location"), matchMap.get("transfer_config")); - } - throw new ValidationException("TransferConfigName.parse: formattedString not in valid format"); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList<>(values.size()); - for (TransferConfigName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PROJECT_TRANSFER_CONFIG.matches(formattedString) - || PROJECT_LOCATION_TRANSFER_CONFIG.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (project != null) { - fieldMapBuilder.put("project", project); - } - if (transferConfig != null) { - fieldMapBuilder.put("transfer_config", transferConfig); - } - if (location != null) { - fieldMapBuilder.put("location", location); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return fixedValue != null ? fixedValue : pathTemplate.instantiate(getFieldValuesMap()); - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o != null && getClass() == o.getClass()) { - TransferConfigName that = ((TransferConfigName) o); - return Objects.equals(this.project, that.project) - && Objects.equals(this.transferConfig, that.transferConfig) - && Objects.equals(this.location, that.location); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(fixedValue); - h *= 1000003; - h ^= Objects.hashCode(project); - h *= 1000003; - h ^= Objects.hashCode(transferConfig); - h *= 1000003; - h ^= Objects.hashCode(location); - return h; - } - - /** Builder for projects/{project}/transferConfigs/{transfer_config}. */ - public static class Builder { - private String project; - private String transferConfig; - - protected Builder() {} - - public String getProject() { - return project; - } - - public String getTransferConfig() { - return transferConfig; - } - - public Builder setProject(String project) { - this.project = project; - return this; - } - - public Builder setTransferConfig(String transferConfig) { - this.transferConfig = transferConfig; - return this; - } - - private Builder(TransferConfigName transferConfigName) { - Preconditions.checkArgument( - Objects.equals(transferConfigName.pathTemplate, PROJECT_TRANSFER_CONFIG), - "toBuilder is only supported when TransferConfigName has the pattern of projects/{project}/transferConfigs/{transfer_config}"); - this.project = transferConfigName.project; - this.transferConfig = transferConfigName.transferConfig; - } - - public TransferConfigName build() { - return new TransferConfigName(this); - } - } - - /** Builder for projects/{project}/locations/{location}/transferConfigs/{transfer_config}. */ - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") - public static class ProjectLocationTransferConfigBuilder { - private String project; - private String location; - private String transferConfig; - - protected ProjectLocationTransferConfigBuilder() {} - - public String getProject() { - return project; - } - - public String getLocation() { - return location; - } - - public String getTransferConfig() { - return transferConfig; - } - - public ProjectLocationTransferConfigBuilder setProject(String project) { - this.project = project; - return this; - } - - public ProjectLocationTransferConfigBuilder setLocation(String location) { - this.location = location; - return this; - } - - public ProjectLocationTransferConfigBuilder setTransferConfig(String transferConfig) { - this.transferConfig = transferConfig; - return this; - } - - public TransferConfigName build() { - return new TransferConfigName(this); - } - } -} diff --git a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java b/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java deleted file mode 100644 index 4328e12c1f77..000000000000 --- a/owl-bot-staging/java-bigquerydatatransfer/v1/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java +++ /dev/null @@ -1,212 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/datatransfer/v1/transfer.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.datatransfer.v1; - -public final class TransferProto { - private TransferProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/bigquery/datatransfer/v1/" + - "transfer.proto\022%google.cloud.bigquery.da" + - "tatransfer.v1\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032\034googl" + - "e/protobuf/struct.proto\032\037google/protobuf" + - "/timestamp.proto\032\036google/protobuf/wrappe" + - "rs.proto\032\027google/rpc/status.proto\"0\n\020Ema" + - "ilPreferences\022\034\n\024enable_failure_email\030\001 " + - "\001(\010\"\220\001\n\017ScheduleOptions\022\037\n\027disable_auto_" + - "scheduling\030\003 \001(\010\022.\n\nstart_time\030\001 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\022,\n\010end_time\030\002 \001" + - "(\0132\032.google.protobuf.Timestamp\"(\n\010UserIn" + - "fo\022\022\n\005email\030\001 \001(\tH\000\210\001\001B\010\n\006_email\"\227\010\n\016Tra" + - "nsferConfig\022\014\n\004name\030\001 \001(\t\022 \n\026destination" + - "_dataset_id\030\002 \001(\tH\000\022\024\n\014display_name\030\003 \001(" + - "\t\022\026\n\016data_source_id\030\005 \001(\t\022\'\n\006params\030\t \001(" + - "\0132\027.google.protobuf.Struct\022\020\n\010schedule\030\007" + - " \001(\t\022P\n\020schedule_options\030\030 \001(\01326.google." + - "cloud.bigquery.datatransfer.v1.ScheduleO" + - "ptions\022 \n\030data_refresh_window_days\030\014 \001(\005" + - "\022\020\n\010disabled\030\r \001(\010\0224\n\013update_time\030\004 \001(\0132" + - "\032.google.protobuf.TimestampB\003\340A\003\0226\n\rnext" + - "_run_time\030\010 \001(\0132\032.google.protobuf.Timest" + - "ampB\003\340A\003\022H\n\005state\030\n \001(\01624.google.cloud.b" + - "igquery.datatransfer.v1.TransferStateB\003\340" + - "A\003\022\017\n\007user_id\030\013 \001(\003\022\033\n\016dataset_region\030\016 " + - "\001(\tB\003\340A\003\022!\n\031notification_pubsub_topic\030\017 " + - "\001(\t\022R\n\021email_preferences\030\022 \001(\01327.google." + - "cloud.bigquery.datatransfer.v1.EmailPref" + - "erences\022M\n\nowner_info\030\033 \001(\0132/.google.clo" + - "ud.bigquery.datatransfer.v1.UserInfoB\003\340A" + - "\003H\001\210\001\001\022`\n\030encryption_configuration\030\034 \001(\013" + - "2>.google.cloud.bigquery.datatransfer.v1" + - ".EncryptionConfiguration:\271\001\352A\265\001\n2bigquer" + - "ydatatransfer.googleapis.com/TransferCon" + - "fig\0224projects/{project}/transferConfigs/" + - "{transfer_config}\022Iprojects/{project}/lo" + - "cations/{location}/transferConfigs/{tran" + - "sfer_config}B\r\n\013destinationB\r\n\013_owner_in" + - "fo\"M\n\027EncryptionConfiguration\0222\n\014kms_key" + - "_name\030\001 \001(\0132\034.google.protobuf.StringValu" + - "e\"\372\006\n\013TransferRun\022\014\n\004name\030\001 \001(\t\0221\n\rsched" + - "ule_time\030\003 \001(\0132\032.google.protobuf.Timesta" + - "mp\022,\n\010run_time\030\n \001(\0132\032.google.protobuf.T" + - "imestamp\022(\n\014error_status\030\025 \001(\0132\022.google." + - "rpc.Status\0223\n\nstart_time\030\004 \001(\0132\032.google." + - "protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(" + - "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" + - "date_time\030\006 \001(\0132\032.google.protobuf.Timest" + - "ampB\003\340A\003\022,\n\006params\030\t \001(\0132\027.google.protob" + - "uf.StructB\003\340A\003\022%\n\026destination_dataset_id" + - "\030\002 \001(\tB\003\340A\003H\000\022\033\n\016data_source_id\030\007 \001(\tB\003\340" + - "A\003\022C\n\005state\030\010 \001(\01624.google.cloud.bigquer" + - "y.datatransfer.v1.TransferState\022\017\n\007user_" + - "id\030\013 \001(\003\022\025\n\010schedule\030\014 \001(\tB\003\340A\003\022&\n\031notif" + - "ication_pubsub_topic\030\027 \001(\tB\003\340A\003\022W\n\021email" + - "_preferences\030\031 \001(\01327.google.cloud.bigque" + - "ry.datatransfer.v1.EmailPreferencesB\003\340A\003" + - ":\304\001\352A\300\001\n\'bigquerydatatransfer.googleapis" + - ".com/Run\022?projects/{project}/transferCon" + - "figs/{transfer_config}/runs/{run}\022Tproje" + - "cts/{project}/locations/{location}/trans" + - "ferConfigs/{transfer_config}/runs/{run}B" + - "\r\n\013destination\"\212\002\n\017TransferMessage\0220\n\014me" + - "ssage_time\030\001 \001(\0132\032.google.protobuf.Times" + - "tamp\022X\n\010severity\030\002 \001(\0162F.google.cloud.bi" + - "gquery.datatransfer.v1.TransferMessage.M" + - "essageSeverity\022\024\n\014message_text\030\003 \001(\t\"U\n\017" + - "MessageSeverity\022 \n\034MESSAGE_SEVERITY_UNSP" + - "ECIFIED\020\000\022\010\n\004INFO\020\001\022\013\n\007WARNING\020\002\022\t\n\005ERRO" + - "R\020\003*K\n\014TransferType\022\035\n\031TRANSFER_TYPE_UNS" + - "PECIFIED\020\000\022\t\n\005BATCH\020\001\022\r\n\tSTREAMING\020\002\032\002\030\001" + - "*s\n\rTransferState\022\036\n\032TRANSFER_STATE_UNSP" + - "ECIFIED\020\000\022\013\n\007PENDING\020\002\022\013\n\007RUNNING\020\003\022\r\n\tS" + - "UCCEEDED\020\004\022\n\n\006FAILED\020\005\022\r\n\tCANCELLED\020\006B\217\002" + - "\n)com.google.cloud.bigquery.datatransfer" + - ".v1B\rTransferProtoP\001ZMcloud.google.com/g" + - "o/bigquery/datatransfer/apiv1/datatransf" + - "erpb;datatransferpb\242\002\005GCBDT\252\002%Google.Clo" + - "ud.BigQuery.DataTransfer.V1\312\002%Google\\Clo" + - "ud\\BigQuery\\DataTransfer\\V1\352\002)Google::Cl" + - "oud::Bigquery::DataTransfer::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor, - new java.lang.String[] { "EnableFailureEmail", }); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_ScheduleOptions_descriptor, - new java.lang.String[] { "DisableAutoScheduling", "StartTime", "EndTime", }); - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_UserInfo_descriptor, - new java.lang.String[] { "Email", }); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_TransferConfig_descriptor, - new java.lang.String[] { "Name", "DestinationDatasetId", "DisplayName", "DataSourceId", "Params", "Schedule", "ScheduleOptions", "DataRefreshWindowDays", "Disabled", "UpdateTime", "NextRunTime", "State", "UserId", "DatasetRegion", "NotificationPubsubTopic", "EmailPreferences", "OwnerInfo", "EncryptionConfiguration", "Destination", }); - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_EncryptionConfiguration_descriptor, - new java.lang.String[] { "KmsKeyName", }); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_TransferRun_descriptor, - new java.lang.String[] { "Name", "ScheduleTime", "RunTime", "ErrorStatus", "StartTime", "EndTime", "UpdateTime", "Params", "DestinationDatasetId", "DataSourceId", "State", "UserId", "Schedule", "NotificationPubsubTopic", "EmailPreferences", "Destination", }); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_datatransfer_v1_TransferMessage_descriptor, - new java.lang.String[] { "MessageTime", "Severity", "MessageText", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -}